Assessment Solutions
Assessment Solutions
1. What is the binary equivalent of decimal number 363? Convert to octal and
then to binary?
Decimal to Octal:
o Divide 365 by 8 repeatedly until the quotient becomes 0:
363 ÷ 8 = 45 (remainder 5)
45 ÷ 8 = 5 (remainder 5)
5 ÷ 8 = 0 (remainder 5)
o Read the remainders from bottom to top: 555 (octal)
Octal to Binary:
The largest 8-bit binary number is 11111111, which represents 255 in decimal.
4. What is the next binary number following 10111(2) in the counting sequence?
7. Give the next three numbers in each of the following hexadecimal sequences:
Decimal to Octal:
o 40 ÷ 8 = 5 (remainder 0)
o 5 ÷ 8 = 0 (remainder 5)
o Octal equivalent: 50
Decimal to Hexadecimal:
o 40 ÷ 16 = 2 (remainder 8)
o 2 ÷ 16 = 0 (remainder 2)
o Hexadecimal equivalent: 28
9. Define:
(a) bit
A bit (binary digit) is the smallest unit of data in computing, representing a value of either 0
or 1.
(b) nibble