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

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

View Full Document Right Arrow Icon
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.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online