Scott Grissom
School of Computing & Info Systems
Grand Valley State University
picture

Final Exam Study Guide

When and Where

Date: Saturday, April 21st
Time:  9:00 – 11:00 am (arrive by 8:50 am)
Location: basement of Manitou

Preparation

To best prepare for the final exam, review the following:

  • the textbook (Ch 1 – 7, parts of Ch 11) including all important terms
  • your class notes and group activities
  • quizzes and homework assignments
  • midterm exams
  • your code for the lab activities
  • your code from all projects (especially Project 3 for ArrayLists and Project 5)
  • the pratice problems
  • practice with javabat.com (String 2 and Array 2)

Objectives

The CS 162 final exam will allow you to demonstrate your ability to:

  • describe the state and behavior of an object
  • describe the differences between classes and objects
  • trace the execution of code that includes: while loops, for loops, for each loops (ArrayLists), do while loops, nested loops, if statements, nested if-else statements, switch statements, arithmetic calculations, method calls, parameter passing
  • complete a class definition that may include: instance variables, constructors, local variables, public methods, private methods, methods with and without return values
  • read and understand the Java API.  You will be given the API for one or more classes and asked to write code using the class methods.
  • write methods to manipulate arrays
  • use objects of type ArrayList, HashMap, String and Random to solve problems
  • write methods that use loops and conditional statements to solve problems
  • trace the execution of an event driven program
  • describe the differences between local variables and instance variables with respect to their scope and lifetime
  • invoke internal and external methods
  • describe the differences between public and private class members
  • describe the concepts of high cohesion and loose coupling
  • compare static members with instance members
  • describe the roll of the main ( ) method in a java application

Grading Criteria

  • notes and books are not permited
  • the final exam is worth 20% or your course grade
  • partial credit may be given for reasonable attempts. Never leave a question completly blank.
  • a passing average (60) on all exams is required to pass the course