Midterm 1 Review

Tom Kelliher, CS18

Mar. 6, 1996

  1. Understanding of selection, repetition structures.

  2. Operator precedence, associativity. Expression types and conversions (casts). ``Safety'' of conversions.
    1. Primary operators: subscripting, function call.
    2. Unary operators (right).
    3. Multiplicative operators.
    4. Additive operators.
    5. Relational operators.
    6. Equality operators.
    7. Logical AND.
    8. Logical OR.
    9. Assignment (right).

    1. Signed int.
    2. Unsigned int.
    3. Signed long.
    4. Unsigned long.
    5. Float.
    6. Double.
    7. Long double.

  3. Program life cycle: requirements specification, analysis, design.

  4. Interpreting signed/unsigned binary numbers.

  5. Attributes of identifiers: value, location, scope, visibility, lifetime

  6. Functions. Return mechanisms. Reference/pointer parameters/variables. Stack model. Box traces. How variables are stored in memory (scalar, array).

  7. Recursion: definition, requirements, programming.



Thomas P. Kelliher
Tue Mar 5 12:17:47 EST 1996
Tom Kelliher