CS 410 - Assignment #1

This assignment is due at the beginning of class on 4/10

Self-reproducing C code program
Write a C code program which will, when compiled and executed, produce an exact copy of the source code as output. Try to make the program as short as possible.

The code should be ANSI C and should compile and run on the CS Solaris computers (that's where they will be tested).

Submit a hard copy AND send the source-code to bjorn@cs.pdx.edu.
The subject line should be: ASSIGNMENT 1-1

Examining a DOS binary
Download myster.com(right click and "save as") to a DOS/Windows environment and use DEBUG to determine the nature of the executable. ie. Explain what the program does. The executable produces no obvious output, but it does compute something.

Turn in only a hard copy of your analysis.

Write a RedCode Warrior
Submit an original Redcode warrior. Your submission will be graded on originality and performance against warriors written by your fellow classmates. The competition will consist of 10 rounds in an arena of size 24000 in the pmars simulator. I will post the results on the web page.

Submit a hard copy AND send the source-code to bjorn@cs.pdx.edu.
The subject line should be: ASSIGNMENT 1-2 Be sure to include a ";author" line in your code so I can keep of whose warrior is is whose.

Note that this is an assignment, so submitting a warrior written by anyone but yourself is considered cheating.