Session Details

Week 1, Session 1 — Mon Mar 4

Reading

  1. Bookmark this page
  2. Syllabus
  3. Skim materials available on ANGEL
  4. Install if not already installed: Java, Eclipse, Subclipse
  5. Configure Eclipse for Java
  6. Big Java Chapter 1 (just skim §1.1–1.2 and 1.6 (1.5 in ed3), read the rest)
  7. Big Java, §2.1–2.7

HW Due

  1. Nothing due today. See top of page for times that parts of the daily assignments are normally due.
  2. Lab assistant schedule (F-217)

Topics

  1. Brief course introduction
  2. Getting started with Java (printing, defining and calling static methods, declaring variables, looping, the summing loop pattern)
  3. Eclipse and Subclipse (running a program, checking out and committing a project)
  4. Javadoc comments
  5. Variables. Using and constructing objects. Calling methods, accessor and mutator methods.
  6. The String class
  7. Primitive Types
  8. UML Class Diagram for a single class

Resources

  1. Slides
  2. Python vs. Java features

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. [10 min] Version control review
  4. [5 min] Break
  5. [15 min] Checkout and run first Java program. HelloPrinter exercise in HW1 project.
  6. [15 min] Basic Java classes (Factorial example): printing, defining and calling static methods, declaring variables, looping, the summing loop pattern. Factorial exercise in HW1 project.
  7. [5 min] Javadoc comments, program style.
  8. [5] Identifiers and variables in Java
  9. [15] Using objects and methods, UML Class Diagrams. UsingStrings exercise in ObjectsAndMethods project.
  10. [5] Passing parameters, types. Exercise on String method calls.
  11. [10] Primitive types. SomeTypes exercise in ObjectsAndMethods project.
  12. [5] Constructing objects, accessor and mutator methods.
  13. [5] Break
  14. [25 min] Finish daily quiz, begin homework (finish Factorial and begin SeriesSum in HW1 project and StringPractice in ObjectsAndMethods project).

HW Assigned

  1. HW 1a
  2. HW 1b