Hi, I was asked to create an online exam, it’s just multiple-choice, and I want the question and answer is inputted in the backend so that it would be dynamic. but I’m confused about how will I design my database and how am I going to insert the data? should I insert it to HTML or JSON to the table? . can you please enlighten my mind on how you guys do it?
Just thinking out loud here, I’ve not made an online exam before. But I think for a multiple choice, I may have a table of questions, with something like: question ID, question text, correct answer ID. Then another table of answers, with something like: answer ID, answer text, parent question ID.
That would probably cover the Q&A part, I guess you would also want some means of recording results too.
Moved to Database, as it seems at this point to be about the database structure.