Final Exam
Date: Monday, Jan 24, 2005
Time: 12:00 pm - 2:00 pm
Location: Usual 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
midterm. In addition the following topics are part of the final exam
material.
- 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
- 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::
Practice Material:
We will not post old exams, however, we have provided the following practice
questions (Review Questions). The code
associated with this questions is available in the file
FinalPractice-Snippets.jar .
Web Accessibility