COMP 2804 Midterm: COMP 2804 Midterm Fall 2013
Document Summary
October 23, 2013: all questions must be answered on the scantron sheet, write your name and student number on the scantron sheet, you do not have to hand in this examination paper. Marking scheme: each of the 17 questions is worth 1 mark: newton: (x + y)n = pn k=0 (cid:0)n k(cid:1)xn kyk. 1: let a be a set of size 7 and let b be a set of size 13. 13! (a) (b) 13! (c) 13! (d) 13! 7: you are given 5 books and 7 bookshelves. How many ways are there to place these books on the shelves? (the order on the shelves matters. ) (a) (cid:0)7. 7: a password consists of 6 or 7 characters, each character being an uppercase letter or a low- ercase letter. A password must contain at least one uppercase letter. How many people are blond and have green eyes? (a) 3 (b) 4 (c) 5 (d) 9.