MCQ
The OR operator gives TRUE when:
Unit-2 Computational Thinking and Algorithms
A
Both inputs are false
B
At least one input is true
C
Both inputs are true only
D
No input is true
Explanation
OR gives TRUE when at least one of the operands is true.
Related MCQs
What do flow lines (arrows) in a flowchart indicate?
Unit-2 Computational Thinking and Algorithms
View
A program takes length and width as input, multiplies them, and displays the area. What is the processing step?
Unit-2 Computational Thinking and Algorithms
View
What is the main advantage of a flowchart over pseudocode?
Unit-2 Computational Thinking and Algorithms
View
Which of the following is TRUE about pseudocode?
Unit-2 Computational Thinking and Algorithms
View
An algorithm without a well-defined order of steps would most likely fail which property?
Unit-2 Computational Thinking and Algorithms
View
Showing the result of a calculation on the screen is an example of:
Unit-2 Computational Thinking and Algorithms
View