Question: Programming in C: Computer-assisted instruction (CAI) is using a computer-based system for educational purposes. There are some cool initiatives, such as the One Laptop Per
Programming in C:
Computer-assisted instruction (CAI) is using a computer-based system for educational purposes.
There are some cool initiatives, such as the One Laptop Per Child (OLPC) project that designs low-cost laptops that can be charged via hand-crank or solar power for use in schools across the world, especially in developing countries (see http://one.laptop.org for more details). Youve been assigned to create the feedback engine for a computerized recitation program. Some other programmers will be writing the part of the program that will give test questions, solicit an answer from the student, and determine if the answer is correct or not.
a. You are to write two function prototypes and definitions for rightAnswer and wrongAnswer as well as the definitions according to the following specifications:
i. The pool of responses to a correct answer should be: Very good!, Excellent job!, Nice job!, and Keep up this good work
ii. The pool of responses to an incorrect answer should be: Thats incorrect, Wrong, please try again, Not quite, dont give up!, and No, thats not right.
iii. Varying the responses to correct and incorrect answers has been shown to reduce student fatigue and increase student attention. Your program should accomplish this.
iv. Justify any design decisions you make, including the return type and parameters of each function, and any control statements used.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
