Specify a modular design for the problem statementbelow. Include the following i
ID: 3613107 • Letter: S
Question
Specify a modular design for the problem statementbelow. Include the following in your designspecification:
A Computer Assisted Math softwaresystem supports "Drill and Practice" instruction mode. Thesystem generates basic math problems involving operators(*,/,+,-).
The system generates random numbers for the operands and presentsproblems to the student int the format illustrated below:
5 + 3= ?
The system waits for a response andcompares the response to the correct answer. If the studentanswers correctly, an encouraging acknowledgement is displayed;otherwise, the student is told the answer is incorrect and allowedto enter another response to the same problem (up to 3chances). After the third incorrect response, the systemdisplays the correct answer and generates the next problem.
After ten(10) problems have beenpresented, a prompt, shown below, is generated and determines ifthe drill is continued.
Would youlike of continue(Y/N)?
The system only accepts Yes or No as valid response to the promptabove - if an invalid response is given, the prompt is displayedagain until the correct response is provided.
The number of correct and incorrectresponses is presented in a summary report along with the the percentage of correct responses.
1) Design a codeusing functions.
3) Make aFlowchart for the whole code.
Explanation / Answer
x.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.