CS201 – Spring 2001
Prof. Hartman
Test 1 information
Test 1 will be Friday, February 23rd. It
will take the entire class period. You will need to know about the following
topics:
- Data
types: int, char, float, double
and how the arithmetic operators work on them. What is the result of the
declarations
int i=4;
double x=9/i;
- Relational
operators ==, !=, <, >,
<=, >=, !, &&, ||
- Control
structures: if if/else while
do/while switch for
- Functions:
prototypes, parameters, etc.
- Scope
of variables
- Recursion
- References:
pass by value, pass by reference
- Algorithms:
You will need to write (short) segments of code on the test. They need to
be clear, concise, and understandable.
Suggestions for Reviewing
When reviewing for the test, I suggest the following:
- Look at past assignments and sample
tests. What did you get wrong? Why? Would you get it right now? Make use
of any relevant handouts (see the course web page).
- Make use of the Summary,
Terminology, and Self-Review sections at the end of each chapter. Summary
gives a concise list of the major points covered in the chapter.
Terminology lists terms you should be familiar with. Self-Review has a
number of exercises with answers given.
- If there are any questions
about the test or problems with the course material, bring them up in
class or see me outside of class.
- Remember: in order to do well
on a test, you not only need to know the material; you must also be able to
put what you know down on paper clearly, concisely, and in a reasonable
amount of time. Just reading a book is not sufficient preparation for any
test, so try working some problems and see how well you do.