0% found this document useful (0 votes)
18 views

Tutorial Sheet 2 Digital 1

Uploaded by

sop lionnel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Tutorial Sheet 2 Digital 1

Uploaded by

sop lionnel
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

UNIVERSITY OF BUEA

COURSE TITLE: DIGITAL ELECTRONICS I

TUTORIAL SHEET 2: ARITHMETIC OPERATIONS OF BINARY NUMBERS

1. Perform the following arithmetic operations by using 2's complement numbers


a) Add +119 and -13 b) Subtract -23 from -53
2. Add the maximum positive integer to the minimum negative integer, both represented in 16-bit 2's
complement binary notation. Express the answer in 2's complement binary.
3. Add the single-precision IEEE numbers C3EE86A0 and 3DD29C86. Express the result in
normalized and hexadecimal forms.
4. Each of the following pairs of signed (two's complement) numbers are stored in computer words (6
bits). Compute the sum as it is stored in a 6-bit computer word. Show the decimal equivalents of
each operand and the sum. Indicate if there is overflow.

a) 111111+ 001011 b) 101001+ 110001

5. Perform the following arithmetic operations using floating point notation:


a) 5+3/8 b) 10 x 4/5 c) 200.5 + 60.75 d) 68.75 20.5
6. Draw a diagram of a 8-bit parallel adder using two (02) 7483 full adder integrated circuits (ICs).
(HINT: A 7483 full adder is a 4-bit parallel adder. An IC is always represented using its logic
symbol)
7. Perform the following binary division operation by using
a) Repeated right-shift and subtract b) Repeated subtract and left-shift algorithms

i) 110111 ÷101 ii) 1110001÷ 1101

8. Divide (AF)16 by (09)16 using the method of 'repeared right shift and subtract', bearing in mind the
signs of the given numbers, assuming that we are working in eight-bit 2's complement arithmetic.
9. Carry out the binary and hexadecimal arithmetic operations of the following numbers:

a) 9845+6506 b) 285 -126 c) 230 X 69

(HINT: Convert each decimal number to its binary and hexadecimal equivalent before operation)

10. Carry out the addition of the following numbers and convert the result to their decimal equivalents
a) 0110110 and 001010 b) 3C4H and BA7H

11. Use the methods of


a) Repeated left-shift and add b) Repeated add and right-shift c) repeated-addition to do the
following binary multiplication problems

i) 1010 x 11 ii) 1011 x 101 iii) 1110 x 110 iv) 1010 x 101

11. The result of adding two BCD numbers represented in excess-3 code is 01111011 when the two
numbers are added using simple binary addition. If one of the numbers is (12)10, find the other.
12. Convert the following 8421 BCD numbers to their decimal equivalents
a) 10010000 b) 11111111 c) 0111.0011 d) 01100001.00000101
Give the decimal equivalents if the numbers were represented using 4311 BCD code
13. Convert the following 4221 BCD numbers to their binary equivalents
a) 01011000 b) 000100000000 c) 1001.01110101 d) 0011.0000011000100101
14. Convert the following straight binary numbers to their gray code equivalents
a) 0110 b) 10100 c ) 10101 d) 10110
15. Convert the following excess-3 numbers to their decimal equivalents
16. The following numbers are stored in a computer

1) 10000111 ii) 00110100 iii) 11001001

What is the decimal value represented if the number is as

a) BCD 2421 b) BCD excess-3 c) Binary unsigned d) Binary signed

17. Write the excess-3 equivalent codes of 610, 7810, 35710 all in 16-bit format.
18. Write a) Hamming (7, 4) code for 0011 using even parity and b) the Hamming (11, 7) code for
1111111 using odd parity

You might also like