CMSC132 Midterm #1
Date: Tuesday, Jun 27, 2006
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 projects 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
- Exceptions Fundamentals
- Visibility Modifiers
- Inner Classes
- Anonymous Classes
- Program Testing
- Model View Controller
The exam will NOT cover the following topics::
Readings From Koffman/Wolfgang
You are not responsible for material from Koffman/Wolfgang 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.
Practice Material
- Practice Questions (Note: Keep in mind that
some questions cover material that is not part of the current midterm).
- Old Exams (Note: Keep
in mind that the material covered by the exam may not be the same material
we are covering this semester)
- Practice Problems
- From Koffman/Wolfgang
- Chapter 2 - Review Questions 1-6, Page 122
- Chapter 3 - Review Questions 1-9, Page 188
Web Accessibility