Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are asked to create a program in Java that will be used to create quizzes and test users based on these quizzes. IN PHASE
You are asked to create a program in Java that will be used to create quizzes and test users based on these quizzes.
-
-
- IN PHASE 2 SAVE THIS data to the list of objects.
- Once a new question entered show the manage questions menu
- If user wants to delete a question, prompt the user to enter Question Code.
- If question with the code exists, then delete it, show the message that question is deleted and show manage questions menu
- If question with the code not exists then show the message that code is incorrect
- If user wants to list all questions then
- Print to the screen the list of questions, answers and the correct answer
- show manage questions menu
-
- If user choses to enter quiz taking module
- Show total number of questions available
- Prompt to enter test taker information
- First Name
- Last Name
- Number of questions
- If number of questions less than total number of questions then ask to enter this information again
- Start quiz
- Randomly choose questions as many as user-selected
- Iterate through these questions
- Ask question
- Show possible answers
- Prompt to enter the correct answer
- If the answer is not available ask to choose from available options
- Once all questions answered provide a report
- Total number of questions answered
- Correct answers
- Incorrect answers
- % of correct answers
- Grade: A -90% up, B 80% up, C- 70% up, or F
- Show main menu
- You need to encapsulate/hide the logic responsible of displaying menu, validation of menu options, as well as user selection of menu into a separate class called MenuHandler
Help!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started