sp08-cs231-uiuc-midterm1_sol - CS 231 Spring 2008 Midterm...

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

View Full Document Right Arrow Icon
CS 231 – Spring 2008 Midterm Exam 1 February 27, 2008 Name: Solutions DON’T OPEN YOUR EXAM UNTIL SO INSTRUCTED Important notes: · This exam has 10 pages, including this cover sheet and a blank page at the end. · Please write your netID on every page. · There are 6 questions, with the value of each indicated. · You have 120 minutes, so budget your time! · No written references or calculators are allowed. · Please show all your work to ensure you receive full credit. · Partial credit may be awarded for work shown as well . · We will not answer questions regarding course material. Question Maximum Your Score 1 24 2 9 3 20 4 16 5 10 6 21 Total 100
Background image of page 1

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

View Full DocumentRight Arrow Icon
CS 231 Spring 2008 – Midterm 1 – Solutions (24 pts) A . Consider the implementations of ripple-carry and carry-lookahead adders that we discussed in class. Compared with the carry-lookahead adder, the ripple-carry adder (a) has a longer delay and requires more gates (b) has a shorter delay and requires more gates (c) has a longer delay and requires fewer gates (d) has a shorter delay and requires fewer gates B. Which of the following combinations of one or more types of gates can implement all Boolean functions? Circle all that are true . (Don't assume that NOT gates are always available. Only the gates stated are available for each part.) (a)AND, OR (b)OR, NOT (c)NAND (d)XOR (e)NOR C. In which one of the following choices do the three columns represent the same value? One’s complement Two’s complement Decimal (a)1111 0000 1111 0000 240 (b)1100 0110 1100 0111 -57 (b)1110 1111 1111 0000 -111 (c)0100 0110 0100 0111 70 D. Which circuit implements f(x,y,z) = Σ m(2,3,5,6,7) ? (a) (b) (c) (d) Either (c) or (d) is acceptable NetID:_____________ 2
Background image of page 2
CS 231 Spring 2008 – Midterm 1 – Solutions Question 1 continued… E. Convert the decimal number 74.25 to 8-bit unsigned binary, hexadecimal, and quaternary (base 4). Clearly show your conversion steps.
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/10/2008 for the course CS 231 taught by Professor - during the Spring '08 term at University of Illinois at Urbana–Champaign.

Page1 / 10

sp08-cs231-uiuc-midterm1_sol - CS 231 Spring 2008 Midterm...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online