hw4 - ENGRD2300 Introduction to Digital Logic Fall 2008...

This preview shows pages 1–2. Sign up to view the full content.

ENGRD2300: Introduction to Digital Logic Fall 2008 Homework 4 Due Wednesday, Oct 15, at 1:25pm Problem 1. Convert the following decimal numbers into binary, octal and hexadecimal. a) 1017 10 b) 623 10 c) 19.35 10 d) -255 10 Problem 2. Convert the following binary numbers into decimal, octal and hexadecimal. a) 1101011 2 b) 10100.1101 2 c) 11001.101 2 d) 1111111 2 Problem 3. Convert the following 8-bit, 2’s complement numbers into the equivalent 4-bit, 2’s complement and 12- bit, 2’s complement representations. a) 01101011 2 b) AB 16 c) 257 8 d) 11111111 2 Which conversions fail? I.e., cannot be converted properly? Problem 4. a) Wakerly Exercise 2.7(b), assuming the numbers are 6-bit, 2’s complement. Does the overflow occur? b) Wakerly Exercise 2.7(d), assuming the numbers are 7-bit, 2’s complement. Does the overflow occur? c) Repeat part a) using subtraction instead of addition, and showing borrows instead of carries. Does overflow occur? d) Repeat part b) using subtraction instead of addition, and showing borrows instead of carries. Does overflow occur?

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern