sp02-sw-s2 - ECE 2030 1:00pm 4 problems 4 pages Problem 1(3...

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

View Full Document Right Arrow Icon
Computer Engineering Spring 2002 4 problems, 4 pages Exam Two Solutions 20 March 2002 1 Problem 1 (3 parts, 30 points) Numbers and Arithmetic Part A (9 points) Convert some decimal values (and powers of two) into binary notation: decimal notation binary notation 942 1110101110 41.6875 101001.1011 512 billion 2 39 Part B (9 points) Convert the following octal values into hexadecimal notation: octal notation hexadecimal notation 555 16D 1234 29C 276.41 BE.84 Part C (12 points) For each problem below, (a) compute the operations using the rules of arithmetic, (b) indicate whether an error occurs assuming all numbers are expressed using a four bit two’s complement representation, and (c) indicate whether an error occurs assuming all numbers are expressed using a four bit unsigned representation. 1 1 1 + 1 0 0 0 0 - 1 0 0 0 1 1 1 0 1 0 0 1 1 1 1 1 1 result 1 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0 signed error? Yes
Background image of page 1

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

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

{[ snackBarMessage ]}

Page1 / 4

sp02-sw-s2 - ECE 2030 1:00pm 4 problems 4 pages Problem 1(3...

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