Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C++documented program to perform the role of a quiz maker. The program should randomly display True/False questions, record student's answers, keep track of

image text in transcribed
Write a C++documented program to perform the role of a quiz maker. The program should randomly display True/False questions, record student's answers, keep track of the timing, and calculate the final score out of 10 The program should work as follows: 1. Prompt the student to enter their First name and Last name (both of type string), and ID (a number of 6 digits) 2. Validate the entered ID, if the length of ID is not 6 digits, stay at step 2 and prompt the user to re-enter the correct ID After 3 failed attempts, exit the program. If the student entered a valid name and ID go to step 3 3. Randomly pick ten questions with their answers form the 4. Display one question at a time. Get the answer, then move 5. Do not accept answers other than true or false (T or F Q and A arrays to the next question. should be fine too). The answers should not be case sensitive 6. When the user is done with the quiz, print out a report (On screen) with the below information in it First name and Last name .Score Elapsed time . Student's answers and the correct answer 7. Prompt the student to enter Q to exit the program, or to enter S to clear the screen and start a new quiz for another student

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

Find the value of the determinant. -4 3

Answered: 1 week ago

Question

=+ Judgmental assessment: personal experience or outside experts?

Answered: 1 week ago