sp02-sw-s2

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

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

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

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 ]}

### 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
Ask a homework question - tutors are online