Create a function that takes an integer argument n generates two positive integers, each of them consists of n digits p

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Create a function that takes an integer argument n generates two positive integers, each of them consists of n digits p

Post by answerhappygod »

Create a function that

takes an integer argument n
generates two positive integers, each of them consists of n
digits
prompts the user with a question, such as how much is 6 times
7?
The student then inputs the answer. The function returns 1 if
the student’s answer is correct and 0 otherwise.


Create a program that monitors the student’s performance over a
period of time. The decision to begin a new topic is often based on
the student’s success with previous topics. The program
should:

Start with problems of 1 digits
count the number of correct and incorrect responses typed by
the student.
After the student types 10 answers, your program should
calculate the percentage of correct answers.

If the percentage is lower than 75%, display "Please ask your
teacher for extra help.", then reset the program so another student
can try it.
If the percentage is 75% or higher, display "Congratulations,
you are ready to go to the next level!", then repeat the process
with challenges that are 1 digit longer than the completed
iteration ( i.e the first time present challenges that are 1 digit
long, if the student passes after 10 questions, then present
challenges that are 2 digits long, such as 14, 78,..., if the
student passes after 10 questions, then present challenges that are
2 digits long and so on
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply