Want to create data driven slide show quiz

I would like to create a quiz on a slide show, basically a four question multiple choice quiz. I would have for each question in the database: the question, four options for each question, a column that identifies which option is correct. I would want to store the grade/date/user that took the test, and I would think separately save the user/question/answer/correct answer in another table.

In the database there would also be a column for “quizid”, on a given page we would use quizid to retrieve all questions and create a slide for each question. On each slide there will be a button to navigate to the next question, on a final slide there will be a submit button that will store the grade and answers

Any help would be appreciated, thanks.

Any comments on the approach or how this is doable would be appreciated, thanks.