This is a course page of David Casperson |
|
Programming (and other) homework is to be submitted by e-mail to casper©unbc·ca. Homework questions are usually posed in class without a particular due date stated. However, eventually a due date will be attached to each question, and homework must be submitted by e-mail before the due date.
Homework should be submitted from your unbc e-mail account. Technical difficulties with unbc mail agents are reasonable excuses for late or lost assignments; technical diffulties with other mail agents are not; nor can you be certain that unbc software will not classify such mail as spam.
DavidCasperson-5-binaryPowering.smlthat is, first name then last name then an identification of the problem that it solves. Spaces in file names are acceptable, but please do not use other white space characters, slashes, multiple periods, non-ascii characters and the like.
.sml
extension; Scheme programs should have
a .scm
extension; Prolog
programs should have a
.pl
extension; and textual answers to questions should have
a
.txt
extension.
The line-ending convention is a matter of your convenience. I would prefer unix-style line endings, but dos/windows style line-endings or (old) Mac-style line endings are all acceptable, provided that the file consistently only uses one.
Commenting need not be verbose, but should exist. It is a very good practice to have internal comments identifying the author, course, assignment number and file name of the file in case the file becomes accidentally lost, mangled, renamed, or otherwise mishandled.
tar
red and
gzip
ped .tgz
files, but .zip
files and other archive formats that have
free Mac-friendly software for unpacking are allowed).
Archives that unpack into a relative directory are preferred.
Last year's class had many similar homework problems. It is your responsibility to inform me if you have consulted with members of last year's class or collaborated with your class-mates in finding solutions to homework exercises.
Fall 2010 | ||
2024-12 |
.jar
filesfall-2024