In-class Examples List
CS 132
Introduction to Computer Science II
Spring 2003
Last modified: Tue May 6 15:41:16 PDT 2003
Important Note:
This is merely a selection of files and examples, most of which were
mentioned or used in the class. It is not a comprehensive
list, nor are all lectures and labs included. Formatting is generally minimal.
- Week 15, Lecture: 5-6-03 - Input/Output issues; example of
file input/output
- OutputPlay.java - despite the
the name, this has examples of interactive input and
file input in additional to interactive output and
file output.
- Week 11, Lab: 4-10-03 - review for Midterm #2, to be held
Thursday, April 17th from 12:00-1:50 in
Founders Hall 108.
- Week 11, Lecture: 4-8-03 - priority queues, heaps, heapsort
(some posted examples coming soon)
- Week 10, Lecture: 4-1-03 - talking about Recursion and Binary Trees,
(but talked about trees in general, not actually in code, yet)
- Week 8, Lab: 3-13-03 - talking about the Java String class,
comparing Objects for "equivalence" (use equals()!!),
and a
note about quick-n-sleazy input in BlueJ, among other things
- Week 8, Lecture: 3-11-03 - talking about Stacks and Queues
(course text: "Java Structures", Chapter 9, Linear Structures)
- Week 7, Lab, 3-6-03 - playing with exceptions, try-catch statements,
etc.
- Week 7, Lecture: 3-4-03 - talking about Lists (course text: "Java
Structures", Chapter 8, Lists)
- Week 6, Lab: 2-27-03
- Week 5, Lecture: 2-18-03
- Week 4, Lecture: 2-11-03
- Week 3, Lab: 2-6-03
- Week 3, Lecture: 2-4-03
- Week 2, Lab: 1-30-03
- example entry as a Scheme
struct
- example Entry as a Java
class
- Week 2, Lecture: 1-28-03
- Week 1, Lab: 1-23-03: function areaOfDisk() examples (pre-design-recipe!)
- ...in Scheme
- ...in C++
- ...in Java
(note: if you try to run this, remember that it needs
to be in a file named Playing.java, and that jpt.jar
and Base.jar need to be included in the User Libraries)
Back to Course Home Page
Please send questions to
st10@humboldt.edu .