Midterm Logistics
- The midterm will be held Friday, March 3rd during
the regularly scheduled class period in EPS 103.
- You may bring one sheet of 8.5 by 11 notes. You may write on
both sides as big or as small as you like.
- The midterm will be designed to test your understanding (as
opposed to your memorization) of topics.
Major Topics
GUIs
- Event Handling: ActionListener, MouseListener, MouseMotionListener
(and appropriate adapter interfaces)
- Components: JFrame, JPanel
- Layout Managers: FlowLayout, BorderLayout, GridLayout
- Data Entry Components: JButton, JCheckBox, JRadioButton, JComboBox,
JTextField, JTextArea
- Menus: JMenuBar, JMenu, JMenuItem
Software Engineering Tools
- Javadoc: @author, @version, @param, @return, @throws
- Simple UML Diagrams
- Statement Counts
- Time Complexity
- General Testing Terminology and Ideas
Exceptions
File Input/Output
Sorting
- Selection
- Insertion
- Bubble
- Merge
- Quick
If you are having trouble visualizing the various sorts,
check out the link available from the 2/27 lecture notes.
Things to Review
- Lectures
- Textbook readings
- In labs
- Programming assignments
Types of Questions
- Look at code and explain what it does
- Take existing code and either fix it or provide
some additional functionality
- Write code to solve a small, well-defined problem on
any of the major topics described above
- Analyze code with respect to statement counts and time complexity
- Explain through pictures how a particular sorting algorithm works
- For a given problem, select an appropriate sorting routine and justify
its choice.
- Add Javadoc comments to provided code
- Draw a UML picture for provided code