Midterm 1 Review
Tom Kelliher, CS18
Mar. 6, 1996
-
Understanding of selection, repetition structures.
-
Operator precedence, associativity. Expression types and conversions
(casts). ``Safety'' of conversions.
- Primary operators: subscripting, function call.
- Unary operators (right).
- Multiplicative operators.
- Additive operators.
- Relational operators.
- Equality operators.
- Logical AND.
- Logical OR.
- Assignment (right).
-
- Signed int.
- Unsigned int.
- Signed long.
- Unsigned long.
- Float.
- Double.
- Long double.
-
Program life cycle: requirements specification, analysis, design.
-
Interpreting signed/unsigned binary numbers.
-
Attributes of identifiers: value, location, scope, visibility, lifetime
-
Functions. Return mechanisms. Reference/pointer parameters/variables.
Stack model. Box traces. How variables are stored in memory (scalar,
array).
-
Recursion: definition, requirements, programming.
Thomas P. Kelliher
Tue Mar 5 12:17:47 EST 1996
Tom Kelliher