Final Exam Topics
The final examination will be cumulative. Look at each of the
topic sheets for the other tests for a detailed list of topics.
Most of the test questions will be very similar to questions from
earlier tests or on concepts covered on earlier tests.
Topics covered since Test #3:
- Graphical User Interfaces in Java
- Java components (containers, frames, panels, buttons,
textareas, textfields, labels) - know the basic ideas for working with these;
know the difference between a frame and a panel, know what lightweight
and heavyweight containers are
- Events - know what an event is, know how your program can find out
which component triggered an event, know the connection between events
and listeners
- Listeners - know what a listener is, know what an ActionListener is,
know what method one must implement to implement an ActionListener,
know what one must do to set up a connection between a listener object
and a component.
- Dialog boxes - know what these are (you do not need to know
details here - for example you don't need to know the methods you use
for the dialog boxes)
- Know how to get the contents out of a textfield or textarea, know
what type that data is, know how to convert it to a numeric type (int
or double) if necessary, understand when it is necessary to do the
conversion, know how to put something into a textarea, textfield
or label (and know what type of data that must be).
- Know the basic ideas of designing classes (Section 6.2)
- Understand static variables and static methods (Section 6.3)
- Understand the various types of class dependencies (Section 6.4)
- Understand what the this reference is (page 310)
- Understand the equals method and be able to write an
equals method for a class.
- Know about character codes (Unicode and ASCII) and how we can
work with characters and their codes using casting.
- Be able to construct a circuit given the desired output of the
circuit (either given an input/output table or a description of the
output).