Create a math tutoring program

Assignment Help Programming Languages
Reference no: EM13810935

You are being contracted to create a math tutoring program for a local elementary school.  This tutoring software should ask children which operation they would like to work on.  Their choices should be as follows:

  1. Addition
  2. Subtraction
  3. Multiplication
  4. Quit Tutor

If any of the first three is selected, the user should be presented with 10 RANDOM mathematical problems from that set one at a time.  At all times the student should know what question in the set he/she is working on out of 10 questions.  The user should also know how many attempts he/she has taken per question.  If the user answers a problem incorrectly, the user should be notified that the response is incorrect and be given multiple chances to answer the question correctly.  With each incorrect answer, the attempt count should increase.  In the even of a correct response, the user should be notified that the answer is correct and the next problem should appear. 

Upon completion of the question set, the user should be given a report of the number of questions answered correctly and in how many attempts.  The user's grade should be calculated as (correctAnswers / NumberOfAttempts * 100).  The initial menu should be re-displayed and the user given the opportunity to attempt another set of random problems from the chosen operation.

Also, write the result of the student to a file for output.  This means you should ask for the student's name prior to the menu for operation exercises.  The file output should have:

  1. The user's name
  2. The operation exercise (addition/subtraction/multiplication)
  3. The correct / attempts values
  4. The percentage points.

Even though this is inefficient and slightly wasteful, create a file for each set completion or research how to append to a file and append each set to the same file.

Reference no: EM13810935

Questions Cloud

Health promotion program that would positively affect person : Decide, as a Learning Team, on a chronic health issue that affects the aging population. Begin to think about a health promotion program that would positively affect an older person with this specific health problem. As a team, you must present yo..
Malaria treatment in democratic republic of congo evaluation : Malaria Treatment in Democratic Republic of Congo Evaluation Component
How far do the balls initially fall : How far do the balls initially fall and How fast are they traveling when the large ball hits the ground?
Write a draft on the strategic plan for your organization in : Write a draft on the strategic plan for your organization, including the following: Implementation plan Objectives Functional tactics Action items Milestones and a deadline Tasks and task ownership Resource allocation
Create a math tutoring program : You are being contracted to create a math tutoring program for a local elementary school.  This tutoring software should ask children which operation they would like to work on
Life of an elderly person affects independence of others : Often, a loss of function will begin a so-called downward spiral in the life of an elderly person, affecting his or her independence and quality of life.
Use the concepts of file reading : This program requires you to use the concepts of file reading, parallel arrays and sorting. Your program should read the string content into a string array and the integer content into an integer array
Essay social stratification : Essay social stratification
How control constructs and arrays would resolve problem : Arrays and control structures are valuable tools when programming. An array contains a number of variables all being the same data type. Explained the situation and how control constructs and arrays would resolve problem

Reviews

Write a Review

Programming Languages Questions & Answers

  Use the arduino to make resistance meter

"use the arduino to make resistance meter. this should allow the user to plug a resistor into the breadboard and tell them what the resistance is"

  Create application to read customer information from file

You have been tasked to create the application which reads customer information from file to determine in which states you have customers.

  Write the code for the instantiable class bus

Write the code for the instantiable class Bus, which represents a bus that moves passengers around in a simulated city. Bus objects have a ticket price, a maximum capacity of passengers, and a current number of passengers.

  Describe the contents of text box after button is clicked

Describe the contents of the text box after the button is clicked

  Write class to represent temperatures in degree-fahrenheit

Write Temperature class to represent temperatures in degrees in Celsius, Fahrenheit and Kelvin. Use floating-point number for temperature and a character (type char) for scale.

  Write program to operate as point of sale application

Write down program which will operate as the point of sale (POS) application at carpet retailer. Carpet will be sold by square yard. Padding will be sold by square yard.

  Advantages of the common language runtime

What are the advantages of the Common Language Runtime in .NET

  Write a program to ask the user to enter the amount spent

Write a program to ask the user to enter the amount spent on food and Gas for each day of the week. Count and display the number of days the user spent more than 20 dollars per day on food and more than 10 dollars/per day on gas.

  Write main program that can serve as a test class

Implement the previous classes in Java. Write main program that can serve as a test class that tests all of the methods created and demonstrates that they are working

  Describe purpose of keyword super in programs

Describe purpose of keyword 'super' in programs

  Function to convert a decimal input into roman numerals

Write a function that converts a decimal input into Roman Numerals. Your function will take in a number and output a string.

  Create a script file that generates a row vector

Create a script file that generates a row vector of 10 random numbers from 5 to 15 - Call your function using your array of random numbers and the scalar value of 22.

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