Computer Science 161 C
Exam #1 review
Disclaimer: I have attempted to be comprehensive in the following, but important
items may have been omitted by mistake. If you see such an omission, please let
me know, but you are responsible for all of the lecture material to date.
The first hour exam in CSci 161 C will be on Friday, September 22, and will
cover through section 3.11 in the textbook.
In particular, be able to
- Describe a computer, defining such terms as ALU,
Control Unit, CPU.
- Describe classes and objects, and say how they are related.
- Be able to define terms such as class, object, constructor, accessor,
mutator, formal parameters, actual parameters, etc. (anything we have
defined is fair game).
- Be able to describe the "divide and conquer" approach and give
definitions of coupling and cohesion.
- Be able to write simple class descriptions and simple method
descriptions (including constructors). As a part of these methods, be
able to write arithmetic expressions, if-then-else statements, and simple
printed output (System.out.println) using the basic data types we have
covered and other objects. Be comfortable using the new statement and
referring to object methods (lecture of 9/15/06).