A3 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Assignment 2

1- Represent -5 three ways with 8 bits: (a) signed-magnitude (b) signed 1’s
complement, and (c) signed 2’s complement.
2- In the signed-2’s-complement system, negate the number 710, represented
with 8 bits.
3- Using 2’s complements, find the following sums:
(a) -4
+11
(b) -4
-11
4- Perform the following division in binary: 111011 ÷ 101.
5- Perform the following division in binary: 10011111 ÷ 11

6- Obtain the 1’s and 2’s complements of the following binary numbers:
(a) 00010000 (b) 00000000
(c) 11011010 (d) 10101010
(e) 10000101 (f) 11111111.
7- Perform subtraction on the given unsigned binary numbers using the 2’s
complement of the subtrahend. Where the result should be negative, find the
magnitude in decimal and affix a minus sign.
(a) 10011 - 10010 (b) 100010 - 100110
(c) 1001 - 110101 (d) 101000 – 10101
8- Represent the unsigned decimal numbers 791 and 658 in BCD
9- Represent the decimal number 6,248 in (a) BCD, EX-3, 2421 code.
10-

11-
12-

13-

14-

15-

16-

You might also like