Difference between revisions of "Boolean"

esse quam videri
Jump to: navigation, search
(External Links)
Line 1: Line 1:
 
=Definition=
 
=Definition=
 +
A variable having two possible values called “true” and “false.” It can be thought of as a binary value.
  
 
=Relevance=
 
=Relevance=
 +
*[[Binary]]
 +
*[[Bit]]
 +
=Explanation=
  
=Explanation=
+
A boolean is a data type intended to represent the two truth values of logic and Boolean algebra.
  
 +
In programming and coding, you can create your own boolean variable and set it to true or false by saying “bool (nameOfYourVariable) = true;”
  
 +
Boolean variables can be named with words and phrases that relate to a true/false conditional statement, such as “is,” “has,” etc.
  
 
=Resources=
 
=Resources=
Line 17: Line 23:
  
 
==External Links==
 
==External Links==
 
+
https://en.wikipedia.org/wiki/Data_type
  
  

Revision as of 15:01, 19 June 2019

Definition

A variable having two possible values called “true” and “false.” It can be thought of as a binary value.

Relevance

Explanation

A boolean is a data type intended to represent the two truth values of logic and Boolean algebra.

In programming and coding, you can create your own boolean variable and set it to true or false by saying “bool (nameOfYourVariable) = true;”

Boolean variables can be named with words and phrases that relate to a true/false conditional statement, such as “is,” “has,” etc.

Resources

See also

Notes

External Links

https://en.wikipedia.org/wiki/Data_type