CPSC 1302 - Computer Science 2 - Midterm Study Guide
Study Material
Chapters 7-9 of Java Software Solutions by Lewis & Loftus
Material from programming assignments, Video Notes, MyCodeMate, class discussions, and notes
CHAPTER EXERCISES!!!
Test Format (October 17, 2010 in CCT405)
Short Answer Questions (60 points) - evaluate, compute, write Java code, what is the output?
UML Diagram (10 points)
1 Programming Problem (30 points) that has at least one user-defined class and a main class
ACADEMIC OBJECTIVES
- Students will demonstrate the ability to read moderately complex programs written in a specific programming language and understand what these programs do
- Students will demonstrate the ability to design algorithms utilizing the principles of object-oriented programming (classes, encapsulation, inheritance mechanisms, polymorphism) to solve moderately complex problems
- Students will demonstrate the ability to write moderately complex programs in a specific programming language to implement these algorithms
- Students will demonstrate the ability to follow specified style guidelines in writing programs, and understand how the guidelines enhance readability and promote correctness in programs
Specifically Study
- Arrays
- Array Elements
- Declaring and Using Arrays
- Arrays of Objects
- Multidimensional Arrays
- ArrayLists
- Polygons and Polylines
- Mouse and Key Events
- Inheritance
- Creating Subclasses
- Overriding Methods
- Class Hierarchies
- Visibility
- Designing for Inheritance
- Component Class
- Extending Adapter Classes and Timer Class
- Polymorphism
- Late Binding
- Polymorphism via Inheritance
- Polymorphism via Interfaces
- Sorting
- Searching
- Designing for Polymorphism
- Event Processing
- File and Color Choosers
- Sliders