calumtomeny / quiz-master

A quiz app based on React and .NET core built for the web.
0 stars 0 forks source link

Question generator #171

Closed calumtomeny closed 3 years ago

calumtomeny commented 3 years ago

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.

image

The random questions are displayed as if the user had entered the questions so can remove, modify and add more questions.

image

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

richielewis commented 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.

calumtomeny commented 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.

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".