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

  Probability line is executed in nth iteration of for loop

What is the probability that line is executed during the nth iteration of the for loop? What is the exact expected number of executions of line?

  Program calculate average number of days employee are absent

Write a program that calculates the average number of days a company's employees are absent. The program should have the following functions: a function called main that asks the user for the number of employees.

  Write down two ways to execute the shell script

Write down two ways you can execute the shell script when you don't have executive access permission for file containing the script?

  Define a virtual terminal emulation window

NETW240: Managing User and Group Accounts, Using the mouse, click on the Fedora icon. Select ‘System Tools' and then select ‘Terminal'. A virtual terminal emulation window will appear. The window will provide access to the shell command-line prompt..

  Determine the conditions in which datagrams are dropped

Use the attached client and server programs to make a test kit to determine the conditions in which datagrams are sometimes dropped.

  Explain some ways tables can be used on web page

Tables are one of the most useful page layout tools available to web designers. Explain some ways tables can be used on a web page. Elaborate on other ways to achieve the same look.

  The set methods should verify that length and width are

rectangle class create a class rectangle with attributes length and width each of which defaults to 1. provide methods

  Create the logic for a program that accepts input values

Create the logic for a program that accepts input values for the projected cost of a vacation and the number of month until vacation. Pass both values to a method that displays the amount you must save per month to achieve your goal.

  Wilkerson-irwin algorithm to minimize mean tardiness

Write a program to implement the Wilkerson-Irwin algorithm to minimize mean tardiness.

  Examine the boxplot

Examine the boxplot and briefly discuss the overall pattern of electricity usage for the households.

  Write code for member method expand

Write code for the member method expand. To keep the code simple, you may assume that the array element has enough capacity and does not need to be resized.

  Create a driver class to test implementation

Assume you are asked to re-implement the notification part of e.centennialcollege.ca by using observer pattern. When there is a new grade item released or the assignment due date is two days away, those students who register the notification could..

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