Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java documented program to perform the role of a quiz maker. The program should work as follows: Prompt the student to enter their

Write a Java documented program to perform the role of a quiz maker. The program should work as follows:

Prompt the student to enter their user name and password. Read a file that contains a list of all students information to validate the login credentials. Start the quiz only when the credentials are correct. After 3 failed attempts, exit the program. Randomly pick ten questions from the TestBank.txt file. Display one question at a time. Get the answer then move to the next question. Do not accept answers other than true or false (T or F should be fine too). The answers should not be case sensitive. When the user is done with the quiz, print out a report (On screen and on a file) with the below information in it:

First name Last name Score Elapsed time Users answers and the correct answer.

Name the file from step 5 as follows: (userName_COSC_236_Quiz_Date_Time), where:

userName is the actual user name of the student who took the quiz. Date_Time is the date and time of the start of the test.

Prompt for another user name and password or done as a user name to exit.

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions

Question

1. Who will you assemble on the team?

Answered: 1 week ago

Question

4. Who would lead the group?

Answered: 1 week ago