CS 241 Labs


Labs are programming exercises designed to give you both practical experience implementing the algorithms described in class and overall programming experience. Labs will be made available for download on this page as they are assigned.

For most labs, we will distribute some code along with the assignment to help you get started.

o Lab 1 ( postscript, pdf) --- Early submit on January 27, Due Date: Tuesday February 3

Don't forget to check the frequently asked questions if you are having trouble.

Lab 1 Cover Sheet
Java Provided Code (zip file with all Java code)
C++ Provided Code (zip file with all C++ code)

zip file with the data sets for n=4, 10, 25, 275, and 1000
Data set for n=4
Data set for n=10
Data set for n=25
Data set for n=275
Data set for n=1000
o Lab 2 ( postscript, pdf) --- Due on Tuesday February 17.

Lab 2 Cover Sheet

Java Provided Code (zip file with all Java code)
C++ Provided Code (zip file with all C++ code)

Test Data (zip file with test data)

o Lab 3 ( postscript, pdf) --- Early submit on Tuesday March 23, Due Date: Tuesday March 30

Helpful Java Code Fragments
Helpful C++ Code Fragments
Data Sets with a README (zip file)

Lab 3 Cover Sheet

o Lab 4 ( postscript, pdf) --- Early submit on Tuesday April 13, Due Date: Tuesday April 20.

Helpful Code Fragments
Zip file with provided Java drivers and GMT class
GMTtime.java
GraphTester.java
HeapTester.java
Terminal.java
Zip file with provided C++ drivers and GMT class
GMTtime.h
GMTtime.cc
GraphTester.cc
HeapTester.cc
Zip file with all data sets (including the full airline data)
Test Data for Part 2
Airport Data
Flight Data

Lab 4 Cover Sheet
Lab 4 Submission Guidelines

o Extra Credit Lab ( postscript, pdf) --- Due by May 10.

Zip file with Provided Java Code
Inventory.java -- an early version didn't pass in the paramater of 16 for the dictionary constructor. You can add that parameter, or save this version.
Record.java
GUI.java
SampleGUI.java
SampleIO.java
Terminal.java

part1-operations
part2-operations

Extra Credit Lab Cover Sheet

---->

o C++/Unix Resources

o Java Resources


Return to the CS241 Home Page