1 What is the purpose of a dry run in algorithm development? A To execute the algorithm on a computer B To manually trace the algorithm with sample data to check its logic C To measure the actual execution time D To compile the algorithm
2 Which of the following best describes pseudocode? A A graphical representation of an algorithm B A programming language with strict syntax C A structured English-like description of an algorithm D A type of flowchart symbol
3 Time complexity of an algorithm measures: A The amount of memory used B The number of steps executed C The number of errors D The size of the input
4 What is the main benefit of doing a dry run of an algorithm? A It speeds up the computer B It finds logic mistakes before writing real code C It changes the flowchart symbols D It increases the amount of memory
5 In LARP, what is the first step in writing an algorithm? A Drawing the flowchart B Understanding the problem C Debugging the code D Running the simulation
6 What is the main advantage of using flowcharts? A They are easy to understand visually B They run faster C They use less memory D They are machine code
7 What is the purpose of debugging? A To write code B To find and fix errors C To design algorithms D To test programs
8 Which debugging technique involves adding print statements to track variable values? A Code inspection B Print debugging C Unit testing D Rubber duck debugging
9 Abstraction in computational thinking involves: A Focusing on important details and ignoring irrelevant ones B Looking at every tiny detail C Making the problem more complex D Avoiding the problem
10 Which complexity measures the amount of memory an algorithm uses? A Time complexity B Space complexity C Cyclomatic complexity D Logical complexity
11 Pattern recognition helps us to: A Find similarities in problems B Create new patterns only C Delete patterns D Ignore repeated tasks
12 Time complexity of an algorithm refers to: A Amount of time taken by algorithm as input grows B Amount of memory used C Number of lines in code D Number of variables used
13 Which type of error occurs due to wrong logic in algorithm? A Syntax error B Logical error C Runtime error D Compilation error
14 Which activity involves designing an algorithm and then evaluating its efficiency? A Algorithmic Activities B Dry Run C Debugging D Pattern Recognition
15 Which symbol is used in a flowchart to represent a decision? A Rectangle B Diamond C Parallelogram D Oval
16 What does pseudocode resemble? A A flowchart diagram B A programming language but in simple words C A hardware description D A database schema
17 What does time complexity measure? A Memory usage B Number of steps an algorithm takes C Number of errors D Code length
18 Finding similarities among problems is known as: A Pattern recognition B Decomposition C Abstraction D Simulation
20 Which type of error is caused by incorrect logic in an algorithm? A Syntax error B Logical error C Runtime error D Compilation error
21 Which of the following is used to show the flow of control in a flowchart? A Arrows B Circles C Diamonds D Rectangles
22 Which type of error occurs when a program follows correct syntax but produces wrong output due to flawed logic? A Syntax error B Logical error C Runtime error D Compilation error
23 Which of the following is NOT a component of computational thinking? A Decomposition B Pattern Recognition C Abstraction D Compilation
24 Debugging is the process of: A Writing new code B Finding and fixing errors C Running the program D Documenting the program
25 Which of the following is a type of error in programming? A Syntax error B Logic error C Runtime error D All of these