Material and questions from the Java book for CS 5551 Exams


You will be responsible for all the material in the first six chapters of the Java book - in particular please review the "Questions and Exercises" sections of those chapters. For the programming exercises, I won't have you write a complete application, but you should be able to supply one-line or several-line solutions.

Note: the locations of the answers to the "Questions and Exercises" sections of the first six chapters are at a different location than that mentioned in the text - specifically, they can be accessed via the "Check your answers" link at the bottom of each set of questions/exercises:

  1. The web pages have migrated from the text, so that questions and answers are no longer online for Chapter 1, Getting Started with Swing.
  2. The questions for Chapter 2, Learning Swing with the NetBeans IDE is at: Chapter 2 Questions (skip Question 7 and the Exercise).
  3. Chapter 3 Questions (skip Questions 1. d.,e., and 5., and the Exercises)
  4. Chapter 4 Questions (skip Exercises 1. - 4.)
  5. Chapter 5 Questions (skip the second part of Question 3 and both Exercises)
  6. Chapter 6 Questions (skip Questions 2. and 3. and the Exercises. The answers are at: Chapter 6 Answers )
In addition, you will be responsible for the following selection
of material from the last four chapters of the Java book:

Chapter 7:
How to Use Buttons, Check Boxes, and Radio Buttons
How to Use Color Choosers - not on Midterm, but on Final
How to Make Dialogs - not on Midterm, but on Final
How to Use File Choosers - not on Midterm, but on Final
How to Make Frames
How to Use Labels 
How to Use Menus (and popups)
How to Use Panels
How to Use ScrollPanes
How to Use Separators
How to Use TabbedPanes
How to Use Toolbars - not on Midterm, but on Final
How to Use Tool Tips

Chapter 8:
How to Use BorderLayout
How to Use BoxLayout
How to Use CardLayout
How to Use FlowLayout
How to Use GridBagLayout - not covered -> skip
How to Use GridLayout
How to Use GroupLayout - not covered -> skip
How to Use SpringLayout - not covered -> skip

Chapter 9:
How to Use Actions - not on Midterm, but on Final
How to Support Assistive Technologies - not on Midterm, but on Final

Chapter 10:
How to Write an Action Listener
How to Write a Change Listener
How to Write an Item Listener
How to Write a Mouse Listener - not on Midterm, but on Final
How to Write a Mouse-Motion Listener - not on Midterm, but on Final
How to Write a Mouse-Wheel Listener - not on exam -> skip this
How to Write Property Change Listeners
How to Write Window Listeners

How to Use Drag and Drop & Data Transfer - not on Midterm, but on Final


Page URL: http://www.d.umn.edu /~ddunham/cs5551f12/examinfo/review.java.html
Page Author: Doug Dunham
Last Modified: Tuesday, 11-Dec-2012 18:13:31 CST
Comments to: ddunham@d.umn.edu