MCQ
In pseudocode, the statement total = 0 means:
Unit-2 Computational Thinking and Algorithms
A
total is compared with 0
B
The value 0 is assigned to the variable total
C
total is printed
D
total is deleted
Explanation
The = sign in pseudocode assigns the value on the right to the variable on the left.
Related MCQs
A problem that requires a yes or no answer is called a:
Unit-2 Computational Thinking and Algorithms
View
Which type of problem involves finding a specific item from a large collection of items?
Unit-2 Computational Thinking and Algorithms
View
Which structure begins a pseudocode that must make a choice, such as IF marks >= 40?
Unit-2 Computational Thinking and Algorithms
View
A flowchart adds five numbers together and shows the total. What is the final step before Stop?
Unit-2 Computational Thinking and Algorithms
View
Arranging a list of numbers in ascending or descending order is an example of a:
Unit-2 Computational Thinking and Algorithms
View
Which statement best distinguishes an algorithm from a program?
Unit-2 Computational Thinking and Algorithms
View