Lecture 1B: Positional Numbering Systems Flashcards
Name the most popular Positional Numbering Systems (PNS).
Decimal, Binary, Octal, Hexadecimal.
What PNS is Base-2?
Binary
What PNS is Base-10?
Decimal
What PNS is Base-16?
Hexadecimal
What PNS is Base-8?
Octal
How do you convert Decimal to Binary?
- Divide decimal by 2.
- Write down the quotient and the remainder.
- Divide quotient by 2.
- Write down the quotient and the remainder.
- Repeat the process (1)-(4) until the quotient becomes zero.
- Write down the binary number from the bottom (MSB) to top (LSB)
What is Decimal 66 in Binary?
100010
How do you convert Decimal to Hexadecimal?
- Divide decimal by 16.
- Write down the quotient and the remainder.
- Divide quotient by 16.
- Write down the quotient and the remainder.
- Repeat the process (1)-(4) until the quotient becomes zero.
- Write down the hexadecimal number from the bottom (MSB) to top (LSB)
What is Decimal 524 in Hexadecimal?
20C
How do you convert Binary to Octal?
- Start from the right to make your groups.
- Add zeros to the left of the last digit if you don’t have enough to make a set of three.
- Write down the decimal representation of every group.
What is Binary 101011 in Octal?
53
How do you convert Binary to Hexadecimal?
- Cut your string of binary numbers into groups of four, starting from the right.
- Add extra zeros to the front of the first number if required.
- Convert one 4-digit group at a time. To convert between binary and hexadecimal, you simply replace each hexadecimal digit with its 4-bit binary equivalent and vice versa.
What is Binary 10001101011 in Hexadecimal?
46B
How do you convert Hexadecimal or Octal to Binary?
• Look up each hex or octal digit to obtain the equivalent group of four binary digits.
What is Hexadecimal 8B.2 in Binary?
10001011.0010