Activity - 2 Number System Conversion - Class VII

Number System Conversion Helper

Number System Conversion Helper

Learn to convert between Binary, Octal, and Hexadecimal using simple lookup tables!

Octal ↔ Binary Conversion

Conversion Table: Octal ↔ Binary (3-bit groups)

Octal Binary (3-bit)
0000
1001
2010
3011
4100
5101
6110
7111

Steps for Octal to Binary Conversion

  1. **Step 1: Identify Each Octal Digit.** Look at the octal number you want to convert.
  2. **Step 2: Lookup in Table.** For each octal digit, find its corresponding 3-bit binary equivalent in the table above.
  3. **Step 3: Concatenate.** Join all the 3-bit binary groups together in the same order to form the final binary number.

Example: Convert Octal 2578 to Binary

Octal Number: 2578

  • Digit 2 → 0102 (from table)
  • Digit 5 → 1012 (from table)
  • Digit 7 → 1112 (from table)

Concatenate: 0101011112

Therefore, 2578 = 0101011112

Steps for Binary to Octal Conversion

  1. **Step 1: Group Binary Digits.** Starting from the **rightmost** digit of the binary number, group the digits into sets of three.
  2. **Step 2: Pad with Zeros (if needed).** If the leftmost group has fewer than three digits, add leading zeros until it has three digits.
  3. **Step 3: Lookup in Table.** For each 3-bit group, find its corresponding octal digit in the table.
  4. **Step 4: Concatenate.** Join all the octal digits together in the same order to form the final octal number.

Example: Convert Binary 11010012 to Octal

Binary Number: 11010012

  • Group from right: 1 101 001
  • Pad leftmost group: 001 101 001
  • 0012 → 18 (from table)
  • 1012 → 58 (from table)
  • 0012 → 18 (from table)

Concatenate: 1518

Therefore, 11010012 = 1518

Hexadecimal ↔ Binary Conversion

Conversion Table: Hexadecimal ↔ Binary (4-bit groups)

Hex Binary (4-bit)
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
A1010
B1011
C1100
D1101
E1110
F1111

Steps for Hexadecimal to Binary Conversion

  1. **Step 1: Identify Each Hexadecimal Digit.** Look at the hexadecimal number you want to convert.
  2. **Step 2: Lookup in Table.** For each hexadecimal digit, find its corresponding 4-bit binary equivalent in the table above.
  3. **Step 3: Concatenate.** Join all the 4-bit binary groups together in the same order to form the final binary number.

Example: Convert Hexadecimal A3F16 to Binary

Hexadecimal Number: A3F16

  • Digit A → 10102 (from table)
  • Digit 3 → 00112 (from table)
  • Digit F → 11112 (from table)

Concatenate: 1010001111112

Therefore, A3F16 = 1010001111112

Steps for Binary to Hexadecimal Conversion

  1. **Step 1: Group Binary Digits.** Starting from the **rightmost** digit of the binary number, group the digits into sets of four.
  2. **Step 2: Pad with Zeros (if needed).** If the leftmost group has fewer than four digits, add leading zeros until it has four digits.
  3. **Step 3: Lookup in Table.** For each 4-bit group, find its corresponding hexadecimal digit in the table.
  4. **Step 4: Concatenate.** Join all the hexadecimal digits together in the same order to form the final hexadecimal number.

Example: Convert Binary 11101011002 to Hexadecimal

Binary Number: 11101011002

  • Group from right: 11 1010 1100
  • Pad leftmost group: 0011 1010 1100
  • 00112 → 316 (from table)
  • 10102 → A16 (from table)
  • 11002 → C16 (from table)

Concatenate: 3AC16

Therefore, 11101011002 = 3AC16

Try it Yourself! (Interactive Converter)

Binary:

Octal:

Hexadecimal:

Conversion Steps:


                

© 2025 Number System Conversion Helper. Designed for students.

Comments

Popular posts from this blog

Index Class V - Excel - ICT

Interactive Worksheet - Excel-V True or False- Quiz

Interactive Worksheet - Excel-V Fill-in-the-Blanks Quiz