CS 104
Computer Science II


Stonehill College       Computer Science       CS 104

barmove.gif (33725
          bytes)

Syllabus

Text: Java Programming: From the Ground Up

Java Programming: From The Ground Up


Objectives:


To learn


Course Outline (tentative):

    Week  Topic                                                        Reference       

 1.   Review of Objects and Classes:                                                 Chapters 9 and 10.

 2.   Object Oriented Design                                              Chapter 11
   
    A Poker Program

3.    Inheritance                                                                         Chapter 12.

          Inheritance and Encapsulation

The is-a Relationship: A DirectRemote is-a Remote

Inheritance Via Factoring: Movies and Plays

Inheritance Via Abstract Classes

Extending the Hierarchy

Upcasting and Downcasting

A Everything Inherits: The Object class

Interfaces

A Generic Sort

Composition and the has-a Relationship

 4.    Polymorphism                                                            Chapter 13.

Two Simple Forms of Polymorphism

Dynamic (or Late) Binding

Polymorphism Makes Programs Extensible

Interfaces and Polymorphism

Polymorphism and the Object Class

5.    More Java Classes                                                   Chapter 14.

The Wrapper Classes

Exceptions and Exception Handling

6.  Generics                                                                Chapter 16.

 Generics and ArrayList<E>

     6.  Graphics                                                                                                      Chapter 18.

Components and Containers

Abstract Windows Toolkit and Swing

 Windows and Frames

 Layout Managers

 Panels

 Some Basic Graphics

 Displaying an Image

 The repaint() method

8.    Midterm

9-10. Event Driven Programming                                           Chapter 19.

              The Delegation Event Model

 Component and JComponent

 Buttons

 Labels

 Text Fields

 Text Areas

 Dialog Boxes

 Mouse Events

 Check Boxes and Radio Buttons

 Menus

11-12.  Basic Data Structures                                    Chapter 16.

           Stacks

 Queues

                    Linked Lists

13.   Object Oriented Design Revisited                          Chapter 20.

            Poker Study Revisited with a GUI Player class



14.  The Java Collections Framework  (If time allows)                Chapter 17.

The Collection Hierarchy

The Set<E> Interface

                    Lists

                    Performance Issues and Choosing the Right Collection

 The for-each loop

 15.  Stream I/O and Random Access Files (If time allows)           Chapter 15.