MCQ
In pseudocode, WHILE condition ... END WHILE will repeat the body:
Unit-2 Computational Thinking and Algorithms
A
A fixed number of times only
B
As long as the condition is true
C
Exactly once
D
Never, it is only for printing
Explanation
A WHILE loop keeps repeating as long as the condition remains true.
Related MCQs
Which type of problem involves finding a specific item from a large collection of items?
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
In the statement PI = 3.14159, PI is best described as a:
Unit-2 Computational Thinking and Algorithms
View
Which flowchart symbol is used to represent the start and end (terminal) of a flowchart?
Unit-2 Computational Thinking and Algorithms
View
A value that does not change during the execution of a program is called a:
Unit-2 Computational Thinking and Algorithms
View
The smaller, manageable parts created after decomposing a problem are often called:
Unit-2 Computational Thinking and Algorithms
View