be able to choose from the menu as an option to choose a "Random" category of a quiz to play through. Which randomize questions combined from all the active quiz categories.
Justification
Some prefer to have different questions each run rather than be stuck with one type of category.
Suggested implementation
[ ] The option to choose "Random" category from menu is available when menu runs.
[ ] using "Random" command should take me to a quiz with questions combined randomly from all the current categories in the
program.
Impact
menu
categories
commands
Alternative solutions
to choose from more than one category and run one specific category then another right after.
ALTERNATIVE/MORE INFO
This allows you to randomize questions mixing categories together from the implemented categories.
Code location - potentially in the quizz section of the code
Implementation - yet to be implemented.
Doing so we will execute the following steps:
utilize lists or arrays to store questions for categories
import randomizer ( ex java.util.Random)
track questions that are already asked
combine different categories together.
Two categories (category1Questions and category2Questions) store questions. An askedQuestions list tracks already-asked questions.
The Random class selects a random question index from the chosen category.
Dynamic Question Pool: Each question is removed from its category list once asked, ensuring
Interaction: Users can select a category or exit the program.
-[ ]Randomizer should run in the background
-[ ]Randomizer should allow random selection of questions
Functional description
be able to choose from the menu as an option to choose a "Random" category of a quiz to play through. Which randomize questions combined from all the active quiz categories.
Justification
Some prefer to have different questions each run rather than be stuck with one type of category.
Suggested implementation
Impact
menu
categories
commands
Alternative solutions
to choose from more than one category and run one specific category then another right after.
ALTERNATIVE/MORE INFO
This allows you to randomize questions mixing categories together from the implemented categories.
Code location - potentially in the quizz section of the code
Implementation - yet to be implemented.
Doing so we will execute the following steps:
utilize lists or arrays to store questions for categories import randomizer ( ex java.util.Random) track questions that are already asked combine different categories together. Two categories (category1Questions and category2Questions) store questions. An askedQuestions list tracks already-asked questions.
The Random class selects a random question index from the chosen category.
Dynamic Question Pool: Each question is removed from its category list once asked, ensuring
Interaction: Users can select a category or exit the program.
-[ ]Randomizer should run in the background -[ ]Randomizer should allow random selection of questions