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

  Implement the drunkards walk over 100 intersections

Implement the drunkard's walk over 100 intersections, starting at (0,0) and print the ending location.

  List the assembly language program

List the assembly language program (of the equivalent binary instructions), generated by a compiler from the following pseudo-code program. Assume all variables are integer.

  Prepare a vba macro for the bisection method

Prepare a VBA macro for the bisection method and also determine the real roots of the subsequent equation using the written equation: f(x)=-.6x^2+2.4x+5.5

  Write tax program having single formula to compute tax

Write the tax program with following logic: Set variables cutoff15 and cutoff28 which depend on marital status. Then have single formula which computes tax, depending on incomes and cutoffs.

  Program for saving account balance report

Savings account balance report from customer savings account file. Every input savings account record contains account number, balance forward, deposits (sum of all deposits).

  Write pseudo code to put scores until e button is hit

The program will keep on prompting you to put more scores until you hit E button on your keyboard. Write one page statement to examine this problem.

  Find out the total of balances

Display all the contents of the file in a tabular format with the first row being a header row and write to a file that is called account numbers.txt only the account numbers from the read file.

  Program to read information from keyboard

Write a C++ program that reads the following information from the keyboard terminated with the sentinel -999 in the Student Number, and stores the records in arrays (3 separate arrays).

  Create object-oriented design to enter name into text box

Create the object-oriented design for the system which permits the user to enter their name into the text box. When they press Go button message.

  Write a program that reads in a single record

Write a program named printRecord.py that reads in a single record from the first logfile, prints it, and exits - Write the final version of your program; it does what merger.py does and then loops through the records accumulating the op costs. It t..

  Provide an analogous response when adding the two positive

What is the range of values that the multiplication of those two numbers (a ? b) will have - Provide an analogous response when adding the two positive n-bit and m-bit numbers (a + b).

  Write program to prints the question

Write a program that prints the question"do you want to continue?" and reads a user input. if the user input is"y", "yes", "ok", "sure", or "why not?".

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