CPSC 121 Study Guide - Midterm Guide: Absorption Law, The Strongest, Logical Equivalence
lillyzuxian and 39077 others unlocked
38
CPSC 121 Full Course Notes
Verified Note
38 documents
Document Summary
Cpsc 121 :: 2011s :: midterm 1 :: 2011. 07. 06. [5 marks] average: 3. 8 (median: 4, mode: 5) part a. Group them into blocks of 4 starting on the right: 11 1010 1011 0100 0010 = 3 a b 4 2 part b. Take the last 4 digits of your student number (as a base 10 number) and convert it to binary. part c. [2 marks] Take the negation of the rst 4 digits of your student number (as a base 10 number), and convert it to a. [10 marks] average: 4. 2 (median: 4, mode: 4) part a. While drinking at moe"s tavern, professor frink admitted that he generated his bank card 4-digit pin randomly using only the digits 1 and 0. Give it as a rational (fraction) number in regular base 10. There are 4 bits, so 16 possible pins, you get 7 guesses, so 7/16. part b.