CS 102 Exam 3 Review Topics
Chapter 8 - Collections
- Introduction & Objectives - READ THEM
- Loops
- Know how to use do loops
- Know how to use while loops
- Know how to use for loops
- Arrays
- Know how to declare arrays
- Know how to initialize arrays
- Know the difference between arrays with primitive versus object elements
- Know how to access array elements
- Know how to use loops with arrays
- Know how to work with multidimensional arrays
- Know what heterogeneous arrays are
- Know how to use the length field
- Sorting
- Understand generally how a selection sort works
- Understand generally how a insertion sort works
- Understand generally how a quicksort works
- Vectors
- Understand the difference between vectors and arrays
- Understand how elements of a vector are accessed
- Know when to use a vector rather than an array
- Strings
- Understand what strings are
- Understand what it means that strings are immutable
- Know how to use the charAt and compareTo methods
- Understand how to use the valueOf method
- Understand the use of wrapper classes for conversion
- Know how to use the length method
- Hands On - Sortmeister.java - LOOK IT OVER
- Know how to fix the problem caused by the use of the deprecated method in Sortmeister.java
- Summary - READ IT
- Class References - SCAN AT MOST - you should have already read them
Chapter 9 - Exceptions
- Introduction & Objectives - READ THEM
- Exceptions
- Know what exceptions are
- Know the exception heirarchy and how Error relates
- Know several common exceptions and what causes them
- Know several methods in several classes which throw exceptions
- Handling Exceptions
- Know how to use the try and catch blocks
- Understand what exception propagation is
- Understand the difference between the throw statement and the throws clause
- Know what the NullPointerException is and what causes it
- Understand the purpose of the finally clause
- Your Very Own Exceptions
- Know how to define and use your own exceptions
- Hands On - OrderPlease.java - LOOK IT OVER
- Summary - READ IT
- Class References - SCAN AT MOST - you should have already read them
Chapter 10 - Input/Output
- Introduction & Objectives - READ THEM
- Streams
- Know the part of the streams heirarchy in your text
- Know common methods of the abstract InputStream and OutputSteam classes
- Know common methods of the DataInputStream and DataOutputStream classes
- File I/O
- Know common methods of the FileInputStream and FileOutputStream classes
- Understand the IOConsoleAndFile.java windows application (including I/O types) discussed in class
- Understand the readFrom and writeTo methods for class type I/O
- Understand the header method used with records in your text
- Advanced File I/O
- Understand the purpose of the File class
- Understand the types and uses of the FileDialog class
- Security, Applets, and Applications
- Know the four levels of protection in Java
- Know things an applet loaded from a web page is not normally allowed to do
- Know the differences between applets and windows applications and how to implement each
- Hands On - WordPro.java - LOOK IT OVER
- Summary - READ IT
- Class References - SCAN AT MOST - you should have already read them
Date page last modified and links checked: April 21, 2000
Contact for information or technical questions:
isaacson@fisher.unco.edu