Number Systems Flashcards
1
Q
Bit
A
- b
- Smallest unit of storage
- Stores 0 or 1
2
Q
Byte
A
- B
- collection of 8 b
- Can store one character
- 0-225
3
Q
Decimal to Binary
A
- Divide by two
- Remainder = 1
- No remainder = 0
4
Q
Binary to Decimal
A
Largest number is 128
Smallest number is 1
5
Q
Binary to Hexadecimal
A
- Make the binary have 4, 8, 12, 16, etc. amount of digits
- Group the binary into groups of 4
- Convert each group to hexadecimal
6
Q
What does 0x represent
A
The prefix to represent when a number has been written in hexadecimal
7
Q
Hexadecimal to Binary
A
- Convert the number or letter to decimal
- Remove any leading zeros
8
Q
Hex to decimal
A
Rightmost digit is multiplied by 16^0
Next by 16^1
Next by 16^2
…
Add all of them together