CIS 3115
Modern Programming Techniques
Exam #1 Topic List
The Structure of the Exam
- The exam will consist of:
- 50%-60% multiple choice questions from the test bank
- 40%-50% of other questions
- For all topics, you should be able to trace, analyze, and write Java code.
- There may also be some short essay questions asking you to explain a concept, technique, etc.
- Some of these questions will be coming directly from the labs; others will be new material.
- You are only responsible for topics and material in the lecture notes and the CodeLab exercises / labs. The latter are a great way
for you to prepare yourself for the exam.
Topics
The exam covers Lectures 1-4. Here is a detailed breakdown of the topics
Classes
- Class definitions
- Behavior/state — instance variables and methods
- Encapsulaiton
- Constructors
- Default constructors
- Overloaded constructors
this and overloading constructor
- References, reference variables and types, primitive variables and type
- Data access —
public / private
- Instances/objects — creating, accessing
- Composition
- Delegation / leveraging
toString, equals, copy constructors, and read methods
- scoping rules
- Static (class) methods and variables
- Arrays of class objects
- Arrays as instance variables of classes
- Immutable and immutable classes
CodeLab, Labs
- Lab 01 (exercises and labs)
Test Banks of Questions