subject

Implement a Java program that creates math flashcards for elementary grade students. User will enter his/her name, the type (+, -, *, /), the range of the factors to be used in the problems, and the number of problems to work. The system will provide problems, evaluate user responses to the problems, score the problems, and provide statistics about the session at the end. Functional Requirements • User enters name at the beginning of a session. • System covers four math operations – addition, subtraction, multiplication, and division – with the user choosing which of the four operations to do in the session. Only 1 type of problem can be done in each session. • User will enter additional session parameters from prompts – number of problems to work and the range of values desired in the problems, e. g., addition with factors ranging from 0 to 12. • System will present problems to the user. • User will respond to problems with an answer and the system will provide immediate feedback for each problem, correct or incorrect. • System will provide summary statistics for the session once all problems are completed, including user name, date and time, operation chosen for the problems, range selected for the problems, number of problems, number of problemTechnical
Requirements The system should include the following Java components: • Name of your source code main class as follows: YourName_Project1.java • Methods to prompt the user and to get values for input variables, e. g., user name, number of problems, range of values, etc. • Switch statement for selecting the math operation to perform (cases). • Loop to create the selected number of problems for the session, • Method to get the factors for the problems. • Math. random() used in the creation of the problems. • System. currentTimeMillis() used to record the start time, end time, and calculate the duration of the session in seconds. • java. time. LocalTime. now() method to display date and time of session. s correct, percentage score, duration of the session.
Example output (from the Eclipse console) Enter your name: Kevin Enter "A" for Addition, "S" for Subtraction, "M" for Multiplication, "D" for Division: M Enter the number of problems you wish to work: 3 What are the low and high numbers you want in your problems? Enter the low value for your problems: 0 Enter the high value for your problems: 10 10 * 0 = 0 Correct 2 * 3 = 5 Incorrect 8 * 9 = 72 Correct Session Summary 3 problems, 2 correct Score is 67, Time is 11 seconds Session for Kevin was Multiplication on 2020-08-24 at 00:09:40.401
Hints. • To create your problems, code the addition case first. Then replicate and edit it for the others. • For the subtraction case, get the factors in the range, add them together so the sum becomes the minuend, one of the factors is the subtrahend, and the other factor is the difference. • For multiplication, get the factors in the range, similar to how you did the addition case. • For the division case, get the factors in the range, multiply them as you would in a multiplication problem. The product becomes the dividend, one of the factors becomes the divisor, and the other factor is the quotient.
Analysis. Describe the problem including input, processing, primary calculations, and output in your own words. Design.
Describe the major steps for solving the problem.
Coding. Copy and paste source code below. Testing.
Describe how you tested this program.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:00
The fourth generation of computers emerged between 1970s and 1980s. which technological advancement brought about this generation of computers? which computer architecture was used most in this generation?
Answers: 3
question
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
question
Computers and Technology, 24.06.2019 23:00
Aselect query joins tables together by their a. table names. b. primary keys. c. first entries. d. field names.
Answers: 2
question
Computers and Technology, 25.06.2019 02:00
Software and services are used to conceive, plan, and execute projects in any field. these tools are excellent methods of increasing the probability of successful projects. open source linux project management mind-mapping
Answers: 2
You know the right answer?
Implement a Java program that creates math flashcards for elementary grade students. User will enter...
Questions
question
Mathematics, 16.04.2020 03:16
question
Mathematics, 16.04.2020 03:16
question
Mathematics, 16.04.2020 03:16
Questions on the website: 13722360