sp01-jh-s2 - ECE 2030 - Introduction to Computer...

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

View Full Document Right Arrow Icon
ECE 2030 -- Introduction to Computer Engineering EXAM #2 March 28, 2001 SOLUTION KEY A Problem 1. (20 points) A. Value (decimal) 6-bit sign-magnitude binary representation 6-bit 2’s-complement binary representation 23 0 1 0 1 1 1 0 1 0 1 1 1 – 10 1 0 1 0 1 0 1 1 0 1 1 0 – 5 1 0 0 1 0 1 1 1 1 0 1 1 26 0 1 1 0 1 0 0 1 1 0 1 0 – 10 1 0 1 0 1 0 1 1 0 1 1 0 B. 0 1 0 1 1 0 0 0 1 1 0 1 1 0 1 1 0 1 + 0 1 1 0 1 1 + 1 0 1 0 0 1 + 1 1 1 1 0 0 1 1 0 0 0 1 1 1 0 1 1 0 1 0 1 0 0 1 carry-out: 0 1 carry-out: 0 1 carry-out: 0 1 overflow: yes no overflow: yes no overflow: yes no C. 1 0 1 1 1 0 1 1 0 1 1 0 – 1 1 0 1 1 1 – 0 1 1 0 0 1 1 1 0 1 1 1 0 1 1 1 0 1 overflow: yes no overflow: yes no Problem 2. (9 points) F(A,B,C,D) = B D + B C D + A C D + { A B C or A C D } G(A,B,C,D) = B D + B C + A C D + A C D + A B C D H(A,B,C,D) = ( B + D ) ( C + D ) ( A + B + C ) ( A + B + C + D ) 00 01 11 10 CD AB 00 1 1 1
Background image of page 1

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

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

Page1 / 2

sp01-jh-s2 - ECE 2030 - Introduction to Computer...

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