Last revised 5/30/03 at 2:45pm.
CSC 211 -- Final Exam Review Guide
The final exam is on Thursday, March 18.
You may bring your textbook and one page of notes (both sides).
You may bring a calculator if you wish.
Sections to Read, Skim, or Skip in the Textbook:
The sections listed are only those that were not recommended for the
midterm. You may want to reread some of the sections recommended for
the midterm if the material is covered again for the final.
| Section |   |
| 5.2 | Read |
| 5.3 | Read |
| 6.5 | Skim |
| 6.6 | Skim |
| 7.1 | Read |
| 7.2 | Read |
| 8.1 | Read |
| 8.2 | Read |
| 8.4 | Read |
Terms and Concepts
Constants (integer, floating point,
character, string, boolean), variable (name, value, address,
size, range), primitive datatype, operators (arithmetic, comparison,
logical, assignment, string concatenation), structured progamming
(sequence, repetition, decision), if, else, while, for, sentinel,
method (invocation vs. definition), static, argument, parameter,
return value, class, object, instance variable
method, constructor, accessor method (getter), mutator method (setter),
overloaded methods, equals method, local variable, current object (this),
array (name, index, value, length), applet, control, event, listener.
Java Reserved Words and Symbols
public, private, class, static, main, { }, ( ), int, double, char, boolean,
+, -, *, /, %, ==, !=, <, >, <=, >=, &&, ||, +=, -=,
*=, /=, %=, ++, --, if, else, while, for,
new, ., void, return, this, [ ], import, extends,
implements.
Predefined Classes
System.out (println, print), String (length, charAt, valueOf,
toLowerCase, toUpperCase, substring), Integer (parseInt),
Double (parseDouble), Math (sqrt, random), DecimalFormat (format),
StringTokenizer (nextToken),
Applet (setSize, init, add), ActionListener, interface
(actionPerformed).
Controls
TextField (addActionListener, getText, setText; Constructor
parameter is size of box in characters)
Label (Constructor parameter is string to display in label)
Button (addActionListener; Constructor parameter is string to display
on button)
Be Able To
- Answer multiple choice questions. Give a reason to support each
answer.
- Construct the program trace and predict the
output of a Java program. Traces could involve
static mathods, arrays, or objects.
- Use the predefined classes to create
objects and use their methods, both static
and object methods.
- Construct the UML diagram for a class,
write the class definition, and a main method
that will test it.
- Write a Java program that will solve a
problem. Be able to obtain inputs from these sources:
input dialog or textfield on an applet.
- Know the steps for placing and using controls on an applet.
- Know how to run Java from the DOS prompt.