Faculty of engineering
Sheet solution
Steps for Conversion
1. For integer parts: Divide the integer part by 2, noting the remainder each time, until you
reach 0. The binary representation is the sequence of remainders read from bottom to top.
2. For fractional parts: Multiply the fractional part by 2 and note the integer part of the result
each time. Repeat the process with the new fractional part until you reach an exact 0 or
achieve enough binary places.
1|Page
Faculty of engineering
2|Page
Faculty of engineering
3|Page
Faculty of engineering
2) Convert the following binary numbers to equivalent decimal numbers:
4|Page
Faculty of engineering
5|Page
Faculty of engineering
3) Convert the following hexadecimal numbers to decimal:
6|Page
Faculty of engineering
7|Page
Faculty of engineering
4) Convert the following octal numbers to decimal:
8|Page
Faculty of engineering
5) Convert the following binary numbers to octal:
9|Page
Faculty of engineering
6) Convert the following octal numbers to binary:
10 | P a g e
Faculty of engineering
7) Convert the following decimal numbers to octal:
11 | P a g e
Faculty of engineering
8) Convert the following hexadecimal numbers to binary:
9) Convert the following binary numbers to hexadecimal:
12 | P a g e
Faculty of engineering
(10) Complete the following table:
13 | P a g e
Faculty of engineering
11) Compute the addition of the following unsigned numbers
(0111)2 +(0101)2
14 | P a g e
Faculty of engineering
12) Compute the subtraction of the following unsigned numbers
(110110)2 − (100101)2
13) Show results for adding those two’s complement numbers then find whether overflow
occurs or not (11110)2 + (11101)2
15 | P a g e
Faculty of engineering
14) Show results for subtracting those two’s complement numbers
(10011)2 − (10101)2
16 | P a g e