This website is preserved for historical and scholarly reference and is no longer actively maintained.


EXTRA CREDIT PROBLEM
Problem 23 on page 139 may be submitted for extra credit. This problem
must be worked individually and submitted to the digital drop box by class time on Friday, Dec. 3, to receive credit.
ASSIGNMENT FOR Friday, Dec. 3
Problem 9 on page 131 to be done individually. Hint: can you use
an instruction we defined in Chapter 4? Place in digital drop box
before the beginning of class on Friday.
ASSIGNMENT FOR Wednesday, Dec. 1
Problem 18 on pages 136-137 to be done individually. Place in digital
drop box before the beginning of class on Wednesday.
ASSIGNMENT FOR Friday, Nov. 19
Turn in problem 4 from chapter 5 (pages 128-129) before the
beginning of class (to digital drop box). Test your program
in at least six situations (no beepers in pile -- zero is
not odd, so it is even, 1, 2, 3, 10, and 11 beepers in pile)
Use the WHILE-DO construction.
ASSIGNMENT FOR Wednesday, Nov. 17
Turn in your reflection on the writing assignment on e-voting. Place
your reflection in the digital drop box BEFORE class on Wednesday,
Nov. 17. (If you need to refresh your memory, instructions were
given in the assignment for August 27.) You might want to write
about learning that took place during this assignment (about how
to write a paper or about the problems you encountered). Do not
rehash your paper, but do write about any change any attitudes
that resulted, either in your attitude toward voting in general
or in your understanding of e-voting.
Be sure to include your
attitude toward this particular assignment. Did you like/dislike
doing this paper? Why?
Not accepted late.
ASSIGNMENT FOR Monday, Nov. 15
GROUP ASSIGNMENT
Write a definition for a new instruction, leave-2-beepers, which leaves two
Beepers on the corner Karel is on. Karel remains on the corner with the two beepers. Assume that there are at most two beepers originally on the corner. (That is, there may be zero, one, or two beepers originally on the corner.
Your main program (the code after BEGINNING-OF-EXECUTION) should test the code of defined instruction leave-2-beepers in every possible situation. Your code in the main program should contain a comment for each test case, as in
// Test leave-2-beepers when originally no beepers on corner
Turn in one copy of the program for each group. Begin work on program in class and turn in final project to drop box before class on Monday.
ANYONE WHO WAS NOT IN CLASS MUST DO THIS AS AN INDIVIDUAL ASSIGNMENT>
INDIVIDUAL ASSIGNMENT
Turn in your reflection for chapter 4. Place your solution
in the digital drop box BEFORE class on Monday, Nov. 15.
(If you need to refresh your memory, instructions were given
in the assignment for August 27.) Not accepted late.
Begin reading Chapter 5.
ASSIGNMENT FOR FRIDAY, Nov. 12
Turn in a solution for problem 12 on page 91. Place your
solution in the digital drop box BEFORE class on Friday, Nov. 12.
Turn in an entire program. Not accepted late.
ASSIGNMENT FOR WEDNESDAY, Nov. 10
Turn in a solution for problem 9 on page 89. Place your solution
in the digital drop box BEFORE class on Wednesday, Nov. 10.
Turn in an entire program that calls the instruction
follow-wall-right. Not accepted late.
ASSIGNMENT FOR MONDAY, Nov. 8
Turn in a solution to problem 4 on page 87. Place your solution in
the digital drop box BEFORE CLASS on Monday, Nov. 6. Your solution
should be an entire program that calls the new instruction,
find-next-direction. In the
METHOD section of the program describe the different worlds
that should be used to test the program. Not accepted late.
ASSIGNMENT FOR FRIDAY, Nov. 5
Turn in a solution to problem 3 on page 87. Place your solution in the
digital drop box BEFORE CLASS on Friday, Nov. 5. Your solution should
be an entire program that calls the new instruction,
find-next-direction. In the METHOD section of the program describe
the different worlds that should be used to test your program.
Because this program will be discussed in class on Friday, this
assignment will not be accepted late.
DRAFT of Writing Assignment
You are to write a paper on electronic voting that states a thesis
and argues in favor of that thesis. You should include information
from at least the references you have found and reported on. You
may also include other references. If you find that one or more
of your references is not helpful, you may substitute another reference
from the same category (academic computer sciencist, Australia, or
IEEE/ACM). You must include and cite references from at least
these three catagories. Your "work cited" section must include all
references used.
Other requirements:
(1) The finished paper shall be at least 2.5 pages in length.
It is preferred that papers be no longer than 3 pages.
(2) Margins shall be no greater than 1 inch.
Type size: 14 pt. Times or Times New Roman
Single space within paragraphs
Double space between paragraphs
(3) You may take your work to the Writing Center as often as you wish.
(4) You must take your complete (and, hopefully, finished) paper to
the Writing Center before submitting it.
(5) The finished paper will not be accepted until checked off by the
Writing Center.
(6) The finished paper should be deposited in the digital drop box.
(7) Late penalty of 10 points per day (weekday when classes are in
session) will be assessed until both (5) and (6) completed.
Note that (5) must be completed before doing (6).
Total points for this assignment is 100 (10 points each for three
references and 70 points for the paper itself). Remember that your homework
assignments have been 10 points each and consider how important this
paper is to your grade. All reference homeworks (10 pts. each)
must be received before Saturday, October 30, to receive credit.
This paper will be graded for mechanics (citing references correctly,
organization, grammar, spelling, etc.), choice of thesis
(thesis which can be reasonably defended using your citations),
and logical presentation (how
well you make the case for your thesis).
Assignment for Friday, October 22
Turn in problem 1 on page 87. The problem must be
part of a working test program and placed in the
digital dropbox by class time. When you write the
first solution (without using face-north), name it
problem 1a. When you write the face-south instruction
that uses face-north, name this problem solution 1b.
Assignment for Wednesday, October 20
Find a third article on electronic voting.
This article should be an opinion published
in either the IEEE or ACM. (You can Google on these to find
articles.) Place in drop box by class time on Wednesday.
Use requirements listed below.
Assignment for Monday, October 18
Find an article on electronic voting in Australia and write a brief
(one half to one page) report on this article, contrasting the
Australian system with the U.S. system. One such article is
"Electronic Voting: Benefits and Risks" by Russell G. Smith, April 2002,
in the Australian Institute of Criminology. You can find other papers
using Google and searching on
+"electronic voting" +Australia
You may not use newspaper reports or web reports such as you find
at www.wired. ... You are looking for reports that have more substance
(that is, more depth) than the reports usually found in newspapers
and on news web sites. Write your report as described below.
Reports are due in the drop box by class time on Monday.
Assignment for Friday, October 15
Find an article on electronic voting by an academic computer scientist and
write a brief (one half to one page) report on this article.
Two well-known academic computer professionals who have published
widely on the subject of electronic voting are:
Rebecca Mercuri
Aviel Rubin
You are not restricted to the writing by these two
sciencists. The requirement of "academic computer scientist"
is that the person have a Ph.D. You may use an article
or (if you find one) testimony to a Congressional committee.
Your report must have:
Your name
Date submitted
Topic: Review of opinion on electronic voting by (and fill in
the name of the scientist.
Complete description of paper found, including web URL,
list of all authors, title of paper, where it appeared if it
also appeared in a journal, and any other information given
on the title page. (Ask your English teacher or me if in doubt.)
One-half to one page about what you learned from this paper
and other information that you will use to write a final
report.
If you intend to quote from this article, put what you intend
to quote in quotation marks, as you would use it. DO
NOT TURN
IN THE ENTIRE PAPER.
Drop your report in the digital drop box before class time
on Friday.
Assignment for Wednesday, October 13
Using our standard instructions, write your reflection on
chapter 3 and drop it in the dropbox before class on Wednesday.
Assignment for Monday, October 11
Submit solution for problem 6 on pages 60-61. Analyzing this
problem includes designing appropriate (and useful) instruction
definitions. This problem requires lots of thinking before
any writing. Previous instructions for how to cite and
turn in problems apply. Please use initial position (A1,S3)
with Karel facing East.
Assignment for Friday, October 8
Submit solutions for problem 5 on page 60 and problem 9 on page 62.
Use appropriate instruction definitions and follow previous
instructions for how to cite and turn in problems.
Assignment for Wednesday, October 6
Submit solutions for problem 2 on page 59 and problem 10 on page 63.
Both problems should make appropriate use of definitions. (Definitions make
programs easier to read and easier to write.) It is expected that your
solution will include instruction definitions not previously used
in class. Each person should submit their solutions before the
beginning of class on Wednesday, being careful to cite any help
received. Do NOT use WinRAR.
Assignment for Monday, October 4
Submit solution for problem 4 on page 60 to the digital dropbox.
You are expected to use
appropriate instruction definitions. Each person should submit
their own solution before the beginning of class on Monday,
being careful to cite any help received. Do NOT use WinRAR.
Assignment for Friday, September 24
Submit your reflection on Chapter 2. Remember that a reflection is about
what you think, not what you did. Check out previous instructions for
reflections.
Assignments for Monday, September 20, and Wednesday, September 22
Problem set 2 on pages 19-24. Problems 1 - 5 are due on Monday,
September 20 by the beginning of class. These are to be turned in
to the digital drop box or hard copies brought to class. Problems
6 - 9 are due on Wednesday, September 22 by the beginning of class.
These MUST be submitted to the digital drop box. Full credit will
not be given unless instructions are followed.
Special Instructions:
Problem 1: Using the program on page 20 as a starting point, write a
correctly documented Karel program that correctly completes the task.
Comment out any errors in the original program. Include comments to
indicate any additions to the given program. You are now able to test
your program for correctness. (Do not submit a world file for this
problem.)
Problems 2, 3: In a Word document answer questions 2 and 3 carefully
and fully.
Problems 4, 5, 6, 7, 8, 9: Using the program template, write
a correctly documented Karel program that correctly computes the stated
task. In problem 9, assume Karel is initially at (A5,S3), facing North,
and that Karel returns to his initial position. Submit a separate file
for each problem to the digital drop box. Be sure to include name, date,
problem id, precondition, method, postcondition, etc., for each problem.
Assignment for Monday, September 6
We will finish discussing Chapter 1 in class on Friday. Please write a
reflection on Chapter 1 and bring it to class with you on Monday.
Remember that a reflection is where you are talking to yourself --
not what you did, but your thinking about what you did.
Also, read pages 7-18 of Chapter 2.
Assignment for Friday, August 27
Bring to class a typed reflection on your experience of trying to program a
robot to reach a destination. This should be 3/4 page to a page in length.
Single space within paragraphs and double space between paragraphs.
Use Times or Times New Roman font and 14 pt. size.
If you joined the class after the group project, you may write a paper on
who you are, what you like to do, why you came to Clemson, etc. Those
students who were in the group may also write this as extra credit, but
are still required to write the reflection.
Group Assignments for Monday, August 23
Old Green Tom (statue of Thomas Green Clemson): Decker, Francis, Darien
Dr. Weaver's Office (106 McAdams Hall): Hall, Hoff, Strauss
Michelin Career Center (in Hendrix Center): Odom, Rogers, Russell
Academic Support Center (in Library): J. Scott, L. Scott, Ascarino
Absent: Hurd, Sangtian, Martin
Return to CPSC 104 page
Last modified: 17 August 2004