MCQ
Which relational operator checks whether two values are equal?
Unit-2 Computational Thinking and Algorithms
A
=
B
==
C
!
D
+
Explanation
The equality operator == is used to test whether two values are equal.
Related MCQs
Tracing an algorithm on paper helps to detect:
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
Manually executing an algorithm step by step and noting the values is called:
Unit-2 Computational Thinking and Algorithms
View
In pseudocode, IF condition THEN ... is an example of a:
Unit-2 Computational Thinking and Algorithms
View
Sum = 0; FOR count = 1 TO 3; Sum = Sum + count; NEXT count; PRINT Sum. What is the output?
Unit-2 Computational Thinking and Algorithms
View
Which of the following is NOT a required property of an algorithm?
Unit-2 Computational Thinking and Algorithms
View