Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Make a flowchart on flowgorithm NEVER WRITE ON NOTES WRITE IT ON FLOWGORITHM Create the logic for an application that administers a multiple choice quiz.
Make a flowchart on flowgorithm NEVER WRITE ON NOTES WRITE IT ON "FLOWGORITHM"
Create the logic for an application that administers a multiple choice quiz. You may use Flowgorithm or Python for this assignment. Each question will have three choices for the answer, labeled A, B and C. Display one question at a time, along with the three choices for the answer, then allow the user to enter a response. The user's response must be validated: verify that the user enters only A, B, or C - if not, tell the user they entered an invalid response and prompt them to try again. Keep prompting the user until a valid response is entered. A separate module must be used for this validation requirement, either - A validation module that tests the user's entry and returns true or false; or - An input module. This module will return a validated response to the code that calls it. Once a valid response has been entered, determine whether the user answered the question correctly. If so, display Correct!; otherwise display The correct answer is and the letter of the correct answer. Then move on to the next question. After the user has answered all of the questions, display the number of correct responses. The questions, the possible answers, and the correct answers will be maintained in five parallel arrays: 1. question array 2. choice A array 3. choice B array 4. choice C array 5. correct answer array If you are using Python for this assignment you must use five lists or five tuples. The only list method that is allowed is append. After populating the lists or tuples, specific data elements must be accessed in the same way an array element is accessed: using an index value in square brackets. You may not define any classes in your code. f you are using Python for this assignment you must use five lists or five tuples. The only list method that is allowe append. After populating the lists or tuples, specific data elements must be accessed in the same way an array elen s accessed: using an index value in square brackets. You may not define any classes in your code. Your quiz must have a minimum of five questions. A loop structure must be used to present the questions and possible answers, and process the user's responses. Us one block of code that is repeated in a loop, with one iteration of the loop per question. Your logic should work for en, fifty, or a thousand questions, with only relatively minor changes. Be sure to check the rubric for how this assignment will be gradedStep 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