CSC 160 Fall 2013 - Homework 2 (50 points)
Assigned Sept 11, due MONDAY Sept 16
Assignments submitted on Moodle with time stamps during
class time (Mon or Wed 4:15-5:30pm) will be given a grade of ZERO.
Assigned W 9/11
Textbook Reading (to review today's class):
Read Sections 1.7-1.10 of the textbook.
Required Exercises from the textbook on paper:
Do 1.7.2: Show the sequence of steps the Stepper would take in
evaluating the expression (beside (rotate-ccw
) (rotate-cw
) ) .
[Reminder: At each step (but the last), you need to underline the sub-expression that's about to
be replaced (i.e., the way Exercise 1.7.1 is done in the textbook).]
Do 1.8.3: Draw a box diagram
to prove that (rotate-cw
) is a legal expression.
Do 1.8.6: Start drawing a box diagram to try to prove
that
(rotate-cw 
is
a legal expression. Stop when you cannot draw any more
boxes, and say in a full sentence why it is not a legal expression.
Do 1.8.9a: Draw a box diagram around your
solution to HW1 exercise
1.5.2 to prove that it is a legal expression.
Textbook Reading (to prepare for next class):
Read Chapter 2 of the textbook.
Read this article:
"Want to learn the world's most powerful language?"
Required Forum #1 Postings:
Write a reaction (3 to 5 sentences) to
"Want to learn the world's most powerful language?"
Write a response (2 to 3 sentences) to someone else's reaction posting.
Submitting your Assignment
You are required to submit the Stepper and Box Diagram exercises (1.7.2,
1.8.3, 1.8.6, 1.8.9a) through Moodle or on paper in
class. Be sure to include your first and last name at the top of your
paper!
You are required to do the Forum #1 postings on Moodle under the Forum #1 link.
| GRADING |
| Question |
Point Value |
| 1.7.2 |
15 |
| 1.8.3 |
5 |
| 1.8.6 |
5 |
| 1.8.9a |
10 |
| Forum-Reaction |
10 |
| Forum-Response |
5 |
| Total |
50 |
Last Modified: 9/11/13