Binary Flashcards
(6 cards)
What is unsigned binary?
Binary where there are only positive denary numbers.
What is two’s complement binary?
A system that allows for negative as well as positive numbers. Instead of a minus sign, the leftmost digit is a 1 to indicate a negative number. If the lefmost digit is a 0, it indicates a positive number.
How do you convert negative binary numbers?
- You flip all the bits (all 0s become 1s, all 1s become 0s).
- Translate the binary into denary.
- Add 1 to the denary number.
- Add a minus sign. (IMPORTANT)
What is binary addition?
Rules:
0 + 0 = 0
0 + 1 = 1
1 + 1 = 0 (carry 1)
1 + 1 + 1 = 1 (carry 1)
What is the reason for binary?
Computers are made up of complicated electrical circuits. Those circuits are switches that either do or don’t have electricity in them. If they do it is recorded as a 1. If they don’t is is recorded as a 0.
What is hexadecimal?
Sometimes programmers want to look at raw data (binary) in the computer. However, it takes a long time to read the binary because there is so much. It also takes a lot of space on the computer screen. Hexadecimal compacts the binary from 8 digits to 2 letters (either letter or number).