SI204 6-Week Exam Topics
Below is an outline of the main topics covered so far in the
course. It may help you in organizing your studies for the 6-Week
Exam.
-
Types and Expressions, including int, double, char,
bool and string; binary numbers and ASCII, implicit and
explicit conversion, expressions and their types and values,
operators and their meanings for different types, precedence
and associativity; variable declaration and assignment,
declaration with initialization; ++ and --.
-
Control structures, including blocks, variable scope,
boolean expressions, relational operators, and
- if and else and if-else
- while loops
- for loops
-
I/O
cin, cout and endl; role of types in cin/cout behaviour;
testing cin and cout in conditions; input from and output to
files.
-
Problem Solving
... this is kind of the big one. You need to be able to
reason about types, control structures, etc. and use them to
solve problems.
You will not be asked to write complete programs on the written
exam, but fragments of code that accomplish certain tasks are
fair game.
The most important thing is to thoroughly review the lecture notes,
homeworks and labs.
You will be provided with a copy of the ASCII and operator
precedence/associativity tables, so don't worry about having to
memorize them.
Christopher W Brown
Last modified: Thu Sep 23 09:44:12 EDT 2004