I want to write an online tester, and ask for help in the implementation ideas.
Task : The site asks N questions in turn. The correctness and speed of answers are important. Moreover, the time between the questions asked should be minimal (another question is shown instantly after the previous one answers).
Question : What is the best way to download questions? and where to check them?
1) via Ajax, and also send answers (then you probably need to store the status, time of each answer in the database?),
2) download everything at once and in the script display the questions in the right order.
How best to secure the response process?