Back to dashboard

Reading mode

Ch 2

Correct answer is shown on each question. Use Next to read one by one.

Question 1 of 20 0% read

1. Problem solving mainly involves:

A Guessing answers
B Following random steps
C Finding a systematic solution
D Avoiding the problem

2. Saif is creating an algorithm to find the sum of digits of a number. He uses a loop that extracts each digit. What is the input?

A Sum of digits
B The number
C Each digit
D The loop

3. Zayed is creating a program to calculate the total cost of items in a shopping cart. He needs to sum the prices. This is part of the:

A Input
B Processing
C Output
D IPO chart's output section

4. Omar is testing his solution to a problem by using sample inputs and checking the outputs. What step is he performing?

A Problem identification
B Solution design
C Implementation
D Evaluation

5. Which of the following is a step-by-step procedure for solving a problem?

A A flowchart
B An algorithm
C A pseudocode
D A program

6. Which of the following is easier to understand for beginners?

A Machine code
B Pseudocode
C Binary code
D Assembly language

7. An algorithm is:

A A programming language
B A set of step-by-step instructions
C A computer device
D An output

8. Rami is developing a program to check if a word is a palindrome. He decides to reverse the word and compare. What is the output?

A The original word
B The reversed word
C True or False
D The length of the word

9. Which of the following best represents input?

A Processed data
B User-entered values
C Final result
D Printed report

10. Leila is designing a solution for a calculator. She decides to separate the user interface from the calculation logic. What problem-solving strategy is she using?

A Decomposition
B Pattern recognition
C Abstraction
D Algorithm design

11. Which of the following is an example of an input in the IPO model?

A A printed report
B A calculation result
C A user clicking a button
D A screen display

12. Which of the following best describes Computational Thinking?

A A problem-solving process that involves formulating problems and their solutions in a way that a computer can execute.
B The process of writing code in a specific programming language like Python or C++.
C The study of computer hardware and how it functions.
D The ability to use software applications like Microsoft Word or Excel.

13. Youssef is creating a login system. He needs to check if the entered password matches the stored password. This check is part of which step in the IPO model?

A Input
B Processing
C Output
D Storage

14. Nora is solving a problem that requires finding the average of five test scores. She decides to sum the scores and divide by five. Which step is the summing?

A Input
B Processing
C Output
D Storage

15. Nadia is developing a game where the score increases when the player collects items. She simplifies the game mechanics to focus on scoring. What is this?

A Decomposition
B Abstraction
C Pattern recognition
D Algorithm design

16. Layla is designing a system to assign grades based on scores. She sets ranges: 90+ is A, 80-89 is B, etc. This is an example of which problem-solving method?

A IPO model
B Algorithm
C Computational thinking
D Decomposition

17. A good solution should be:

A Complex
B Unclear
C Efficient and correct
D Slow

18. Nada is creating a program that generates a random number and asks the user to guess it. The user's guess is:

A Processing
B Output
C Input
D Storage

19. Rana is asked to calculate the sum of all even numbers between 1 and 100. She decides to use a loop to add them. This is an example of what?

A Problem identification
B Solution design
C Testing
D IPO chart

20. Focusing on the essential details while ignoring irrelevant information is known as:

A Abstraction
B Decomposition
C Pattern Recognition
D Algorithm

You finished reading all questions

Try practice mode to check answers without scoring, or play for a scored attempt.