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, 23.06.2019 15:00
In the blank libreoffice writer document, to start the process of entering a date field into a letter, click on the insert menu. edit menu. file menu. fields menu.
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
You know the right answer?
Implement a Java program that creates math flashcards for elementary grade students. User will enter...
Questions
Questions on the website: 13722363