our task is to develop a program that can achieve the same kact thing. Bear in mind the following important guidelines: - The user may choose between additions and subtractions - The user may choose the difficulty level (easy, medium, hard)

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
INFS3410
Practice Questions
Chapters 1, 2 and 3
The Following is an example run of an educational program for
school children. The program help kids to practice their
additions and subtraction skills.
Your task is to develop a program that can achieve the same
exact thing. Bear in mind the following important guidelines:
- The user may choose between additions and subtractions
- The user may choose the difficulty level (easy, medium,
hard)
- The program should display 5 questions and calculate the
total score
- No two questions should be the same
Please enter your name: Hafedh AlShihi
**************
Hello Hafedh AlShihi
Welcome to our Additions / Subtractions
Practice
****k*********
Which operation you want to practice? Type
1 for Additions, or Type 2 for
subtractions: 2
Please select your difficulty level
Type 1 for Easy (numbers 1 to 10)
Type 2 for Medium (numbers 10 to 100)
Type 3 for Hard (numbers 100 to 1000)
1
Here are 5 easy-level subtraction
questions, please attempt all:
How much is 10 - 3?
7
Good, it' s a correct answer!
How much is 1 - 5?
-5
Sorry, wrong answer. The answer is -4
How much is 9 - 4?
Sorry, wrong answer. The answer is 5
How much is 6 - 2?
4
Good, it' s a correct answer!
How much is 4 - 8?
-4
Good, it's a correct answer!
Thank You Hafedh AlShihi
Your Score is 3 out of 5
Transcribed Image Text:INFS3410 Practice Questions Chapters 1, 2 and 3 The Following is an example run of an educational program for school children. The program help kids to practice their additions and subtraction skills. Your task is to develop a program that can achieve the same exact thing. Bear in mind the following important guidelines: - The user may choose between additions and subtractions - The user may choose the difficulty level (easy, medium, hard) - The program should display 5 questions and calculate the total score - No two questions should be the same Please enter your name: Hafedh AlShihi ************** Hello Hafedh AlShihi Welcome to our Additions / Subtractions Practice ****k********* Which operation you want to practice? Type 1 for Additions, or Type 2 for subtractions: 2 Please select your difficulty level Type 1 for Easy (numbers 1 to 10) Type 2 for Medium (numbers 10 to 100) Type 3 for Hard (numbers 100 to 1000) 1 Here are 5 easy-level subtraction questions, please attempt all: How much is 10 - 3? 7 Good, it' s a correct answer! How much is 1 - 5? -5 Sorry, wrong answer. The answer is -4 How much is 9 - 4? Sorry, wrong answer. The answer is 5 How much is 6 - 2? 4 Good, it' s a correct answer! How much is 4 - 8? -4 Good, it's a correct answer! Thank You Hafedh AlShihi Your Score is 3 out of 5
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY