CSCI 201: Intro to Programming (Java)

Course Outline

Topics  Reading  Assignments  Labs
Introduction to computing  Chapter 1,4

   
Elementary Java Programming  Chapter 2

  Assignment 1   Lab 1
Selections
  • Algorithms, pseudocode, control structures
  • The if statement
  • The if..else statement
  • The switch statement
  • Programs designed in class
  Chapter 3

  Assignment 2   Lab 2
Loops
  • The while loops
  • Formulating algorithms
  • Nested loops
  • Essentials of counter-controlled loops
  • The for loops
  • The do..while loops
  • The break and continue statements
  • Logical operators
  • Programs designed in class
  Chapter 5

  Assignment 3   Lab 3
Recursion  Chapter 18

  Assignment 4   Lab 4


***** Midterm Exam I *****   Fri, Oct 20
Methods
  • Class Math
  • Method declarations
  • Java API packages
  • Random numbers
  • Scope of declarations
  • Method overloading
  • Programs designed in class
  Chapter 6

   

Arrays
  • Intro to arrays
  • Declaring and creating arrays
  • Passing arrays to methods
  • Multidimensional arrays
  • Command line arguments
  • Programs designed in class
  Chapters 7,8

  Assignment 5  


Sorting and searching of arrays  Chapters 23,25   Assignment 6  


Intro to classes and objects
  • Classes, objects, methods, and variables
  • Declaring classes and instantiating objects
  • Declaring a method with a parameter
  • Set and Get methods
  • Primitive vs. reference types
  • Constructors
  • Programs designed in class
  Chapter 9   Assignment 6  
***** Midterm Exam II *****   Sat, Nov 18
Intro to Object-based programming
  • Controlling access to methods
  • The this statement
  • Constructors
  • Notes on Set and Get methods
  • Garbage collection and method finalize
  • Final instance variables
  • Programs designed in class
  Chapters 10,11

   


GUI projects with Swing  online notes   Assignment 7   Lab 5


Lab 6


Lab 7
***** Final Exam *****   Wed, Dec 20,   10:00 - noon in SW1017

Extra credit assignment