Lab Syllabus


Lafayette College > Department of Computer Science > CS 102 > Labs

Current Lab - Lab 25 Next Lab - Java API Documentation (frames) (no frames) Java Conventions: style and naming
Lab Locations Lab Instructions Submission Policy Grading Policy
Textbook Java on your machine Academic Honesty How To Find Your Scores

WARNING: In order to get any credit, you must hand in the hypothesis section before you start the lab proper.


Lab Syllabus

Lab # Date Topic Reading
1 Aug 29/30 Introduction 1.1,1.2,1.3
2 Sep 3/4 Program Structure, simple output 1.4,1.5
3 Sep 5/6 Variables, Assignment and Output 2.1,2.2,2.3
4 Sep 10/11 Arithmetic Expressions 2.4
5 Sep 12/13 Classes/Methods 2.5,4.1
6 Sep 17/18 Input, Output, and Method Modifiers 8.1,8.2,8.3
7 Sep 19/20 Boolean Type/Conditional Statements 3.1,3.2,3.4
8 Sep 24/25 Repetition/Loops 3.6
9 Sep 26/27 Methods  
10 Oct 1/2 The String Class 2.2, 2.5, 4.6
11 Oct 3/4 More Strings  
12 Oct 10/11 More Loops  
13 Oct 15/16 Arrays 6.1, 6.2
14 Oct 17/18 For Loops 3.8
15 Oct 22/23 Random Number Generators 2.6
16 Oct 24/25 2-D Arrays  
17 Oct 29/30 Files  
18 Oct 31/Nov 1 Constructors/Inheritance 4.1,4.2,4.3,4.4,7.1
19 Nov 5/6 Error Detection and Correction  
20 Nov 7/8 Selection Sort 6.3
21 Nov 12/13 Creating Web Pages  
  Nov 14/15 LAB EXAM  
22 Nov 19/20 Sequential Search  
23 Nov 26/27 Binary Search  
24 Nov 28/29 Creating Java Applets  
25 Dec 3/4 More Applets  

Lab Locations

Here are the site hours and locations for this semester.


Getting Java

To install the JBuilder IDE on your machine, purchase a copy of JBuilder from Inprise (www.inprise.com) and then install it on your machine. We are currently using JBuilder 3.5

WARNING:Please make sure that you have the correct version of the IDE. Incompatibilities between versions may make it impossible to do the assigned labs.


Textbook

The required  textbook is:

Java Software Solutions, Foundations of Software Design, 2nd edition
Authors: John Lewis and William Loftus
Publisher: Addison Wesley
ISBN: 0-201-57164-1


Lab Instructions

Each lab assignment is broken down into 4 major components. Each lab may have all or only some of the components, e.g., Lab 1 has one component. The components are:

  1. Assigned Reading - these consist of sections of the textbook

  2. Hypothesis (a pre-lab to be done and handed in before the lab)

  3. Lab

  4. Post Lab or Conclusion/Analysis (to be done after the lab)

For each lab, the hypothesis must be completed before the lab. If a lab is submitted without the hypothesis, it will not be counted. We intend to make the labs available at least 2 days before they are due.

After a hypothesis is submitted, the system will send you (via e-mail) a password that will tell you where the associated lab assignment can be found. The password consists of the filename without the prefix. For example, if you submit the hypothesis for Lab 2 and the password returned is output, then the lab assignment for Lab 2 can be accessed by replacing the word hypothesis by output in the location i.e. the url now reads .../102/S2001/Labs/lab2/output.html instead of .../102/S2001/Labs/lab2/hypothesis.html.

This means that:


Submission Policy


Academic Honesty

All students are expected to adhere to the college policy on academic honesty as listed in the Student Handbook. Lab assignments and exams are to be done individually.


Grading Policy

There is no separate grade assigned for the lab part of the course. Instead, The lab is worth 25% of the grade in the whole course. The 25% is broken down as follows:


Finding Your Lab Scores

To find your lab scores, you have to know your ALIAS exactly, especially the case of the letters. You use the ALIAS to tell the browser (Netscape Navigator/Communicator) which file to look at. Up above in the little line on the top of this page, you should see the URL (specifying where this page is). It should look like this:

http://www.cs.lafayette.edu/~glennj/102/F2001/Labs/index.html

For Dr. Glenn's lab section, you need to replace the rest of the line after the Labs/ with your Scores/ALIAS.html. For example, if your ALIAS is Pumpkin, you would then set the line to look like:

http://www.cs.lafayette.edu/~glennj/102/F2001/Labs/Scores/Pumpkin.html

For Dr. Anderson's lab section, replace the rest of the line after www.cs.lafayette.edu/ with courses/intro/Labs/Scores/ALIAS.html. For example, if your ALIAS is Pumpkin, you would want to set the line to look like:

http://www.cs.lafayette.edu/~penny/courses/intro/Labs/Scores/Pumpkin.html

If you have problems, or can't find your score file, please see the instructor.