Study Guide for Test 1 (11 Jul 2011) * There will be conversions of decimal numbers into binary, octal, and hexadecimal and vice versa. * There will be conversions of negative numbers into 8-bit 2's complement numbers. * You will create truth tables for Boolean expressions that will involve Boolean operators not, and, or, xor. The Boolean expressions will involve just two Boolean variables (let us say A and B) and your truth tables will have all possible permutations of A and B. * You will define variables, i.e. write meaningful variable names and their values. * You will evaluate expressions given certain input values. * You will write Boolean expressions that evaluate to True given a set of conditions. * There will be questions on conditionals. You will either write conditional statements given a set of criteria or you will be given a conditional statements and a set of input values and you should be able to state what the result or output of those conditionals will be. * You are responsible for these built-in functions: - abs (x) - chr (i) - cmp (x, y) - float (x) - int (x) - long (x) - ord (c) - pow (x, y) - range ([start], stop [, step]) - str (object) * You will write the body of functions given a set of criteria. The functions will be similar in difficulty to the ones you did in Tutorial Exercises 2 and 3.