CSCE 155

Handout 21:  Final Exam Review

 

April 29, 2005

 

Exam 1 Topics

 


1.  Object-Oriented Programming and Software Development

·        Basic components of object-oriented programming

·        Classes and objects

·        Class and instance methods

·        Class and instance data values

·        Inheritance

·        Stages of the software life cycle: design, coding, testing, operation (maintenance)

 

2.  Simple Class

·       Data Abstraction

·       Object declaration, creation

·       Garbage collection

·        Message sending

·        Program components: comments, import statement, class declaration, method declaration

 

3.  Numerical Data

 

4.  Instantiable Class

 

5.  Selection

 

6.  Repetition


 

Exam 2 Topics

 


1.  Event-Driven Programming

·        Basic components of event-driven programming: event sources, listeners, handlers, and an interface that maps events to handlers.

·        Basic GUI objects

·        Types of events in Java

·        The concept of an Interface—abstract methods and implements.

 

2.  Exceptions and Assertions

·        Why use exceptions?

·        The try-catch block

·        “finally”

·        Types of exceptions including user-defined ones

·        Throwing exceptions, catching exceptions, propagating exceptions

·        Implicitly throwing exceptions, explicitly throwing exceptions, defining a new exception

 

3.  Arrays

 

4.  Search and Sorting



 

New Topics

 


1.  Inheritance and Polymorphism

·        Superclass and subclass

·        Member accessibility

·        Private, public, and protected

·        Constructors

·        Extending a class

·        Using classes effectively with polymorphism

·        Benefits of polymorphism

·        Syntax and how to use polymorphism correctly

 

2.  Recursion

·        Four components:  stopping condition, end case, recursive step, integration step

·        Call chain: winding and unwinding phases

·        Outside-to-inside decomposition

 

3.  History of Computing