Test 1 Review Information
Test 1 is on Thursday (9/30) in class. It will be closed book and notes, except you will be allowed to bring one sheet of paper (8.5" x 11") with notes on both sides.
Below are the hightlights of each chapter:
Chapter 1:
Topics:
General understanding of the computer hardware, i.e., the components and their general role
Programming process: Design program, type program in editor, compiler, debug
Chapter 2:
Topics:
variable and assignment statements, arithmetic operation precedence, "if" statement, flow-control diagrams
Skills:
Be able to evaluate C arithmetic expressions to determine the correct value
Be able to translate a mathematical formula into the corresponding C arithmetic expression
Be able to write "if" statements to select sections of code to execute
Chapter 3:
Topics:
algorithm, pseudocode, "if-else" statement, iteration/looping, "while" statement, counter-controlled repetition, sentinel-controlled repetition, floating point variables
Skills:
Be able to trace code containing "if-else" and "while" statements to determine the output proceduced by a program.
Be able to write code containing "if-else" and "while" statements to produce the desired output.
Chapter 4:
Topics:
"for" statement, "do-while" statement, "switch" statement, "break" statement, "continue" statement, logical operators (&&, ||, !)
Skills:
Be able to use logical operators when writing "complex" if-conditions.
Be able to trace code containing "for", "do-while", "switch", and "continue" statements to determine the output proceduced by a program.
Be able to write code containing "for", "do-while", "switch", and "continue" statements to produce the desired output.
Be able to debug common syntax problems with C statements.
Be able to debug logic problems within C programs.