Docsity

Digital Logic - Assignment 1 Questions | ECE 240, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
COE/EE 243
Digital Logic
Session 3; Page 1/1
Spring 2003
COE/EE 243
Homework Assignment #1
Due Friday Jan. 31 by 5:00pm
Show your work on all of the problems below. If you want to see sample problems with solutions go to
http://www.ddpp.com/student/student.html
1. Perform the indicated conversions.
(a) Convert 9740
5310 to binary and octal
(b) Convert 3095
610 to binary and hexadecimal
2. Perform the indicated conversions.
(a) 1101101
11012to octal and to hexadecimal
(b) 253
248to decimal and to hexadecimal
3Perform the indicated arithmetic operations in binary.
(a) 1011101
1101 (b) 11011
10101 (c) 101011
1101 (d) 110110
10101
4. Write the 8-bit signed-magnitude, two’s-complement, and one’s-complement representations for each
of the decimal numbers: 0, -0, 128, 127, -127, -128, -15, 25.
5. Perform the following arithmetic operations on the two’s complement numbers given below. Indicate
whether an overflow occurs or not. The first bit in each number is a sign bit.
(a) 10110
11001 (b) 11001
11000
6. Perform the following arithmetic operations on the one’s complement numbers given below. Indicate
whether an overflow occurs or not. The first bit in each number is a sign bit.
(a) 10110
11001 (b) 10101
11011

Partial preview of the text

Download Digital Logic - Assignment 1 Questions | ECE 240 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

COE/EE 243

Digital Logic

Session 3; Page 1/ Spring 2003

COE/EE 243

Homework Assignment # Due Friday Jan. 31 by 5:00pm

Show your work on all of the problems below. If you want to see sample problems with solutions go to http://www.ddpp.com/student/student.html

1. Perform the indicated conversions. (a) Convert 9740 53 10 to binary and octal (b) Convert 3095 6 10 to binary and hexadecimal 2. Perform the indicated conversions. (a) 1101101 1101 2 to octal and to hexadecimal (b) 253 24 8 to decimal and to hexadecimal

3 Perform the indicated arithmetic operations in binary.

(a) 1011101 1101 (b) 11011 10101 (c) 101011 1101 (d) 110110  10101

4. Write the 8-bit signed-magnitude, two’s-complement, and one’s-complement representations for each of the decimal numbers: 0, -0, 128, 127, -127, -128, -15, 25. 5. Perform the following arithmetic operations on the two’s complement numbers given below. Indicate whether an overflow occurs or not. The first bit in each number is a sign bit.

(a) 10110 11001 (b) 11001 11000

6. Perform the following arithmetic operations on the one’s complement numbers given below. Indicate whether an overflow occurs or not. The first bit in each number is a sign bit.

(a) 10110 11001 (b) 10101 11011