MCQ
The main purpose of a dry run (trace table) is to:
Unit-2 Computational Thinking and Algorithms
A
Make the program faster
B
Verify the logic and find errors
C
Store data permanently
D
Convert pseudocode to code
Explanation
A dry run checks whether the algorithm works correctly and helps locate errors.
Related MCQs
Evaluate the expression: (10 == 10) OR (3 > 5).
Unit-2 Computational Thinking and Algorithms
View
What are the four main techniques involved in computational thinking?
Unit-2 Computational Thinking and Algorithms
View
Read two numbers, add them, and display the sum. Which pseudocode correctly represents this?
Unit-2 Computational Thinking and Algorithms
View
Which control structure allows a program to make a choice based on a condition?
Unit-2 Computational Thinking and Algorithms
View
You need to show that a program reads a number. Which flowchart symbol should you use?
Unit-2 Computational Thinking and Algorithms
View
What is pseudocode?
Unit-2 Computational Thinking and Algorithms
View