|
|
Outline of lectures held so far. html. Contains pdfs of ppt
slides and programs used in lectures.
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:
- 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.
- 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.
- Labs that are not completed by the next week, without a valid reason, will not be counted.
- 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. Creating objects, calling their methods, and writing subclasses pdf html
- Lab 03. Testing and static variables (two different topics). Since we did not cover testing last lecture, you won't understand much of this lab until after lecture 05. pdf html ThreeDimPoint.java
- Lab 04. Writing functions that deal with strings. Please study the parts through the discussion of equality and skim the functions that deal with strings BEFORE the lab. pdf html Methods.java
- Lab 05. Class Vector. An instance of class Vector contains a list of 0 more more other objects. We discuss introduce class Vector and ask you to do things with Vectors in order to learn about this important class. pdf html Lab05.java
- Lab 06. Writing recursive functions. pdf html Rec.java
- Lab 07. Abstract classes. pdf html DemoShapes.java Shape.java
Parallelogram.java Rhombus.java Square.java
- Lab 08. For-loops and assertions. This
lab deals with some paper-and-pencil exercises on ranges, assertions,
and for-loops. It also asks you to write four functions whose bodies
contain for-loops. 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 partial_solution.pdf
- Lab 11. Timing execution. pdf doc Sorting.java TestArrays.java
- Lab 12. Exception handling. This lab is optional. During the lab itself, you can work on it or on A7. The TAs and consultants will be there to help. pdf doc Lab12.java
First-day handouts.
|