Create a simple webpage that let the user to insert his user name and password then validate these information about the user, if correct display the quiz questions for the students if not , ask him to retype his INFO.
The quiz will be displayed just if the user enters his user name and password.
You should have a list of users and their passwords.(Not just one).
In the quiz page add a “Calculate Result” button, if the user click on this button the quiz will hide and the result with the correct answers for all questions will appear.(in the same page).