Session Details

Week 1, Session 1 — Tue Mar 4

Reading

  1. Syllabus
  2. Weiss Chapter 1

HW Due

  1. none

Topics

  1. Brief Course Introduction
  2. Introduction to "static" Java including program structure, main, import, integer types, constants, user input, exceptions, formatted output

Resources

  1. Slides
  2. Python vs. Java features
  3. Eclipse Project containing in-class examples
  4. Individual Java source files

Outline

  1. [30 min] Roll Call, Tour of online materials, a few words about the course. Hand out daily quiz
  2. [10 min] Configure Eclipse
  3. [20 min] Enter and run first Java program
  4. [5 min] Break
  5. [25 min] Java Overview -- Factorial 1-5; Program format, main, static method definition various integer types, formatted output
  6. [10 min] Factorial: Read input from user, exception handling, recursive version
  7. [5 min] Finish daily quiz and point out homework

HW Assigned

  1. Homework 1