 |
COMP 210: Principles of Computing and Programming
|
Homework Assignments
|
|
General Rules
Homework should be done in pairs: Work the problems. Cross check your
work. Hand in one copy of the solution.
All homework is due at the start of class on (usually) Mondays.
Homework will be handed in electronically so BE SURE
THAT BOTH TEAM MEMBERS' NAMES ARE TYPED AT THE TOP OF YOUR WORK!!
General Dropoff Site (from on-campus only!): ftp://comp210@www.exciton.cs.rice.edu/comp210/dropoff
File Naming Rules
Name your files with the concatenation of the team members' login names with
a dash in between, plus "-HXX.scm" at the end where XX is the two-digit
homework number.
Example: Mickey Mouse ("mmouse") works with Donald Duck ("dond")
work together on homework #6: mmouse-dond-H06.scm
If a homework requires more than one file, "zip" all the files together
using gzip or winzip and use the above naming convention, except that the extension
would be ".zip" instead of ".scm". Example: mmouse-dond-H11.zip
Failure to use the above naming convention may result
in lost files and lost points!
Be sure that the team members' names are INSIDE the files!
If you need to upload a another copy of your homework, add "A", "B",
etc to the end of the filename: e.g. mmouse-dond-H11A.zip
and then e-mail us (comp210@rice.edu)
so we know which file to grade.
Dropoff Instructions
- Dropoff is an FTP (File Transfer Protocol) upload and must be done from
on-campus or, equivalently, via a VPN (Virtual Private Networking) connection
from off-campus.
- Netscape (later than v. 4) cannot do an FTP upload!
Internet Explorer can however. Check if your version of Netscape has a File/Upload
menu option (missing in later versions).
- For advance instructions on using IE for FTPing, see
below.
- Instructions for using the command-line FTP from Unix:
- Start in the directory which contains your code. Be sure your file
is correctly named!
- Type ftp
and then Enter/Return.
This should produce the ftp prompt ftp>.
- Type open www.exciton.cs.rice.edu
- You will be prompted for a username (comp210)
and a password (given in class).
- Change to the dropoff directory by typing cd
comp210/dropoff
- Change to the appropriate homework directory by typing cd
hwXX where XX
is the two-digit homework number, e.g.
hw02.
- Change to the appropriate lab directory, cd
Wed1430 or cd
Wed1900 -- if the partners are in different labs, ask your labbies
which one to hand into.
- Upload the homework file by typing put
filename where filename
is the name of your file.
- Disconnect from the server by typing disconnect
- Quit the FTP program by typing quit
- If your FTP program supports it, all files must be transferred in binary
mode.
Homework Assignments
- Getting to know Scheme (soln)
- Conditionals and Structures (soln)
- Compound Data Structures-Lists (soln)
- More lists, Hand Evaluation, Natural Numbers, Accumlator
algorithms (soln)
- Family Trees and Lists of Lists (soln)
- Family Tree and Functions of Two Non-Trivial Inputs
(soln)
- local
and lambda (soln)
- Map, Fold and Visit (soln)
- TreeFractals
- Generative Recursion: Missionaries and Cannibals (soln)
- Final Project: Connect 5
Returned Homework
Homeworks are returned in lab.
If you don't get them there,
a day or two later they'll show up in Duncan 3142, on a shelf.
They'll only be kept for 1-2 weeks before being tossed.
If you have questions about a particular hw, contact the
labbies in your section.
In marking your papers,
your labbies might use some
standard proofreader marks.
FTPing with Internet Explorer
- IE should be at least version 6.
- A "Page Not Found" error is often returned when one first browses
to the FTP site. Just hit "Refresh" to get the login prompt.
- If you have been using IE to FTP to multiple sites with multiple logins,
there may be some problems:
- IE remembers all the logins and passwords that you have used.
- IE tries to use the last login and password that you used -- which may
not be the correct one.
- IE may not tell you that it is doing this and you will experience login
problems but no login prompt appears.
- Solution: When IE is pointed at the correct FTP URL, go to File/Login
As.... This will bring up the login prompt.
Questions about this site should be posted to the class newsgroup.