The Test 1. What is an algorithm? A set of instructions for solving a problem. A random sequence of steps. A complex data structure. None of the above. 2. Which pseudocode construct is used to repeat a block of code a fixed number of times? if-then while loop for loop switch-case 3. In pseudocode, which keyword is used to begin a conditional statement? IF WHILE FOR DO 4. Which programming language uses "begin" and "end" to delimit code blocks? Pascal C/C++ Python Java 5. In C/C++, which symbol is used to terminate a statement? Colon (:) Period (.) Semicolon (;) Comma (,) 6. Which process involves tracking the evolution of variable values during an algorithm's execution? Tracing Recursion Inheritance Polymorphism 7. Which pseudocode structure is used for making decisions? IF-ELSE FOR FUNCTION PROCEDURE 8. In Pascal, which keyword is used to end the main block of a program? end. endif stop exit 9. How do you write a comment in C/C++? // comment <!-- comment --> # comment * comment 10. What is the main benefit of using pseudocode before writing actual code? It helps in planning the algorithm It automatically compiles into code It eliminates the need for debugging It increases execution efficiency Submit Answers