{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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
Image of page 1

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

View Full Document Right Arrow Icon
CS 231 Fall 2009 – Midterm 1 Question 1: Multiple Choice & Short Answer (24 pts) 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).
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern