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

  Explain the two types of file compression

Explain the two types of file compression? What are the advantages and disadvantages of Description-Based Encoding and Command-Based Encoding?

  Display the sum of the negative values

Use a single while-loop to display the decimal values -2.3 to 2.9 (inclusive), incrementing by 0.4 for each value displayed.

  When would it be unwise to use either of these methodologies

Would you consider using an Agile methodology such as Scrum or XP in one of your projects

  What would a killer app for pki acceptance look like

What are challenges and solutions for businesses in the use of cryptography for data storage and communications? What about law enforcement?

  Analyze current industry standards and recommendations

Critically analyze current industry standards and recommendations for web design and development identifying two or three of the most important standards.

  Describe a concrete implementation of the mergeable heap ADT

Describe a concrete implementation of the mergeable heap ADT that achieves O(logn) performance for all its operations.

  Create a mock-up interface for the project

Create a mock-up interface for the project. Describe at least 3 interface design techniques that you will use in your interface design.

  Given a 3-d point at position 20 35 10 determine the

given a 3-d point at position 20 35 10 determine the coordinates of the point that results from rotating the original

  What are the logical steps the automobile takes to complete

What are your inputs? What is your expected output? What are the logical steps the automobile takes to complete the turn?

  What are your thoughts on erd

What are your thoughts on ERD and how does this fit into your design process? Read and discuss various relationships associated with ERD.

  Describe a method running for counting the number of ones

Assuming A is already in memory, describe a method running in O(n logn) time (not O(n 2 ) time!) for counting the number of 1's in A.

  Find access time for this system is how many clock cycles

imagine that a certain cache-based system experiences a cache hit rate of 98%. A cache access requires 2 clock cycles, and main-memory access requires 40 clock cycles.

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