The test with questions is here (very short), if any kind soul wants to help.
1. There are kn different assignments; there are k possibilities for the first variable, then for each of those valuations there are k possibilities for the second variable, etc. This assumes that the variables are distinguishable; that is, {x1 = 0, x2 = 1} =/= {x1 = 1, x2 = 0}.
2. There are 2n subsets, including the empty set. We can view each subset as a binary string of length n, where the nth binary digit denotes whether the nth element in the set is in the subset or not.
3. Half of the possible subsets contain a fixed element a, so 2n-1; to use the binary string reasoning from #2, it's all binary strings where the ath bit is 1.
4. We can create 22n set families. The set of set families is just the set of all subsets of the set of all subsets of the original set. Perhaps easier to read in pseudocode:
$set := a set with n elements
$subsets := all subsets of $set
set_families := all subsets of $subsets
5. The statements are different; a) says that no matter which element a we pick, there will be a set in F that contains it whereas b ) says that there is a set in F that holds every element a.
6. There are 2n+1 boolean functions with n variables. There are 2n possible inputs, and each input has two possible outputs.
7. log2 k bits. No motivation necessary.
8. k2 leaves; each right/left choice takes you one step away from the root and removes half of your remaining choices.
9. I don't completely understand this question; am I just supposed to write any linear inequality for which the boolean function is true? If so, then wouldn't 1*x1 >= 1 suffice? (False if x1 is 0, true if it's 1.) That sounds too easy, so I must have misunderstood the question.
10. I don't understand this either; what exactly is meant by characterize here? If I'm just supposed to explain what quadratic functions fulfill the conditions, then it's those where c = 0 (since q(0) = 0) and a + b = 1.
11. I don't understand this question completely either, but if I'm just supposed to explain my strategy then I would choose my xs such that if pi is the largest of all the ps, then xi = 1, otherwise xi = 0. Since we the sum of my factors can't exceed 1, wasting any part of that 1 on an element that's smaller than the maximum p will result in a value that's less than the maximum p.