Docsity

Introduction to Computer Engineering Exam #1 - ECE 2030, Exams of Computer Science

Toggle sidebar
bg1
ECE 2030 -- Introduction to Computer Engineering EXAM #1
February 5, 2004 Page 1 of 5
Name:
Student Number:
1. Check that your exam includes all 5 pages.
2. PRINT your name and student number in the spaces above.
3. Read all instructions and problems carefully. Points will be deducted for failure to follow
instructions.
4. Show ALL of your work on these pages. If you need extra space for a particular problem,
write on the back of the previous page.
5. You are NOT permitted to use notes, books, calculators, or other resources during this exam.
6. This exam lasts for 75 minutes. Point values are listed for each problem to assist you in best
using your time.
7. Institute policy prohibits the posting of student grades using an identifiable key (name,
student number, PO Box, etc.). If you wish to have your scores posted so that you can check
them, please sign on the line below and remember (or write down) the random identification
code written in the box below.
SIGNATURE
Problem 1. (20 points possible)
Problem 2. (15 points possible)
Problem 3. (20 points possible)
Problem 4. (20 points possible)
TOTAL. (75 points possible)
pf3
pf4
pf5

Partial preview of the text

Download Introduction to Computer Engineering Exam #1 - ECE 2030 and more Exams Computer Science in PDF only on Docsity!

February 5, 2004 Page 1 of 5

Name:

Student Number:

  1. Check that your exam includes all 5 pages.
  2. PRINT your name and student number in the spaces above.
  3. Read all instructions and problems carefully. Points will be deducted for failure to follow instructions.
  4. Show ALL of your work on these pages. If you need extra space for a particular problem, write on the back of the previous page.
  5. You are NOT permitted to use notes, books, calculators, or other resources during this exam.
  6. This exam lasts for 75 minutes. Point values are listed for each problem to assist you in best using your time.
  7. Institute policy prohibits the posting of student grades using an identifiable key (name, student number, PO Box, etc.). If you wish to have your scores posted so that you can check them, please sign on the line below and remember (or write down) the random identification code written in the box below.

SIGNATURE

Problem 1. (20 points possible)

Problem 2. (15 points possible)

Problem 3. (20 points possible)

Problem 4. (20 points possible)

TOTAL. (75 points possible)

February 7, 2001 Page 2 of 5

Problem 1. (20 points)

A. (8 points; 1 point each, except 2 points for items (v) and (vi)) Perform each of the following. Write your answer in the box at the right edge.

(i) Convert 1101101012 to decimal.

(ii) Convert 88210 to binary.

(iii) Convert 3758 to decimal.

(iv) Express the decimal value of ( 29 + 2^6 )

(v) Convert 36510 to hexadecimal.

(vi) Convert 9C35 16 to octal.

B. (12 points) In the blank in front of each expression in the left hand column, write the letter (P – Z) corresponding to the equivalent expression in the right hand column. Not all answers in the right hand column will be used and some may be used more than once.

(i) _____ F(A, B, C) = Σm (3, 5, 6) P) A B C + A B C + A B C

(ii) _____ F(A, B, C) = ΠM (0, 1, 2, 5, 6) Q) A B + A C + B C

(iii) _____ (A + B) (A + B + C) (B + C) R) B C D + A B D + A B D

(iv) _____ (B + C + D) + (A + B D) + A B D S) A B C + A B C + A B C

(v) _____ B (A + C) + C (A + B) T) A B C + A B D

(vi) _____ A B + C (D + A) U) A B C + A B + B C

Z) None of the above

February 7, 2001 Page 4 of 5

Problem 3. (20 points)

A. (10 points) Write minimal sum-of-products (SOP) and minimal product-of-sums (POS) expressions for the function defined by the following Karnaugh map. Circle the corresponding terms used in the K-maps labeled “Final SOP” and “Final POS.” The K-map labeled “work copy” is for your use and will not be graded.

00 01 11 10

CD AB 00 0 0 0 0 01 1 1 1 0

11 1 0 1 1

10 1 1 0 1

00 01 11 10

CD AB 00 0 0 0 0 01 1 1 1 0

11 1 0 1 1

10 1 1 0 1

00 01 11 10

CD AB 00 0 0 0 0 01 1 1 1 0

11 1 0 1 1

10 1 1 0 1

work copy Final SOP Final POS

F(A, B, C, D) = minimal SOP

Number of essential prime implicants:

F(A, B, C, D) = minimal POS

Number of essential prime implicates:

B. (10 points) Write minimal sum-of-products (SOP) and minimal product-of-sums (POS) expressions for the function defined by the following Karnaugh map. Circle the corresponding terms used in the K-maps labeled “Final SOP” and “Final POS.” The K-map labeled “work copy” is for your use and will not be graded.

00 01 11 10

CD AB 00 1 x 0 x

01 0 x 1 0 11 1 1 0 0

10 1 x 0 1

00 01 11 10

CD AB 00 1 x 0 x

01 0 x 1 0 11 1 1 0 0

10 1 x 0 1

00 01 11 10

CD AB 00 1 x 0 x

01 0 x 1 0 11 1 1 0 0

10 1 x 0 1

work copy Final SOP Final POS

F(A, B, C, D) = minimal SOP

F(A, B, C, D) = minimal POS

February 7, 2001 Page 5 of 5

Problem 4. (20 points)

A. (8 points) Given the mixed-logic schematic below, write an algebraic expression for the function it implements. Your expression should correspond to the circuit structure given; do not attempt to minimize the expression. Then, determine the number of each type of physical logic gate that would be required to implement this circuit as drawn.

F

E

D

C

B

A

F =

# of gates: ___ AND ___ OR ___ NAND ___ NOR ___ INVERTER

B. (12 points) Given the function specified below, draw a mixed-logic schematic to implement it using only physical AND gates and inverters. Your schematic should correspond to the expression given; do not attempt to minimize the expression. You should make a reasonable effort to minimize the number of inverters required. Then, determine the number of each type of physical logic gate that would be required to implement this circuit as drawn.

G = ( W X + X Y ) ( W + Y Z )

# of gates: ____ ANDs ____ INVERTERs