fa08-sl-ef

# fa08-sl-ef - ECE 2030 12:00pm 5 problems 7 pages Computer...

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

ECE 2030 12:00pm Computer Engineering Fall 2008 5 problems, 7 pages Final Exam 10 December 2008 1 Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate the pages of the exam. For maximum credit, show your work. Good Luck! Your Name ( please print ) ________________________________________________ 1 2 3 4 5 total 32 34 18 34 34 152

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

View Full Document
ECE 2030 12:00pm Computer Engineering Fall 2008 5 problems, 7 pages Final Exam 10 December 2008 2 Problem 1 (4 parts, 32 points) Implementation Bonanza For each part implement the specified device. Label all inputs and outputs . Part A (8 points) Implement the expression below using N and P type switches. ( ) E D C B A OUT X + + = Part B (8 points) Implement the expression in mixed logic notation using NOR gates. ( ) D C B A OUT Y + + = Part B (8 points) Implement a 1 to 4 DEMUX using only pass gates and inverters. Part D (8 points) Implement a full adder using AND, OR, NAND, NOR, NOT, & XOR gates.
ECE 2030 12:00pm Computer Engineering Fall 2008 5 problems, 7 pages Final Exam 10 December 2008 3 Problem 2 (2 parts, 34 points) Even Average In this problem, you will write a subroutine that determines the average of even numbers in a variable length array in memory. Comments for each instruction and labels are already provided . Input parameters to this subroutine include a pointer to the first array element (\$1) and the number of elements in the array (\$2). The result (the average of even numbers) is returned in \$3. As always, the return address for this subroutine arrives in \$31. input parameters result working registers reg content reg content reg content reg content reg content reg content \$1 array pointer \$2 # array elements \$3 input / result \$4 running sum \$5 # even values \$6 predicate Part A (24 points) Write a subroutine that computes the average of even values in an array.

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.

## This note was uploaded on 01/16/2009 for the course COMP ENG 2031 taught by Professor Willis during the Spring '09 term at Georgia Tech.

### Page1 / 7

fa08-sl-ef - ECE 2030 12:00pm 5 problems 7 pages Computer...

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

View Full Document
Ask a homework question - tutors are online