CMSC132 Midterm #2
Date: Tuesday, July 25, 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:
- Networking
- Networking fundamentals (e.g., sockets, URL, client/server model, HTTP)
- You do not need to memorize any Java Networking methods, just recognize
how to use them.
- Asymptotic Analysis (Big Oh)
- Regular Expressions
- Generics
- Recursion
- Sorting Algorithms
- Linear Data Structures
- Linked lists
- Stacks
- Queues
- Circular lists
- Maps
- Hashing
- Specific Java Topics
- You do not need to memorize any methods associated with the
interfaces/classes defined by the Java Collections Framework, however,
you should be familiar with the examples provided in class, and should
be able to use the classes during the implementation of a problem
solution. For example, how to use a HashMap to solve a
particular problem.
The exam will NOT cover the following topics::
- Any Swing methods associated with GUI design.
- Eclipse
- UML
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 of each chapter, since this will provide you with
a more complete understanding of the material.
Practice Material
- Practice Questions
- Old Exam (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
- Page 118, Exercise 1. of "Exercises for Section 2.8"
- Page 122, Question 9. of "Review Questions"
- Chapter 4
- Page 209, Problem 1. and 2. of "Exercises for Section
4.3" (PROGRAMMING Section)
- Page 221, Problems 3. and 4. of "Exercises for Section
4.4" (PROGRAMMING Section)
- Page 250, Problem 1. of "Exercises for Section 4.8"
(PROGRAMMING Section)
- Chapter 6
- Page 313, Exercise 2. of "Exercises for Section 6.2"
(SELF-CHECK Section)
- Chapter 7
- Page 355-356, Exercises 1. and 2. of "Exercises for
Section 7.1" (PROGRAMMING Section)
- Page 371, Exercises 1. and 2. of "Exercises for
Section 7.3" (PROGRAMMING Section)
- Page 376-377, Exercises 1., 2., 3. and 4. of "Exercises for
Section 7.4" (PROGRAMMING Section)
- Chapter 9
- Page 467, Exercises 2. and 3. of "Exercises for
Section 9.1" (SELF-CHECK Section)
- Page 511, Exercises 1. and 2. of "Review Questions"
- Chapter 10
- Page 521, Exercise 1. of "Exercises for Section 10.2"
(SELF-CHECK Section)
- Page 525, Exercise 1. of "Exercises for Section 10.3"
(SELF-CHECK Section)
- Page 554, Exercise 1. of "Exercises for Section 10.9"
(SELF-CHECK Section)
Web Accessibility