Advertisements
Advertisements
Question
Boolean type data is used to test a condition and results in either true or false.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
In a computer, the boolean data type represents two possible values: true or false. It is typically used in conditional expressions like if or while to test a condition and then determine the flow of control based on the outcome.
shaalaa.com
Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 32]