------------------------------------------ Test 1 (Feb 8) Review Topics and Questions ------------------------------------------ -Ian! D. Allen - idallen@idallen.ca - www.idallen.com See Also: week04notes.txt Test format: Short answers, calculations, multiple choice. Note: To help you check your answers during the test, I may give you the "sum of the digits" in the answer. For example, if the answer is supposed to be 1289 I may tell you that the "check" sum of digits is 20 (20=1+2+8+9, the sum of digits in 1289). If the sum of digits in your answer doesn't add up to the number I give you, your answer is wrong. Chapter 1 * Table 1.1 page 5: know the names and decimal and power-of-two values of all prefixes from Pico (10**-12, 2**-40) up to Tera (10**12, 2**40) * What is Cache, page 10. * Section 1.5.6: Moore's law page 27 * Know what is meant by "orders of magnitude" (powers of 10) * Questions p.36: 3, 5, 6, 7, 8, 21, 24 * Exercises p.37: 2, 3, 14 Chapter 2 * Conversion among all of decimal, binary, octal, hexadecimal. * Integers: unsigned, one's complement, two's complement, sign-magnitude - adding two's complement numbers (binary or hexadecimal) - no math will be done on sign-magnitude or one's complement * What causes the integer carry and overflow flags to be set in the ALU? * What CPU flag indicates that an unsigned integer addition is wrong? * What CPU flag indicates that a two's complement integer addition is wrong? * Add two numbers (in binary or hex) and give the Result, Carry, Overflow and state whether the Result is correct for signed vs. unsigned math. Convert the Result to decimal as signed and unsigned. * Questions p.93: 1-9, 12, 15 * Exercises p.94: 1-9 * There will be *NO* questions on floating point on this test. * Floating point, range, precision, etc. will be covered on the next test.