Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Java) Please follow the instructions at the bottom of the picture exactly Driver License Online Test The local driver's license office has asked you to

(Java) Please follow the instructions at the bottom of the picture exactly

image text in transcribed

Driver License Online Test The local driver's license office has asked you to write a program that grades the written portion of the driver icense Rules and Signals Test. The driver license test has 25 multiple choice questions. The set of answer keys is: L.A 2.C 6.B 7.C 8.D 9.A 10.B 11.C 12.A 16.B 17.A 18.? 19.A 20.D 21.8 22.C 23.A 24.D 25.B 4.B S.D 14.C 15.A First, the application displays messages to ask for the information of current candidate about last name, first name, SS number to create a Test account When the canidate is ready, display the test instruction, questions and read answers THERE ARE 25 MULTIPLE CEOTCE QUESTEONS OU HAVE TO GET 20 CORRECT ANSKERS TO GET The users answer the question by typing a letter A, B, C or D for each question. If users type other keys than A, B, C or D; display message "Invalid key-Retype and allow users to retype the answer of current question before moving on All the answers and the key set should be sent to the Test account in array type to evaluate the result. The result will be displayed on the screen in the following format, where the date is current date and Driver's icense number is a combination of two random 4-digit numbers DRIVER LICENSE TEST RESULT Driver's name: SS Number Phone Number Smith, James 112233440 2141234567 123 Plano Rd Dallas TX 75243 12345678 03/15/2018 Driver's License Test date Result Missed Questions 5, 12, 15 program will be available for other candidates to test until users choose to exit ANALYSIS AND DESIGN Provide the UML of the data type class -Provide the pseudo-code of main) WHAT YOU NEED TO KNOW TO DO THE LAB How to declare a character array -How to access each number of array -How to print out values stored in an array -How -How to declare an object by calling parameter constructor to generate the current date HOW TO DO THE LAB -Create the project named SP2018LAB7_PART2 -Add the data type class named as SP2018LAB6_DriverCandidate yourName that includes two character arrays one is keySet defined as a constant character array storing the answers of the test and other one is answerSet that stores the answers entered from users. The class can store the method to count how many correct questions to determine the result passed or failed To report which questions are failed, you can define an int array with the same size and for each question correct mark 1 and failed mark0 The method toString will display the result as requested format -Add the driver class SP2018LAB6_GradingDLTest yourLastName then follow the pseudo-code to write the code of the program

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

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

Define and discuss affirmative action.

Answered: 1 week ago