CMSC132 Midterm #1
Date: Friday, October 7, 2005
Time/Location: Carefully read
the following table to find the room and time associated with your exam. Note the new time and location!
| Section |
Time |
Room |
| 0101 and 0102 |
10:00 am -10:50 am |
CSI 1115 |
| 0201 and 0202 |
1:00 pm - 1:50 pm |
CSI 1115 |
| Honor Section |
2:00 pm - 2:50 pm |
CSI 2118 |
Exam Structure
- The exam will have a duration of 50 minutes.
- 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, etc.
- 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 exam will include all the material covered in discussion
session (lab), lecture, quizzes, and homeworks including the following topics:
- Software Life Cycle
- Software Development Problems
- Waterfall Model
- Unified Software Life Cycle
- Problem Specification
- Program Design
- Abstraction
- Encapsulation
- Object-Oriented Design
- Inheritance
- UML Diagrams
- Designing UML class diagrams
- Generating UML class diagrams for Java classes
- Specific Java Topics
- Definition and use of classes in inheritance relationships
- Defiinition and use of Java Interfaces
- ArrayList
- Comparable Interface
- Instance Variable initialization (both static and non-static)
- Initialization blocks
- References
- "this"
- "super"
- Collection class methods (those used for the projects)
- Iterator interface
- Enhanced for loop
- Enumerated types
- Autoboxing and Unboxing
- Swing (any swing code covered by class examples)
- Exceptions Fundamentals
- Garbage Collection
- Visibility Modifiers
- Method Overloading
- Packages
- Inner Classes
- Anonymous Classes
- Program Testing
- Model View Controller
- Events
- Swing (any swing code covered by class examples)
The exam will NOT cover the following topics::
Readings From Tymann/Schneider
You are not responsible for material from Tymann/Schneider that has
not been discussed in lecture and or lab, 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. Chapters
1, 2, 3, 4, 9, 10, and 12.
Practice Material
- Practice Questions
- Practice Problems
- From Tymann/Schneider
- Chapter 1 - Exercises 9, 10
- Chapter 2 - Exercises 2, 3, 4, 5, 6, 7, 8, 9, 15,
- Chapter 3 - Exercises 15, 21, 22, 24, 25
- Chapter 4 - Write an UML class diagram for the exercise 13
- Chapter 9- Exercises 4, 5, 9 (only build the data structure
using an ArrayList), 12, 13
- Chapter 10 - Exercise 4
- Chapter 12 - Exercise 5, 6, 7, 17