Closed calumtomeny closed 3 years ago
Looks good, the example questions might need curating eventually. See Eiffel tower question in the screenshot, potentially supposed to be multiple choice.
Looks good, the example questions might need curating eventually. See Eiffel tower question in the screenshot, potentially supposed to be multiple choice.
Yes, they probably need curating. I was going to convert the text to sentence case but after looking at the varying structures of the questions and answers it's not "one size fits all".
The motivation of this change is to give the ability to a quiz master to quickly create a quiz with 10 random questions, these questions are pulled out of a new table that contains the questions.
The random questions are displayed as if the user had entered the questions so can remove, modify and add more questions.
Technical notes: The new ExampleQuestions table pulls in the questions from the CSV file when the app starts up. The operation deletes the previous rows so the table should only contain the questions in the CSV file at the time the app starts up. Any questions with a blank question or answer are ignored during the import process.
Closes #137