Session Details
Week 1,
Session 1 — Mon Mar 4
Reading
-
Bookmark this page
-
Syllabus
-
Skim materials available on ANGEL
-
Install if not already installed: Java, Eclipse, Subclipse
-
Configure Eclipse for Java
-
Big Java Chapter 1 (just skim §1.1–1.2 and 1.6 (1.5 in ed3), read the rest)
-
Big Java, §2.1–2.7
HW Due
-
Nothing due today. See top of page for times that parts of the daily assignments are normally due.
-
Lab assistant schedule (F-217)
Topics
-
Brief course introduction
-
Getting started with Java (printing, defining and calling static methods, declaring variables, looping, the summing loop pattern)
-
Eclipse and Subclipse (running a program, checking out and committing a project)
-
Javadoc comments
-
Variables. Using and constructing objects. Calling methods, accessor and mutator methods.
-
The String class
-
Primitive Types
-
UML Class Diagram for a single class
Resources
-
Slides
-
Python vs. Java features
Outline
-
[30 min] Roll Call, Tour of online materials, a few words about the course. Hand out daily quiz
-
[10 min] Configure Eclipse
-
[10 min] Version control review
-
[5 min] Break
-
[15 min] Checkout and run first Java program. HelloPrinter exercise in HW1 project.
-
[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.
-
[5 min] Javadoc comments, program style.
-
[5] Identifiers and variables in Java
-
[15] Using objects and methods, UML Class Diagrams. UsingStrings exercise in ObjectsAndMethods project.
-
[5] Passing parameters, types. Exercise on String method calls.
-
[10] Primitive types. SomeTypes exercise in ObjectsAndMethods project.
-
[5] Constructing objects, accessor and mutator methods.
-
[5] Break
-
[25 min] Finish daily quiz, begin homework (finish Factorial and begin SeriesSum in HW1 project and StringPractice in ObjectsAndMethods project).
HW Assigned
-
HW 1a
-
HW 1b