I am currently working on an online examination system. The test questions are very open. Multiple-choice questions not only have options, but also open options
For example, in a question, ABCDE option E is, do you have any other good ideas for options like ________, and this option is also indefinite. Is there any suitable storage method? I plan to use json to store it.
The key fields are as follows:
Just use json to store it. This is how I made an exam system before
You can also just split it with commas and save it
json structure storage [{"question_id":"1","answer":"A,B,C"},{"question_id":"2","answer":"B,C,D"}]
It feels easy to just divide it up