1 Which characteristic of an algorithm means it must stop after a certain number of steps? A Input B Output C Finiteness D Effectiveness
2 What is the process of hiding complex details and showing only the essential features of a problem? A Modular Design B Abstraction C Dry Run D Generalization
4 A problem that can be divided into smaller parts supports: A Abstraction B Modular design C Counting principle D Error handling
5 What is an algorithm dry run? A Writing an algorithm B Executing algorithm step by step manually C Deleting algorithm D Compiling code
6 An error in the grammar or spelling rules of a programming language is called a: A Logical Error B Syntax Error C Runtime Error D Human Error
7 Breaking down a large problem into smaller, more manageable sub-problems is known as what? A Abstraction B Generalization C Modular Design D Dry Run
8 Why is abstraction important? A It makes problems harder B It hides important data C It simplifies complex problems D It increases errors
10 If a restaurant offers 3 types of bread and 4 types of fillings for a sandwich, how many different sandwiches can be made? A 7 B 12 C 4 D 3
11 Which of the following is a standard searching algorithm that works efficiently on a sorted list? A Bubble Sort B Selection Sort C Binary Search D Linear Search
12 Which approach focuses on solving a class of problems? A Specific solution B Generalized solution C Trial and error D Random solution
13 Which of the following is NOT a characteristic of an algorithm? A Finiteness B Clarity C Ambiguity D Effectiveness
16 Debugging is the process of: A Creating errors B Removing errors C Ignoring errors D Copying programs
17 What is the main purpose of performing a dry run on an algorithm? A To check the algorithm's logic for errors B To write the code in a programming language C To make the algorithm run faster D To hide the complex details
19 What is the name of the process where you manually test an algorithm with sample data to check its logic? A Abstraction B Modular Design C Generalization D Dry Run
20 Abstraction in computing means: A Adding extra details B Removing unnecessary details C Writing code D Testing software