Binary Flashcards

(6 cards)

1
Q

What is unsigned binary?

A

Binary where there are only positive denary numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is two’s complement binary?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you convert negative binary numbers?

A
  1. You flip all the bits (all 0s become 1s, all 1s become 0s).
  2. Translate the binary into denary.
  3. Add 1 to the denary number.
  4. Add a minus sign. (IMPORTANT)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is binary addition?

A

Rules:
0 + 0 = 0
0 + 1 = 1
1 + 1 = 0 (carry 1)
1 + 1 + 1 = 1 (carry 1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the reason for binary?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is hexadecimal?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly