Key Definitions - 2.4
No description yet. This curated deck is ready for daily study.
Card preview (10)
Binary
• Binary is used to represent all data within a computer system. • It refers to transistors opening and closing allowing electricity to pass through or not, which is then represented using 1’s (ON) and 0’s (OFF)
Logic Gate/Diagram
A way to represent Boolean operations.
AND gate
Both inputs must be TRUE (on or 1) for the output to be TRUE (on or 1)
OR gate
One or both inputs must be TRUE (ON or 1) for the output to be true (ON or 1)
NOT gate
The output is the opposite of the input.
Truth Tables
• A way we can represent a logic diagram in table form. • It shows all the possible inputs and outputs for a logic diagram.
/\
Used to represent the AND operator in a truth table or logic statement.
\/
Used to represent the OR operator in a truth table or logic statement.
¬
Used to represent the NOT operator in a truth table or logic statement.
Why computers use binary -
• Binary is a number system that is called base 2. It used two numbers, 1 and 0, and all data is stored in these binary digits. • Data is converted to binary via transistors. As computer systems use electrical currents (and there are no values to these) there needs to be a way of converting these currents into a form where the computer can understand what it is processing. • As electricity passes through these transistors, they are either open (ON, TRUE, or 1) or closed (OFF, FALSE, or 0). • The process of this electricity being passed through allows us to convert these electrical currents into 1’s and 0’s.