44.6k views
5 votes
Boolean variables are commonly used to indicate whether a specific condition exists. For example, variables such as: paid_tax = True; gotMilk = False; won = True; input_valid = False; etc. These Boolean variables are known as: ______ . Hint: Waving in the breeze.

User Lutz
by
4.5k points

1 Answer

5 votes

Answer:

Flags.

Step-by-step explanation:

Boolean variable can only represent one of the two values and those are true and false.Boolean variables interprets 0 as false and any value other than 0 is represented as true. Flags are used to represent whether a specific condition exists or not.Which help us in many ways.

Hence the answer is flags.

User Francesco Cariaggi
by
4.5k points