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

Midterm 1 Study Guide

Preparation

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

  • the textbook (Ch 1 – 4.10) including all important terms
  • your class notes and group activities
  • quizzes and homework assignments
  • your code for the lab activities
  • your code from all projects
  • some of the relevant practice problems

Objectives

The midterm 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 each loops (ArrayLists), if statements, nested if-else statements, arithmetic calculations
  • complete a class definition that may include: instance variables, constructors, local variables, public methods, methods with and without return values
  • use objects of type ArrayList and String to solve problems
  • write or adapt code from Project 2
  • write methods that use conditional statements to solve problems. Refer to the practice problems for additional practice.
  • describe the differences between local variables and instance variables with respect to their scope and lifetime
  • invoke internal and external methods

Grading Criteria

  • notes and books are not permited
  • the first midterm exam is worth 10% 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