Some Comments re Quiz 7:


NOTE:  Other than video questions, the quiz will deal with GUIs, applets, and event-driven programming.  You may be asked to write some code re one of these (similar to examples we studied and things on the labs and project), but if so, you will be given a sheet containing the methods available in the Swing classes needed.


MAIN POINTS TO KNOW FROM THE HANDOUTS:

Intro. to GUIs

-- Key terms: GUI; AWT; widget; Swing

-- How to use JOptionPane to create input and message dialogs (see note above)

Intro. to Java Applet Programs

-- Key terms:  window/frame; content pane; getContentPane(); layout manager; applet

-- Be able to describe the layout produced by the three layout managers we studied -- flow, grid, border

-- How applets differ from applications

-- Know how to do graphics on GUIs/applets (ala. GUI Project 1):  i.e., how to create a "canvas" on which to paint and then how to use paintComponent(Graphics pen)to paint on it

Intro. to Event-Driven Programs

-- Key terms:  event source; event listener

-- How to create a listener for an event source:  Implement ActionListener

-- How to register a listener with an event source:   source.addActionListener(this);

--How a listener responds to an event that was fired:  Override the actionPerformed(ActionEvent event) method
Note:  event.getSource() returns the source of an event (as an Object)



FROM THE TEXT::

Quick Quizzes 1.3(#1-9), 2.5, and 7.5 look like they have some useful information.

 

SOME COMMENTS ABOUT THE VIDEO The Thinking Machine:

Questions will be taken from list on the handout starting with the Turing Test  up to (but not including) the questions about Doug Lenat.