Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Com S 342 --- Principles of Programming Languages
HOMEWORK 0: GETTING STARTED
Due: problems 1-2 at beginning of class January 20, 2009.
In this homework, you will get around a bit on the Com S department
machines, send us vital information about your e-mail address.
For code hand in *both* your printout of the code and a transcript of testing;
handwritten code is *never* acceptable in this class unless the
problem specifically states otherwise.
The section headings below give the readings related to the problems.
COURSE GRADING POLICIES AND PROCEDURES (HANDOUT AND WEB PAGE)
1. (10 points)
You need to have an account in the computer science department,
where you can read and send e-mail.
From this account (just to prove you have it), send email to
cs342s@cs.iastate.edu with the subject
"HW0, my information"
Put in the body of the message the following
information: your family name, your given name, the last 4 digits
of your University ID number, your email address, and your local
phone number). (Your local phone number is optional; we won't let
anyone see it except the course staff, but it may help us contact
you.) The format should look like the following:
Family Name Given Name Last 4 of ID login Phone
Rajan, Hridesh, 9691, hridesh@cs.iastate.edu, 294-6168
(Including the commas will help us put this in a grading spreadsheet.)
We will use this information for grading reports, class lists,
and as a means to contact you.
After this information write a list of the languages that you have
programmed with previously. Use a format like the following
example, but change the list to match your actual experience.
I have programmed in: AspectJ, Awk, C, C++, FORTRAN,
Java, Lisp, lambda Prolog, Pascal, Perl, Ptolemy, Prolog,
SDL, Scheme, Smalltalk, IBM x86 language.
We will use your list to help us plan the course better, and to tie
the course material to your previous experience. Please omit any
language you would not feel comfortable programming in.
2. (28 points)
This problem is about the course directory and the course web site.
Type brief answers to the following questions, print, and hand them in.
a. On the computer science department Linux machines (which you can
reach by using ssh to pyrite from off campus), change to the directory
/home/course/cs342/public. What are the names of the directories in
/home/course/cs342/public?
b. In your favorite Web browser, bring up the web page for the course,
http://www.cs.iastate.edu/~cs342/index.shtml. From the a
"Contacting Us" page, what are the office hours for your
instructor?
c. Who is the teaching assistant, and what are his office hours?
d. Look at the "Grading Policies" page. How much is each test worth
as a percentage of your grade?
e. What percentage of your final grade is determined by homeworks? If
homeworks are worth so little, why should you do them?
f. Supposes 10 problems are due at the beginning of lecture on
Monday, and you have finished six of them. Should you wait until the
seventh is done to hand the other six in?
g. What is the penalty for handing in a homework problem by the next
lecture ?
h. How do extra credit problems fit into your final grade?
i. If you e-mail program code to a friend who turns it in, are you
cheating also?
j. Is it okay to work with someone else on a homework problem and turn
in a joint solution?
k. Is it okay to find a solution on the internet for a homework
problem and turn that in?
l. How is extra credit work used in grading a particular homework?
m. How should extra credit homework problems be turned in?
n. What's on the "Q & A" web page?
3. (suggested practice)
If you have time, start reading "The Little Schemer"!