2 What is an algorithm? A A computer program B A flowchart C A step-by-step solution to a problem D A programming language
3 Which feature ensures an algorithm ends after a limited number of steps? A Input B Output C Finiteness D Generality
4 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
5 A problem that can be divided into smaller parts supports: A Abstraction B Modular design C Counting principle D Error handling
6 Which feature helps reuse a solution for different inputs? A Hard coding B Generalization C Errors D Debugging
8 A generalized solution means: A Solution for one case only B Solution that works for many similar problems C No solution D Hardware solution
11 The fundamental counting principle is used when: A Steps are independent B Steps are dependent C There is only one step D There is no solution
12 Which principle helps in solving basic counting problems? A Logical fallacy B Counting principle C Flowchart principle D Debugging principle
14 Which is the final step of problem solving? A Understanding B Designing C Testing and evaluation D Abstraction
15 Which concept breaks a big problem into parts? A Abstraction B Modular design C Counting D Dry run
16 Which step comes after designing an algorithm? A Problem identification B Testing and verification C Ignoring errors D Data deletion
17 Debugging is the process of: A Creating errors B Removing errors C Ignoring errors D Copying programs
18 Standard algorithms are: A User-defined algorithms B Algorithms with no rules C Well-known and commonly used algorithms D Hardware algorithms
20 Which characteristic of an algorithm means it must stop after a certain number of steps? A Input B Output C Finiteness D Effectiveness
21 Which type of reasoning is used to draw a specific conclusion from a general statement or rule? A Inductive Reasoning B Abductive Reasoning C Analogical Reasoning D Deductive Reasoning
22 Modular design refers to: A Designing a single large program B Dividing a problem into smaller modules C Ignoring problem parts D Hardware design
23 Which topic focuses on identifying mistakes? A Abstraction B Errors C Counting principles D Modular design
24 Logical reasoning in computing helps to: A Decorate programs B Make decisions correctly C Increase hardware speed D Avoid algorithms
25 Which approach focuses on solving a class of problems? A Specific solution B Generalized solution C Trial and error D Random solution
26 What is the first step in solving a computational problem? A Writing code B Understanding the problem C Testing output D Debugging
27 Which property ensures same output for same input? A Generality B Definiteness C Finiteness D Modularity
28 Which step verifies correctness of an algorithm? A Dry run B Abstraction C Generalization D Modularization
29 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
30 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
31 A well-defined, step-by-step procedure to solve a specific problem is called: A A flowchart B A program C An algorithm D A dry run
32 If a restaurant offers 4 types of main courses and 3 types of drinks, how many different meal combinations can be made? A 7 B 12 C 4 D 3
33 Which type of error is the most difficult to find because the program runs but produces incorrect results? A Syntax Error B Runtime Error C Compilation Error D Logical Error
34 What is the process of hiding complex details and showing only the essential features called? A Modular Design B Abstraction C Dry Run D Logical Reasoning
35 An error that causes the program to produce an incorrect result, but does not stop it from running, is called a: A Logical Error B Syntax Error C Runtime Error D Compilation Error
36 What is a computing problem? A A problem that can be solved using a computer B A problem related only to hardware C A problem without any solution D A mathematical equation only
37 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
38 Counting problems are mainly used to: A Store data B Calculate the number of possible outcomes C Design hardware D Write algorithms
39 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
40 Which error occurs due to wrong logic? A Syntax error B Logical error C Hardware error D Network error