CSCI 202: Object-Oriented Programming

Tentative Course Outline

Topics  Reading  Assignments  Labs
Getting started         
Review of classes and objects basics
  • Controlling access to methods
  • The this statement
  • Constructors
  • Garbage collection and method finalize
  • Static class members
  • Final instance variables
  • Package access
  • Programs designed in class
  Chapters 9,10   Assignment 1  
Intro to Swing 

online notes
   
Inheritance and polymorphism
  • An introduction to inheritance
  • Superclasses and subclasses
  • Protected members
  • Relations between super- and subclasses
  • Constructors in superclasses
  • Programs designed in class
  Chapter 11   Assignment 2  
Abstract classes and Interfaces   Chapter 13   Assignment 3  
Exception handling  Chapter 12   Assignment 4  
Files and streams
  • Introduction
  • Files and streams
  • Class File
  • Sequential access text files
  • Random access files
  • Working with JFileChooser
  • Programs designed in class
  Chapters 12,17  



 
Introduction to multithreading
  • Thread states: life cycle of a thread
  • Thread priorities and scheduling
  • Creating and executing threads
  • Thread synchronization
  • Multithreading with GUI
  • Programs designed in class
  Chapter 30   Assignment 5  
***** Midterm Exam I *****
Basics of C/C++  Chapters 2,3,7


p. 38 - 52
p. 56 - 60
p. 60 - 68
p. 78 - 93
p. 93 - 114
p. 264 - 279
p. 650 - 651
p. 290 - 310
  Assignment 6  


Structures  Chapter 4

p. 132 - 136
p. 136 - 139
p. 141 - 148
p. 148 - 153
   
Functions
  • Function declaration and definition
  • Passing arguments to functions
  • Returning values from functions
  • Overloaded functions
  • Inline functions
  • Programs designed in class
  Chapter 5

p. 162 - 167
p. 167 - 176
p. 176 - 182
p. 188 - 193
p. 195 - 197
 

 

Objects and classes
  • Defining and using the class
  • Constructors and destructors
  • Objects as function arguments
  • Returning objects from functions
  • Structures and classes
  • Static data class
  • Programs designed in class
  Chapter 6

p. 217 - 223
p. 227 - 233
p. 233 - 238
p. 240 - 243
p. 247 - 249
p. 249 - 255
  Assignment 7  
Operator overloading  Chapter 8

p. 320 - 328
p. 328 - 344
p. 344 - 357
 

 

Inheritance  Chapter 9

p. 373 - 380
p. 382 - 383
p. 388 - 393
p. 396 - 399
  Assignment 8  



***** Midterm Exam II *****
Pointers
  • Addresses and pointers
  • The address-of operator &
  • Pointers and arrays
  • Pointers and functions
  • Pointers and strings
  • Memory management: new and delete
  • Pointers to objects
  • Linked lists
  • Programs designed in class
  Chapter 10

p. 430 - 431
p. 431 - 440
p. 440 - 443
p. 443 - 452
p. 452 - 458
p. 458 - 464
p. 464 - 469
p. 469 - 473
  Assignment 9  



Templates and exceptions  Chapter 14

p. 682 - 690
p. 690 - 703
p. 703 - 712
   
The Standard Template Library
  • Introduction to the STL
  • Algorithms
  • Sequence containers
  • Iterators
  • Associative containers
  • Function objects
  • Programs designed in class
  Chapter 15

p. 726 - 735
p. 735 - 739
p. 743 - 751
p. 751 - 763
p. 771 - 778
p. 786 - 794
 

 
***** Final Exam *****