0% found this document useful (0 votes)
26 views16 pages

Binary Oprations

The document outlines the steps for converting numbers between different numeral systems, including binary, decimal, hexadecimal, and octal. It provides specific instructions for converting integer and fractional parts to binary, as well as tasks for converting various number formats. Additionally, it includes exercises for addition and subtraction of binary numbers, including two's complement operations.

Uploaded by

eng.ahmed.eg.94
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views16 pages

Binary Oprations

The document outlines the steps for converting numbers between different numeral systems, including binary, decimal, hexadecimal, and octal. It provides specific instructions for converting integer and fractional parts to binary, as well as tasks for converting various number formats. Additionally, it includes exercises for addition and subtraction of binary numbers, including two's complement operations.

Uploaded by

eng.ahmed.eg.94
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like