COSC1200 - Object Oriented Programming 1

All materials on this website ©copyright 2015 to present, of Clint MacDonald, BASc
NOTE: This website is a work in progress and will be updated periodically to correct mistakes, add additional material and practice exercises.  Please do not hesitate to email the author if you find any mistakes that need to be corrected.  Please include the URL of the page where changes need to occur.

Weekly Outline

Week Major Topics Deliverables

PREFACE
Software Installation
   
1 Introduction
Course Introduction Intro to Java, IDE, Style Guide, and Commenting Expectations
 
2 Java Concepts 1
Java Concepts
Java program structure - Variables and constants - Data types - Casting - Math - arithmetic operators - Strings - Basic input and output - Formatted output - Operators - Packages
Quiz 1
3 Version Control
GitHub - Other Version Control Tools - Use of GitHub with Java and the IDE
ICE 1
4 Control Structures
Java Concepts:
Control Structures - Relational expressions - Selection (if, switch) - Iteration (for, while, do) - Nested control structures
Assign 1
5 Arrays
Java Concepts:
Array initialization - Using arrays with iteration - Multi-dimensional arrays - Searching and sorting arrays
Quiz 2
6 Modularity
Function/Method definitions - Parameters - Return statements - Variable scope - Function calls - Overloading - Recursion
Assign 2
7 Classes
Classes and objects - Class definitions - Constructors - Instantiation - Static class members - Encapsulation - The java.util.Date and Calendar classes
ICE 2
Study Week
8 OOP Principles
Class inheritance - Abstract classes - Access specifiers - Polymorphism - Virtual functions
Assign 3
9 Exception Handling
Exception types - Try..Catch structure - Validation vs. exception handling
Quiz 3
10 Enums and Collections
Simple Data Structures - Enumerations - Interfaces
Collections - Lists - Stacks - Queues
ICE 3
11 File IO, HTTP Requests, JavaDocs
File Interaction in Java - File input/output - http requests as input - Javadoc
Assign 4
12 User Interfaces 1
User Interfaces in Java - Swing
Quiz 4
13 User Interfaces 2
User Interfaces Continued
ICE 4
14 Review and Wrap-up
Assign 5

Resources