Exam Study Guide

General

This page contains some general review information for each of the three exams. For each exam there is a listing of the main labs that the exam will cover and a listing of the main topics of each lab. This page is meant to be used as reference for which topics you should study as you prepare for each exam. This is not meant to be a comprehensive reference of all you will need to know to complete each exam. Not all of topics listed for each exam will be the main focus of the exam.

Exam 1

Exam 1 focuses the topics in labs 1-4.

Lab 1

  • Use of Eclipse
  • Course policies. It might be good to review the test policies if you have not looked at these in a while
  • Printing to the command line
  • Escape Sequences

Lab 2

  • Scanner class and getting user input
  • Binary and binary conversion
  • Math operations in Java
  • Casting
  • The String class
  • Declaring and using objects
  • Calling methods and using return values

Lab 3

  • Writing classes, which includes the following
    • Declaring class variables
    • Writing a constructor
    • Writing methods
    • Visibility modifiers
  • Using classes of your own making
  • Familiarization with Java API type documentation

Lab 4

  • Boolean statements
  • If statements
  • loops (for and while)
  • Algorithm development

Exam 2

Exam 2 focuses the topics in labs 5-9.

Lab 5

  • Method overloading and multiple constructors
  • Interfaces

Lab 6

  • Arrays
  • File reading using the Scanner class

Lab 7/8

  • GUI basics, which includes the following topics
    • Creating and adding GUI components such as JLabels and JButtons
    • Using an ActionListener
    • Updating GUI components to reflect changes in program data
    • Using Image Icons
  • Dynamic data structures including ArrayList and linked lists

Lab 9

  • Recursion
  • Non-linear linked data structures (BST used in lab 8)

Exam 3

Exam 3 focuses the topics in labs 10-11.

Lab 10

  • Try-Catch statements
  • Error catching
  • File writing

Lab 11

  • Layout managers
  • Borders
  • Using the paintComponent() method
  • Inheritance, which includes the following subtopics
    • Abstract classes and methods
    • super
    • The protected visibility modifier
    • Placing variables and methods in an appropriate place in a class hierarchy
    • Using inheritance to minimize code duplication
  • UML diagrams
  • Polymorphism
  • Sorting
Designed by Andy Griffin