answersLogoWhite

0

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.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

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 are logical functions?

A logical or boolean function is one that works with logical or boolean values - values that can only be either true, or false.


What is boolean data type?

what is boolean data type


What is a Boolean or logical data type is used to store?

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.


What logical operator is used to reverse the boolean operator?

NOT


Why computers are implementations of boolean logic?

Computers are implementations of Boolean logic because they process and manipulate binary data using logical operations such as AND, OR, and NOT. These operations form the foundation of digital circuits, enabling computers to perform complex calculations and decision-making. By representing data as bits (0s and 1s), computers can efficiently execute logical expressions and algorithms, allowing for the execution of a wide range of tasks from simple calculations to advanced artificial intelligence. Ultimately, Boolean logic provides the framework for how computers understand and operate on data.


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.


Define Boolean Algebra?

Boolean algebra is a division of mathematics that deals with operations on logical values and incorporates binary variables.


Difference between relational and logical operators?

Logical operators don't Compare values they combine Boolean values and produce a Boolean result. Examples of logical operators are && (and), , (or), ! (not). If you have two Boolean values and you combined them with the && operator the result will be (TRUE) only if both values were (TRUE). Relational operators compare two values and produce a Boolean result. Most of the time we use logical operators to combine the results of two or more comparison expressions that use relational operators.


What is the boolean algebra?

It is a system of logical calculus on which logic axioms are based on.


List the eight basic data types used in java and give examples?

The 8 primitive data types are byte, short, int, long, float, double, boolean and char boolean is used to store logical values true/false char is used to store single digit characters. 'Y', 'X' etc the remaining data types are used to store a wide variety of numbers.


What is a boolen algebra?

Boolean algebra is a mathematical structure that deals with binary variables and logic operations. It is used to represent and manipulate logical expressions and truth values. Boolean algebra is especially important in computer science and digital logic design, where it is used for constructing circuits, Boolean functions, and making logical decisions.

Trending Questions
The default port number for the url? What ones is less 1.5 liter or 355 milliliter? How many gallons are in quart? When creating a monthly calendar listing meetings social events and organized work days for your CTSO club or organization which software would best be suited for this application? Which is faster USB 3.0 or eSATA 600? Is ac comprsser copper? What are the 4 main icons of desktop environment? Will a ddr3 1066 RAM work in a ddr3 1800 slot? What is A is a high-capacity communications medium that joins networks and central network devices across long distances? What is the equivalent of 1Gbps to gigabaud? What is external synchronization in distributed system? If the electronics store sold 4laptop computers I one day the total cost of the laptops was 3600 if each laptop cost the same amount how much did each laptop cost? The procedure entry point except handler4 common could not be located in the dynamic link library msvcrt.dll why does the error above occurs when running the latests version of Firefox? What type of computer application would be used in a hospital to maintain patient medical details? Which companies produce mini desktop computers? How much is a 1944 royal magic margin typewriter worth? How do you make a gun on a keyboard? This is related to websphere message broker. How do you modify additional instances property of a .bar file using mqsichangeproperties? You have 2 Hard drives on your system C and D with Win XP Home how do you set up the boot menu to choose either one to boot from at startup? How to find the ascii value of a letter?