answersLogoWhite

0

What is a boolean?

Updated: 8/11/2023
User Avatar

Wiki User

7y ago

Best Answer

A Boolean is a variable that can hold the value true or false. In most implementations, true is the all-ones bit pattern while false is the all-zeroes bit pattern. As a signed integer in twos-complement notation these patters represent -1 and 0 respectively. However, numeric values can and often do implicitly convert to a Boolean such that non-zero values are always true while zero is always false. For typical container objects (including strings), an empty container implicitly converts to false while a non-empty container implicitly converts to true.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

8y ago

Boolean is an adjective, not a noun so there is no such thing as a boolean. Also, it is named after a person - George Boole - so the word should be Boolean.

Boolean algebra refers to the calculus of truth values.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Using an electricity bill estimator is a great choice for anyone seeking to create a great budget. For one who wants to make an effective budget, listing out monthly expenses for all bills is critical. A person needs to have an idea of what he or she will have to pay for certain expenses, in order to stick to the budget. If a person does not know how much to expect to pay for bills, then he or she may overspend in a given month. This is not a good position to be in and can cause a person lots of stress.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

one with two answers yes and no, 0 and 1

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a boolean?
Write your answer...
Submit
Still have questions?
magnify glass
imp