CS 100x Homework -- What to turn in
HW Instructions
We will be submitting all homework assignments electronically.
For each homework problem that requires programming,
create a separate file called
something.java
where something is the file name given in the homework assignment.
You may be asked to show
your work by creating a transcript file called
something.txt.
To actually turn in your work, execute the shell script in
/cs/bin/turnin
and give submit, class, project, and the files you want
to submit as arguments.
Continuing with our example, you should type
/cs/bin/turnin submit cs100x hw1 Rainfall.java
to turn in the first problem.
Or turn in more than one problem at a time,
if you like.
Each file you turn in should include the following information:
- Name,
- Course and section,
- Collaborators and other sources of information,
- Assignment and problem number,
- Description of algorithm and inputs (if appropriate).
Collaboration
As stated previously, you are allowed to collaborate on homework
assignments,
but each student must turnin his/her own homework.
Making Transcripts
Some of the problems require a transcript to demonstrate that your
solutions work as claimed.
To begin making a transcript, type
script to the shell prompt; to stop it
type exit.
This creates a file named "transcript" in the current working directory.
For example, suppose we make a transcript of a Java program compiling
and running,
% script
Script started, file is typescript
% javac HelloWorld.java
% java HelloWorld
Hello, world
% exit
exit
Script done, file is typescript
We can view the resulting transcript via
% ls
HelloWorld.class HelloWorld.java typescript
% more typescript
Script started on Fri Aug 13 16:07:06 1999
% javac HelloWorld.java
% java HelloWorld
Hello, world
% exit
exit
script done on Fri Aug 13 16:07:38 1999
%
CS 100x Home Page
WPI CS Home Page
WPI Home Page
CS 100x Staff
(cs100x_ta@cs.wpi.edu)
©1999 Michael A. Gennert