Binary/Hex/Logic Gates Flashcards
How many bytes in a Kilobyte ?
1000 bytes.
Computers associate kilobyte with 1024.
How many bytes in a Megabyte
About 1 Million bytes.
How many bytes in a Gigabyte
About 1 Billion bytes
How many bytes in a Gigabyte ?
About a Billion bytes
1000 Megabytes
How many bytes in a Terabyte
About 1 trillion bytes.
Binary Subtraction
Take the twos compliment first by reversing all the 1’s and 0’s on the second number
then add 1 to this number.
Finally add the two numbers together.
Don’t carry the last 1 to make it a 9-bit number.
Binary 1 + 1 =
0 carry the 1
Binary 1 + 1 + carried 1 =
1 carry the 1
AND Gate rule
You only get an output if both the inputs are 1.
OR Gate rule
You get an output if any of the inputs are 1
NOT Gate
You put in a 1, you get a 0
You put in a 0, you get a 1
NAND Gate rule
Opposite of an AND Gate.
Get an output with everything except two 1’s
NOR Gate
Opposite of an OR Gate
Only get an output with two 0’s
XOR Gate
Exclusive OR gate
You only get an output if both the inputs are different
1000 what make a Megabyte
1000 Kilobytes