Boolean operators: Difference between revisions

From Computer Science Wiki
 
(15 intermediate revisions by the same user not shown)
Line 4: Line 4:




== Boolean==  
== Boolean operators ==  
 
 
[[File:Boolean circuits why.png]]
 
 
 
 
This is one of the better videos I've seen on boolean. Content gratefully used with permission :  <ref>http://cs50.tv/2015/fall/#license,psets</ref>
This is one of the better videos I've seen on boolean. Content gratefully used with permission :  <ref>http://cs50.tv/2015/fall/#license,psets</ref>


Line 15: Line 22:


<html>
<html>
<iframe width="560" height="315" src="https://www.youtube.com/embed/YtDJRYdnEvw?list=PLCiOXwirraUDIUDRlk21mH1Y_wCpYaMii" frameborder="0" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/-7VHO_ZHV14" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
</html>
</html>


== Do you understand this topic? ==
== Boolean Logic and Logic Gates ==
From crash course computer science comes this EXCELLENT video teaching us about boolean logic and logic gates<ref>https://www.youtube.com/watch?v=gI-qXk7XojA</ref>


* Define the Boolean operators: AND, OR, NOT, NAND, NOR and XOR.
<html>
* Construct truth tables using the above operators.
<iframe width="560" height="315" src="https://www.youtube.com/embed/gI-qXk7XojA" frameborder="0" allowfullscreen></iframe>
* Construct a logic diagram using AND, OR, NOT, NAND, NOR and XOR gates.
</html>
 
== Do you have an advanced understanding about this topic? ==


== Standards ==
== Standards ==

Latest revision as of 10:04, 8 October 2020

This is a basic concept in computer science

In computer science, the Boolean data type is a data type, having two values (usually denoted true and false), intended to represent the truth values of logic and Boolean algebra. It is named after George Boole, who first defined an algebraic system of logic in the mid 19th century. The Boolean data type is primarily associated with conditional statements, which allow different actions and change control flow depending on whether a programmer-specified Boolean condition evaluates to true or false. It is a special case of a more general logical data type; logic does not always have to be Boolean.[1]


Boolean operators[edit]

Boolean circuits why.png



This is one of the better videos I've seen on boolean. Content gratefully used with permission : [2]


Truth Tables[edit]

Boolean Logic and Logic Gates[edit]

From crash course computer science comes this EXCELLENT video teaching us about boolean logic and logic gates[3]

Standards[edit]

  • Define the Boolean operators: AND, OR, NOT, NAND, NOR and XOR.
  • Construct truth tables using the above operators.
  • Construct a logic diagram using AND, OR, NOT, NAND, NOR and XOR gates.

References[edit]