CS231_fa09_midterm1_solns - CS 231 Fall 2009 Midterm 1 CS...

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

View Full Document Right Arrow Icon
CS 231 Fall 2009 – Midterm 1 CS 231 Fall 2009 Midterm 1 Oct. 05, 2009 : 7.00 pm to 9.00 pm Solutions Name: DON’T OPEN YOUR EXAM UNTIL SO INSTRUCTED Important notes: This exam has 12 pages (front and back), including the cover sheet and 2 blank pages. 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 . Do not spend too much time on questions worth very few points We will not answer questions regarding course material. NetID:_____________ 1 Question Maximum Your Score 1 24 24 2 12 12 3 12 12 4 18 18 5 14 14 6 20 20 Total 100 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
A. All the computer science students in US are to be given a nametag containing a unique pattern of 0's and 1's. Each nametag should be unique and should help in figuring out the individual’s details. There are currently 1000000 students in total. How many bits will need to be painted on each tag? No. of bits = log 2 1000000 = 20 B. Circle True or False – (a) If an expression is not in minimal SOP form, then it must be in minimal POS form. (b) The 1's on K-map for f(Y 1 ,Y 2 ,...,Y n ) = Y 1 XOR Y 2 ... XOR Y n form a checkerboard pattern. (c) An AND gate can be represented using only NAND gates, but a NAND gate cannot be represented using only AND gates (a) True False (b) True False (c) True False C. Which of the following is/are correct? Circle your answers. (a) x XOR y = x' XNOR y' (b) x XOR y = x' XOR y' (c) x XOR y = x' XOR y (d) x XOR y = x XOR y' D. Convert the decimal number 109.625 to unsigned binary, hexadecimal, and octal (base 8). Clearly show your conversion steps.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

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

Page1 / 12

CS231_fa09_midterm1_solns - CS 231 Fall 2009 Midterm 1 CS...

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

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