1. Tell whether each of the following tests will succeed if x is 1 and y is 2: a) x >= 1 b) x < 1 and x > 0 c) x < 2 or x > 5 d) x != y e) x == y - x f) y % 2 == 0 g) (y - 1) / x <= x / x h) x > y or x <= y and y == 2 * x i) x > y and x <= y or y == 2 * x j) not x > y and x == 1 2. Give code for each of the following situations. Variables and string literals are in quotes. a) When "age" is ten or under, print "Admission is half price". b) If "gender" is "female", "age" is at least 21, and "day" is "Tuesday", print "Welcome to ladies night". c) If "weight" is 1 or less, print "Postage is 39 cents." If "weight" is more than 1, print "Postage is 39 cents for the first ounce and 24 cents for each additional ounce". d) Expand part c to give a statement that will calculate and print the required postage. 3. Sketch a decision tree for finding the largest of four numbers.