Study Guide for Test 1 (24 Feb 2014) * 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. This will involve all the operators that were discussed in class. * 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) - bin (x) - bool (x) - chr (i) - eval (expr) - float (x) - hex (x) - input (prompt) - int (x) - len (s) - ord (c) - round () - str (x) - type (x) * You are responsible for these math functions: - math.ceil() - math.degrees() - math.factorial() - math.floor() - math.hypot() - math.sqrt() - math.radians() * You are responsible for these random functions: - random.randint (a, b) - random.random() - random.randrange (start, stop, step) - random.uniform (a, b) * You will have to write a full length program that will involve user input, computations involving operators and functions, conditionals, and output.