CS 1110 Introduction to Computing using Java    Spring 2010  
19972 TR 09:05 Hollister B14 Instructors: David Gries  
19974 TR 11:15 Hollister B14 Grade: letter or S/U.   Credits: 4
flue image

Handouts

Outline of lectures held so far. html. Contains pdfs of ppt slides and programs used in lectures.

First day handout

First day survey

Assignments. On the assignments page.

Labs. All recitation/sections are in the ACCEL lab, in the Engineering Library. We call them labs, and not recitations or discussions or sections.

Here is the grading policy on labs:

  1. You are expected to attend a lab session each week. You do not have to be formally registered in the lab you attend, but you should regularly attend the same lab. If you miss more than 3 labs (or don't do the assignment for 3 labs) without a reasonable excuse given to the Lab TA beforehand, we reserve the right to lower your grade a notch (e.g. from B to B-). We don't do this very often, but we reserve the right to do it.
  2. If you do not complete a lab the week on which it is handed out, complete it at home during the week and show it to your Lab TA the next week. TAs are instructed not to accept labs later than a week late unless you have received permission from your TA within 5 days of the actual due date. This means that you have to think ahead.
  3. Labs that are not completed by the next week, without a valid reason, will not be counted, unless as described in point 2.
  4. Please do not email the instructor(s) who to see or what to do if you missed a Lab. Communicate with your Lab TA.

  • Lab 01. Expressions, variables, declarations, and assignments. pdf   html
  • Lab 02. Objects and classes: practice creating and manipulating JFrame objects and write your first class definition.    pdf   html
  • Lab 03. Two topics: Testing and static variables.   pdf   html   ThreeDimPoint.java
  • Lab 04. Writing functions: pdf   html   Methods.java
  • Lab 05. Class Vector. An instance of class Vector can contain a list of objects, and the list can expand and shrink.  pdf    html    Lab05.java
  • Lab 06. Recursion. You will write at least 4 recursive functions.   pdf    html   Rec.java
  • Lab 07. Abstract classes and methods. pdf   html  DemoShapes.java  Shape.java  Parallelogram.java  Rhombus.java  Square.java
  • Lab 08. For-loops and assertions.   pdf    doc   Lab08.java
  • Lab 09. Reading files. pdf   html  LabReadingFiles.java  test.txt
    or get them all here: lab09reading.zip
  • Lab 10. Developing loops from specifications and invariants.   pdf   doc
  • Lab 11. Timing execution.  pdf  doc  Sorting.java    TestArrays.java
  • Lab 12. No assigned lab this week. The TAs and consultants will be in the lab to answer questions about prelim 3 and assignment A7.
  • Lab 13. Exception handling. Read the text (Chapter 10) before coming to lab, to make this lab easier. pdf   doc   Lab13.java
  • Lab 14. No lab this week. The TAs and consultants will be in the lab to answer questions about the final and assignment A7.

First-day handouts.

  • Course details doc    pdf