answersLogoWhite

0

A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:

  • Does the checkbox have a check mark?
  • Is the person underage?
  • Does a certain file exist on disk?
  • etc.


A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:
  • Does the checkbox have a check mark?
  • Is the person underage?
  • Does a certain file exist on disk?
  • etc.


A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:
  • Does the checkbox have a check mark?
  • Is the person underage?
  • Does a certain file exist on disk?
  • etc.


A Boolean or logical data type can be used to store anything that can answer a "yes/no" question. In other words, anything that has two options. For example:
  • Does the checkbox have a check mark?
  • Is the person underage?
  • Does a certain file exist on disk?
  • etc.
User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is logical or boolean data?

The logical or boolean data type is used to store true/false data. In some databases it can also be expressed as yes/no, 1/0, etc. For example you're either 21 or older or you're not 21 or older. In the US, you have to be 21 or older to drink alcohol legally. So you might store that kind of information about a person in a boolean/logical field named 'legal' and get that information by asking 'Are you 21 or older?'Logical data is generally represented as a diagram and described in business language.


What is boolean data type?

what is boolean data type


Which data type stores only one of two values?

In Java, such a data type is called boolean. In other programming languages it may be known by different names, including variations of "boolean" such as "bool", and "logical".


What field with a Yes and No data type can store only one of two values The choices are?

boolean?


What data type is the is Yes or No?

In Java, that would be called "boolean". In other languages it may have different names, for example, "logical". In C, there is no true boolean data type, so people just use integer and if you want the integer to be true, you set it to 1 and if you want it to be false, you set it to 0.


What is the width of Boolean data type in java?

1 bit


Where string is primitive data type of string data type?

String is not primitive data. Only char,int,double,and boolean are!


What Is bool data type?

There are a number of data types that we use in computer science. Bool data type stands for boolean data type. In boolean data type the data is stored in form of 0 ans 1s. On boolean data type logical functions like AND, OR ,NOT ,XOR etc functions can be performed.


Can you have a boolean data type array?

Yes, you can have a boolean data type array. In programming languages such as Python, Java, and C++, you can create an array (or list) that stores boolean values, typically represented as true and false. This allows you to manage collections of binary states efficiently, such as flags or conditions in your code.


What data or variable type is used for variables that will only have the values true or false?

Boolean


Why Boolean is not considered in C as primitive data type?

primitive data types are those which are independent and boolean expression is never independent it's existence always depends on some conditions or voltage signals


What is logical file?

Logical file is a type of file that provides a view of the data stored into the Physical file. It does not contain data. A logical file contains only an index to the data stored into the physical file.