Assisted Instruction: Has to be in PERL SCRIPTING LANGUAGE with NO SUBROUTINES Programming Exercise: Write a program in...

90.2K

Verified Solution

Question

Advance Math

Assisted Instruction:

Has to be in PERL SCRIPTING LANGUAGE with NO SUBROUTINES

Programming Exercise:

Write a program in PERL with NO SUBROUTINES to allow the user topick a type of arithmetic problem to study. An option of 1 meansaddition problems only, 2 means subtraction problems only, 3 meansmultiplication problems only, 4 means division problems only and 5means random mixture of all these types.
(Computer- Assisted Instruction) The use of computers in educationis referred to as computer- assisted instruction (CAI). Write aprogram that will help an elementary school student learnarithmetic operations. Use a Random object to produce two positiveone- digit integers. The program should then prompt the user with aquestion, such as
How much is 6 times 7?
The student then inputs the answer. Next, the program checks thestudent’s answer. If it’s correct, display the message \"Very good!\"and ask another multiplication question. If the answer is wrong,display the message \"No. Please try again.\" and let the student trythe same question repeatedly until the student finally gets itright.
Modifying Exercise: (Computer- Assisted Instruction: ReducingStudent Fatigue) One problem in CAI environments is studentfatigue. This can be reduced by varying the computer’s responses tohold the student’s attention, so that various comments aredisplayed for each answer as follows: Possible responses to acorrect answer: Very good! Excellent! Nice work! Keep up the goodwork!
Possible responses to an incorrect answer: No. Please try again.Wrong. Try once more. Don't give up! No. Keep trying. Use random-number generation to choose a number from 1 to 4 that will be usedto select one of the four appropriate responses to each correct orincorrect answer. Use a switch or if statement to issue theresponses.
Modifying Exercise (Computer- Assisted Instruction: MonitoringStudent Performance) More sophisticated computer- assistedinstruction systems monitor the student’s performance over a periodof time. Count the number of correct and incorrect responses typedby the student. After the student types 10 answers, your programshould calculate the percentages that are correct. If thepercentage is lower than 75%, display \"Please ask your teacher forextra help.\", then reset the program so another student can try it.If the percentage is 75% or higher, display \"Congratulations, youare ready to go to the next level!\", then reset the program soanother student can try it.

Answer & Explanation Solved by verified expert
4.4 Ratings (747 Votes)
    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students