Prompt the student to enter their user name and password

Assignment Help Computer Engineering
Reference no: EM132200523

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

1. 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.

2. Randomly pick ten questions from the TestBank.txt file.

3. Display one question at a time. Get the answer then move to the next question.

4. Do not accept answers other than true or false (T or F should be fine too). The answers should not be case sensitive.

5. 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

• User's answers and the correct answer.

6. Name the file from step 5 as follows: (userName_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.

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

Reference no: EM132200523

Questions Cloud

Generate the two-dimensional string array : Declare and initialize the 2 dimensional array a b c d e f g h i Next print one diagonal of this "determinant" on one line.
Prepare a method to multiply two n times n matrices : Write a Java method to multiply two N times N matrices (2D arrays). The two matrices are received as parameters.
Write a java method which takes a 2-darray of double : Write a Java method, findAverages, which takes a 2-dimensional array of double as a parameter and returns a 1-dimensional array of double containing.
Write a java gui application which can take a date : Write a Java GUI application, which can take a date (no earlier than 1900) from a user and show its corresponding day of the week.
Prompt the student to enter their user name and password : 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.
Read an input file containing text and a single word : Write a Java application that reads an input file containing text and a single word.
Prompt the user for pairs of inputs of a product number : Write a Java application that prompts the user for pairs of inputs of a product number (1-5), and then an integer quantity of units sold.
Write a code program with a loop that lets the user enter : Write a java code program with a loop that lets the user enter a series of positive integers.
Calculate the time required for each of three trip : Prompts the user for destination, number of miles driven, and speed driven (both as integer values).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Obtain eight bit planes for the sena

Use the function extrctb p to obtain eight bit planes for the sena . img and omaha. img test images, and encode them using arithmetic coding. Use the low-resolution contexts shown in given Figure.

  Create a connection socket when contacted by the client

Create a connection socket when contacted by the client (browser). Receive the HTTP request from this connection.

  Discuss and analyze the fccs role in broadband regulation

Discuss and analyze the FCC's role in broadband regulation. Define and discuss the FCC mission and responsibilities as established by Congress in current

  Explain quantitative and qualitative communication

Identify and briefly describe the main components of communication system processes. Explain quantitative and qualitative communication.

  Design an efficient algorithm to find post-office location

Design an efficient algorithm to find the post-office location minimizing the average distance between the villages and the post office.

  Discuss the form of architectural adjustments

You need to include a summary of corrective options, which may be in the form of architectural adjustments or other configuration changes that will prevent.

  Discuss have you identified an operating system

Have you identified an operating system that is more suitable in the given scenario

  When it appropriate to involve users in erd creation process

From these two stories, what do you think is the user's role in data modeling? When is it appropriate to involve users in the ERD creation process? How can users help analysts create better ERDs?

  Design logic for an application that outputs each host name

Design logic for an application that outputs each event number, host name, validated date, meal code, entrée name, number of guests gross total price for party.

  Discuss the relative advantages of B trees

Discuss the relative advantages and disadvantages of B*-trees compared to ordinary B-trees.

  Which methods does the choice question class inherit

Which methods does the Choice Question class inherit from its superclass? Which methods does it override? Which methods does it add?

  Write a script that compares two directories

Write a script that compares two directories bar1 and bar2 and copies or overwrites to bar1 from bar2 every file that is not present in bar1.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd