Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local Create a new project named LabExer5B. Set the project location to your own folder. The program shall: contain an array of 10 multiple choice questions with three (3) choices each and require the user to choose among A, B, or C; Note: Cases are ignored. Lowercase letters are acceptable (a, b, c). Create a try-catch structure to handle three (3) These are when the user inputs the following: an invalid letter (not A, B, or C) a number or any special character blank (no answer) Prompt the user that he can answer again if any of the three (3) exceptions are thrown Display the score.

icon
Related questions
Question
  1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local
  2. Create a new project named LabExer5B. Set the project location to your own folder.
  3. The program shall:
    • contain an array of 10 multiple choice questions with three (3) choices each and
    • require the user to choose among A, B, or C;

Note: Cases are ignored. Lowercase letters are acceptable (a, b, c).

  1. Create a try-catch structure to handle three (3) These are when the user inputs the following:
    • an invalid letter (not A, B, or C)
    • a number or any special character
    • blank (no answer)
  2. Prompt the user that he can answer again if any of the three (3) exceptions are thrown
  3. Display the score.

 

Software Requirements:
• Latest version of NetBeans IDE
Java Development Kit (JDK) 8
Procedure:
1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive.
2. Create a new project named LabExer5B. Set the project location to your own folder.
3. The program shall:
contain an array of 10 multiple choice questions with three (3) choices each and
require the user to choose among A, B, or C;
Note: Cases are ignored. Lowercase letters are acceptable (a, b, c).
4. Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the
following:
• an invalid letter (not A, B, or C)
• a number or any special character
blank (no answer)
5. Prompt the user that he can answer again if any of the three (3) exceptions is thrown.
6. Display the score.
GRADING RUBRIC (100 points):
Criterion
Correctness
Logic
Efficiency
Max Points
40
40
10
Description
The code produces the expected result.
The code meets the specifications ofthe problem.
The code is concise without sacrificing correctness and logic.
Transcribed Image Text:Software Requirements: • Latest version of NetBeans IDE Java Development Kit (JDK) 8 Procedure: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new project named LabExer5B. Set the project location to your own folder. 3. The program shall: contain an array of 10 multiple choice questions with three (3) choices each and require the user to choose among A, B, or C; Note: Cases are ignored. Lowercase letters are acceptable (a, b, c). 4. Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the following: • an invalid letter (not A, B, or C) • a number or any special character blank (no answer) 5. Prompt the user that he can answer again if any of the three (3) exceptions is thrown. 6. Display the score. GRADING RUBRIC (100 points): Criterion Correctness Logic Efficiency Max Points 40 40 10 Description The code produces the expected result. The code meets the specifications ofthe problem. The code is concise without sacrificing correctness and logic.
Software Requirements:
• Latest version of NetBeans IDE
Java Development Kit (JDK) 8
Procedure:
1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive.
2. Create a new project named LabExer5B. Set the project location to your own folder.
3. The program shall:
contain an array of 10 multiple choice questions with three (3) choices each and
require the user to choose among A, B, or C;
Note: Cases are ignored. Lowercase letters are acceptable (a, b, c).
4. Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the
following:
• an invalid letter (not A, B, or C)
• a number or any special character
blank (no answer)
5. Prompt the user that he can answer again if any of the three (3) exceptions is thrown.
6. Display the score.
GRADING RUBRIC (100 points):
Criterion
Correctness
Logic
Efficiency
Max Points
40
40
10
Description
The code produces the expected result.
The code meets the specifications ofthe problem.
The code is concise without sacrificing correctness and logic.
Transcribed Image Text:Software Requirements: • Latest version of NetBeans IDE Java Development Kit (JDK) 8 Procedure: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new project named LabExer5B. Set the project location to your own folder. 3. The program shall: contain an array of 10 multiple choice questions with three (3) choices each and require the user to choose among A, B, or C; Note: Cases are ignored. Lowercase letters are acceptable (a, b, c). 4. Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the following: • an invalid letter (not A, B, or C) • a number or any special character blank (no answer) 5. Prompt the user that he can answer again if any of the three (3) exceptions is thrown. 6. Display the score. GRADING RUBRIC (100 points): Criterion Correctness Logic Efficiency Max Points 40 40 10 Description The code produces the expected result. The code meets the specifications ofthe problem. The code is concise without sacrificing correctness and logic.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer