120k views
5 votes
The data type that allows you to indicate the absence or presence of a condition is ____.

1) Boolean
2) Integer
3) String
4) Float

User Unferth
by
7.9k points

1 Answer

4 votes

Final answer:

The correct data type that allows you to indicate the absence or presence of a condition is Boolean.

Step-by-step explanation:

The correct data type that allows you to indicate the absence or presence of a condition is Boolean.

A Boolean data type is a binary data type that has only two possible values: true or false. It is commonly used in programming languages to represent logical values such as the result of a comparison or a condition.

For example, if you want to check if a certain condition is true or false, you can use a Boolean variable or expression to store and manipulate the result.

User Lalameat
by
8.2k points