LOGIC GATES AND BINARY Flashcards
BINARY
Binary is a base 2 number system that is made up of only two numbers: 0 and 1
BIT
The smallest unit of storage. A bit stores just a 0 or 1
BYTE
A byte consists of 8 adjacent binary digits (binary), each of which consists of a 0 or 1. For example, 01010101
KILOBYTE
The kilobyte (KB) is the smallest unit of measurement greater than a byte. One kilobyte is technically 1000 bytes.
MEGABYTE
The megabyte (MB) is the smallest unit of measurement greater than a byte. One kilobyte is technically 1000 kilobytes.
GIGABYTE
The gigabyte (GB) is the smallest unit of measurement greater than a megabyte. One megabyte is technically 1000 megabytes.
TERABYTE
The terabyte (TB) is the smallest unit of measurement greater than a gigabyte. One terabyte is technically 1000 gigabytes.
SWITCHES
A series of switches can be turned either ON or OFF to carry out mathematical calculations.
STATES
The maximum possible combinations with a given number of switches. For example, 2 switches can have 4 possible states; 00, 01, 10, 11
DENARY
This counting system made of digits between 0-9. This is also know as base 10 system
ASCII
American Standard Code for information interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers.
BOOLEAN LOGIC
At the heart of Boolean Logic is the idea that all values are either true or false.
LOGIC CIRCUIT -
AND gate
OR gate
NOT gate
LOGIC STATEMENTS -
P = A AND B
P = A OR B
P = NOT A
ODD OR EVEN PATTERNS
A 1 in the right hand bit means the pattern is an odd number. A 0 says its even.
BINARY SHIFT
Binary shift to the left makes the number double
o 101 = 5 o 1010 = 10
Binary shift to the right makes the number half
o 10100 = 20 o 1010 = 10