A Trivia Quiz Generator Write a program that displays 10 multiple choice trivia questions, each with four possible answers labeled A, B, C, and D. The questions can come from one of three categories...


A Trivia Quiz Generator


Write a program that displays 10 multiple choice trivia questions, each with four possible answers labeled A, B, C, and D. The questions can come from one of three categories such as horror movies, classic TV, and rock and roll, or action heroes, cereal brands, and nursery rhymes. Choose three categories that interest you. Be imaginative. The questions along with the correct answers are stored in three text fi les, one for each category. Each fi le has at least 25 questions, but additional questions make the application more interesting.


With a button click, a user selects a category and 10 questions from that category are randomly chosen and displayed on the screen. When the user has answered the questions, he/she clicks a Finished button, the quiz is scored, and the results are displayed.


Use a radio button group for the answers to each question. There should be a menu or button option to quit and restart.


As an optional feature, you might include three levels of questions so that a user can select either beginner, intermediate, or advanced.

Nov 21, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here