Final Exam Promises
(Exam Date: Wednesday, 25 Apr 2001,
19:00 - 21:50)
Logistics:
2 hour 50 minute exam
Closed book / closed notes
No cheating / no make-up exam
Responsible for:
material in overheads
concepts discussed in class
OO concepts from all three programming assignments
review topics from first two tests
material in first two tests
Format:
-
Eight (8) questions
-
No essays.
-
Questions in format of:
-
matching,
-
multiple choice,
-
tracing Java programs,
-
questions about Java programs, including fixes and what/if scenarios
(short answers ranging from one word to no more than a couple sentences)
Promises
-
Question 1: Matching. Terms include: inheritance, class, encapsulation,
polymorphism, garbage collection.
-
Question 2: Matching. Terms include: new, implements, marker
interface, super(), threads.
-
Question 3: Java code. MyInteger class from program 3.
Questions about cloning and what/if scenarios.
-
Question 4: Java code. Small inheritance hierarchy and a main().
Trace output of program.
-
Question 5: Multiple choice. Terms include: inheritance,
overriding, hiding, dynamic binding, polymorphism.
-
Question 6: Java code. Threads. Trace two possible outputs.
-
Question 7: Matching. Terms include: subtypes, interface,
abstract, has-a hierarchy, super.
-
Question 8: Java code. File I/O, StringTokenizer(). Fixes,
what/if, short answers.