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

  Digital technique for transmission of voice-telephone system

State four benefits and one de-merits of utilizing the digital (rather than analog) techniques for transmission of the voice-telephone signals.

  Questioncreate the logic for program that performs

questioncreate the logic for program that performs arithmetic functions. design a program to contain two numeric

  Conduct a web search for ip telephony or telephony

Conduct a web search for the key words "IP telephony" or "telephony". Then complete the following: Get the references of 3 sites that come up with the best.

  Create application that list accounts from a dictionary

Create an application that list accounts from a Dictionary Object. Create an Account Class that contains an ID, Name, and Balance.  Disaply the account in a ListBox.

  Write a function that takes two scalar input arguments

Write a function called coin_value that takes two scalar input arguments and returns one scalar output argument.

  Choose one of the major areas of middleware graphics ai

choose one of the major areas of middleware graphics ai networking sound movie animation physics. research the major

  What are the benefits of writing a change management policy

Why is an understanding of risk and risk management so important to an effective and successful information security program?

  How do the teams manage their team boundaries

Consider the different teams. How do the teams manage their team boundaries? What are the trade-offs between internal cohesion and external ties.

  Print a message each time operation occurs during simulation

Design and implement an application that simulates the customers waiting in line at a bank. Use a queue data structure to represent the line.

  Explain the impact of telecommuting on energy conservation

the number of american telecommuters is expected to increase by 29 million telecommuters or 43 of the workforce by 2016

  Determine the system function of the overall cascade system

The diagram in Fig. depicts a cascade connection of two linear time-invariant systems; i.e., the output of the first system is the input to the second system.

  Write a function uniq that removes duplicate entries

Write the function insertAt :: Int -> a -> [a] -> [a]. insertAt n x xs will insert the element x into the list xs at position n items from the beginning of xs. In other words, skip n items in xs, then insert the new element.

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