Final Exam
Date: Friday, Aug 5, 2005
Time: 8:50am-10:50am
Location: Lecture classroom
Exam Structure:
- The exam will take 2 hours.
- The exam will be closed book/closed notebooks. No calculators are
allowed. (We recommend using a pencil and eraser, rather than a
pen.)
- Format:
- Short answer questions: This includes for example,
multiple choice, True/False and fill-in-the-blank type
questions.
- Code analysis questions: We will give a short segment
of code and you may be asked to identify syntax and logical
errors, generate code output, or to produce a memory map.
- Code Writing: Write a program/code snippets to solve a
few given problems. (You should be prepared to give a complete
program, including full class heading, import, package statement,
and main methods, but we may also ask you to provide just a single
method or a code fragment.)
Topics:
The final exam will include all the material covered in discussion
session, lecture, quizzes, and homeworks including all topics covered in
the first two midterms (see
Midterm 1 Topics,
and
Midterm 2 Topics) and the following topics:
- one and two dimensional arrays (of both primitive types and of
objects) and their initialization
- packages
- bitwise operators
- conditional operator
- exceptions
- try-catch blocks
- inheritance ("extends")
- "super"
- "this "(as a pointer, and as a method call to call an alternative
constructor)
- overriding, overloading, shadowing, late-binding
- polymorphism
- getClass and instanceof
- abstract classes
- access specifiers ("public", "protected", "private", and "default")
- other modifiers ("final", "static")
- interfaces ("implements") and multiple inheritance
- Sorting
- "Big-Oh" Notation
- Java library classes/interfaces:
- Object (java.lang)
- Math (java.lang)
- ArrayList (java.util)
- StringBuffer (java.lang)
- Iterator (Interface: java.util)
- Comparable (Interface: java.lang)
Note that the exam will NOT cover the following topics::
Reading in Lewis and Loftus
You are not responsible for material from Lewis and Loftus that has
not been discussed in lecture, but it is a good idea to review this
material and the exercises in the back of each chapter, since this will
provide you with a more complete understanding of the material.
Web Accessibility