sp04-lw-s2 - ECE 2030 H 4 problems, 6 pages Problem 1 (6...

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

View Full Document Right Arrow Icon
ECE 2030 H Computer Engineering Spring 2004 4 problems, 6 pages Exam Two Solutions 18 March 2004 1 Problem 1 (6 parts, 37 points) Numbers and Arithmetic Part A (4 points) Convert these hexadecimal values into decimal notation: hexadecimal notation decimal notation 0x373 256*3 + 16*7+3 = 883 0x5B.4 5*16 + 11+ 4/16 = 91.25 Part B (4 points) Convert these binary values into octal notation: binary notation octal notation 1010011110 1236 11011010.11 332.6 Part C (10 points) For each problem below, (a) compute the addition using the rules of arithmetic, (b) indicate whether an error occurs assuming all numbers are expressed using a five bit two’s complement representation, and (c) indicate whether an error occurs assuming all numbers are expressed using a five bit unsigned representation. 1 0 1 + 1 0 1 1 1 0 0 1 + 1 1 0 1 1 result 1 0 0 0 0 0 0 1 0 0 signed error? Yes No unsigned error? No Yes Part D (12 points) Convert each subtraction problem (X-Y=Z) below to an addition problem (X+(-Y)=Z) and compute the result of the addition. Also indicate whether an error occurs assuming all numbers are expressed using a five bit two’s complement representation and then indicate whether an error occurs using a five bit unsigned representation.
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.

This note was uploaded on 08/23/2010 for the course EE 2030 taught by Professor Wills during the Spring '10 term at Georgia Institute of Technology.

Page1 / 5

sp04-lw-s2 - ECE 2030 H 4 problems, 6 pages Problem 1 (6...

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