Question 12. Convert octal 643 to hexadecimal.
Solution: 143
- Convert octal 643 to binary: 643 (octal) = 110 100 011 (binary).
- Group binary digits in sets of 4: 0110 1000 0011.
- Convert to hexadecimal: 0110 (6), 1000 (8), 0011 (3) = 143 (hex).
Question 12. Convert hexadecimal 451 to octal.
Solution: 2151
- Convert hexadecimal 451 to binary: 4 = 0100, 5 = 0101, 1 = 0001.
- Group binary digits in sets of 3: 010 001 010 101 001.
- Convert to octal: 010 (2), 001 (1), 010 (2), 101 (5), 001 (1) = 2151 (octal).
Question 13. Convert octal 726 to hexadecimal.
Solution: 1F6
- Convert octal 726 to binary: 726 (octal) = 111 010 110 (binary).
- Group binary digits in sets of 4: 0001 1110 0110.
- Convert to hexadecimal: 0001 (1), 1110 (F), 0110 (6) = 1F6 (hex).
Question 14. Convert hexadecimal 553 to octal.
Solution: 2513
- Convert hexadecimal 553 to binary: 5 = 0101, 5 = 0101, 3 = 0011.
- Group binary digits in sets of 3: 010 101 010 101 011.
- Convert to octal: 010 (2), 101 (5), 010 (2), 101 (5), 011 (3) = 2513 (octal).
Question 15. Convert octal 732 to hexadecimal.
Solution: 1FA
- Convert octal 732 to binary: 732 (octal) = 111 011 010 (binary).
- Group binary digits in sets of 4: 0001 1111 1010.
- Convert to hexadecimal: 0001 (1), 1111 (F), 1010 (A) = 1FA (hex).
Question 16. Convert hexadecimal 6B4 to octal.
Solution: 3254
- Convert hexadecimal 6B4 to binary: 6 = 0110, B = 1011, 4 = 0100.
- Group binary digits in sets of 3: 011 011 101 101 100.
- Convert to octal: 011 (3), 011 (3), 101 (5), 101 (5), 100 (4) = 3254 (octal).
Question 17. Convert octal 804 to hexadecimal.
Solution: 204
- Convert octal 804 to binary: 804 (octal) = 1000 000 100 (binary).
- Group binary digits in sets of 4: 0010 0000 0100.
- Convert to hexadecimal: 0010 (2), 0000 (0), 0100 (4) = 204 (hex).
Question 18. Convert hexadecimal 987 to octal.
Solution: 4607
- Convert hexadecimal 987 to binary: 9 = 1001, 8 = 1000, 7 = 0111.
- Group binary digits in sets of 3: 001 100 101 000 111.
- Convert to octal: 001 (1), 100 (4), 101 (5), 000 (0), 111 (7) = 4607 (octal).
Question 19. Convert octal 776 to hexadecimal.
Solution: 1FE
- Convert octal 776 to binary: 776 (octal) = 111 111 110 (binary).
- Group binary digits in sets of 4: 0001 1111 1110.
- Convert to hexadecimal: 0001 (1), 1111 (F), 1110 (E) = 1FE (hex).
Question 20. Convert hexadecimal B1A to octal.
Solution: 5432
- Convert hexadecimal B1A to binary: B = 1011, 1 = 0001, A = 1010.
- Group binary digits in sets of 3: 101 100 001 101 010.
- Convert to octal: 101 (5), 100 (4), 001 (1), 101 (5), 010 (2) = 5432 (octal).
Question 21. Convert octal 1234 to hexadecimal.
Solution: 29C
- Convert octal 1234 to binary: 1234 (octal) = 001 010 011 100 (binary).
- Group binary digits in sets of 4: 0010 1001 1100.
- Convert to hexadecimal: 0010 (2), 1001 (9), 1100 (C) = 29C (hex).
Question 22. Convert hexadecimal C9F to octal.
Solution: 6147
- Convert hexadecimal C9F to binary: C = 1100, 9 = 1001, F = 1111.
- Group binary digits in sets of 3: 011 100 100 111 111.
- Convert to octal: 011 (3), 100 (4), 100 (4), 111 (7), 111 (7) = 6147 (octal).