CECS 277 FINAL EXAMINATION
Final Exam is on Wednesday, May 13, from 10:15 am - 12:15 pm in room ECS 308.
Final Exam Study Guide - recommended topics to review for the final study are shown below. You are responsible for the materials covered in the class and reading assignnents in the book.
- Chapter 11 -Input/Output Exception Handling
- checked exceptions
- unchecked exceptions
- Add a throws clause to a method thaat can throw a checked exception
- Throws an exception
- Catching exceptions
- finally clause
- Design your own exception
- Application: Handling Input Errors
- Review lab assignment 3
- Review lecture notes
- Threading - Review chapter 21 and the lecture notes in the class.
- Running threads
- Runnable interface - run
- Thread - start, join, sleep, yield, isAlive, setPriority
- Thread Pools
- ExcutorService
- newFixedThreadPool
- execute
- Terminating threads
- Race condition
- Synchronizing object access
- Avoiding deadlocks
- Condition
- await
- signalAll
- Review lab assignment 6 (problems 2 and 3) and lab assignment 7.
- Review lecture notes
- Chapter 20 - Streams and binary input/output
- Reader (Scanner) and Writer (PrinterWriter)
- Binary input and output
- InputStream (read) and OutputStream (write)
- Random access
- RandomAccessFile
- file pointer
- seek, length, readDouble, readInt, writeDouble, writeInt
- Object Streams
- ObjectOutputStream
- ObjectInputStream
- Serializable interface
- Review lab assignment 3
- GUI - Review chapter 19 and lecture notes in the class.
- JPanel
- Using Layout Mangers
- SetLayout
- FlowLayout, BorderLayout, GridLayout
- Processing text input
- JLabel, JText, JTextArea, JRadioButton, JCheckBox, JComboBox, and JList
- ButtonGroup
- Adding boder around the panel
- Event handler
- ActionListerner interface - actionPerformed
- ItemListener interface - itemStateChanged
- Font
- Font class and setFont
- FontMetrics class - getFontMetrics, getLeading, getAscent, getDescent, getHeight, and stringWidth
- GraphicsEnvironment.getLoclaGraphicalEnvironment, and getAvailableFonFamilyNames.
- Class JPanel for displaying text - paintComponent(Graphics g), and repaint
- Review lab assignment 8
- Review lecture notes
YOU CAN HAVE ONE 8 x 11 PAGE OF NOTE (ONE SIDE)