Study Guide for Test 1 (30 Jun 2014)
* Test 1 will cover the material in chapters 1 through 4.
* 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 define variables, i.e. write meaningful variable names and
their values.
* 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 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 (if-else). 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)
- float (x)
- hex (x)
- int (x)
- oct (x)
- ord (c)
- pow (x, y)
- str (object)
* You will have to write a full length program that will
involve user input, computations, conditionals, loops
and output.