1 Which of the following is a type of error in programming? A Syntax error B Logic error C Runtime error D All of these
2 Which debugging technique involves adding print statements to track variable values? A Code inspection B Print debugging C Unit testing D Rubber duck debugging
3 Which of the following is a common error message encountered in LARP? A Syntax error B Logic error C Runtime error D All of these
4 In a flowchart, which symbol is used to show a decision or condition? A Rectangle B Oval C Diamond D Parallelogram
5 In computational thinking, what is the purpose of abstraction? A To add more details to a problem B To remove unnecessary details and focus on what matters C To run a program step by step D To divide a program into modules
6 In LARP, what does the logic phase help you do? A Only decorate the flowchart B Write the correct order of steps to solve a problem C Print the final answer automatically D Replace the pseudocode with code
7 What does time complexity measure? A Memory usage B Number of steps an algorithm takes C Number of errors D Code length
8 Which principle of computational thinking deals with understanding the problem clearly? A Problem Understanding B Solution Selection C Algorithm Design D Debugging
9 Which technique is used to find and fix errors in algorithms? A Debugging B Dry run C Flowcharting D Pseudocoding
10 What is a dry run? A Running a program on a computer B Manually checking an algorithm with sample data C A type of error D A debugging tool
11 What does pseudocode resemble? A A flowchart diagram B A programming language but in simple words C A hardware description D A database schema
13 Debugging is the process of: A Writing new code B Finding and fixing errors C Running the program D Documenting the program
14 Dry run of a flowchart means: A Running the flowchart on a computer B Manually tracing the steps with sample data C Printing the flowchart D Deleting the flowchart
15 Which step of computational thinking involves simplifying a problem? A Problem Understanding B Problem Simplification C Solution Selection D Algorithm Design
16 What is computational thinking? A A way of solving problems using computers only B A method of thinking that helps solve problems logically C A programming language D A type of computer hardware
17 What does pseudocode use? A Only flowcharts B Plain language mixed with programming structures C Only symbols D Only binary code
18 What is the purpose of simulation in algorithm design? A To test algorithm behavior without real execution B To write code faster C To compile the algorithm D To delete errors
19 In LARP, which section is used to draw flowcharts? A Algorithm editor B Flowchart editor C Debugger D Simulator
20 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
21 Which of the following is NOT a component of computational thinking? A Decomposition B Pattern Recognition C Abstraction D Compilation
22 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
23 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
24 Which of the following is a component of computational thinking? A Decomposition B Compilation C Animation D Formatting
25 What is pseudocode? A A type of flowchart B A simplified code-like representation of an algorithm C A programming language D A debugging tool