CS217 Homework Assignments

Assignment 8: Java Animation
Implement an animation using Java.
Due: submitted by 11:59pm, Tues, 5/14

Assignment 7: Primality Testing
Implement part of a program that tests large integers for primality.
Due: submitted by 11:59pm, Mon 4/29.

Assignment 6: Printf
Implement a simplified version of printf in SPARC assembly language.
Due: submitted by 11:59pm, Wed 4/10.

Assignment 5: Tail
Implement tail, which prints the last 22 lines of a file, in SPARC assembly language.
Due: submitted by 11:59pm, Mon 4/1.

Remarks...

Assignment 4: Implementing an ADT: Associative Tables
Implement a slight modification of the associative table abstract datatype that you used in the
previous assignment.
Due: submitted by 11:59pm, Mon 3/4.

Assignment 3: Word Frequencies
Write wf, a program that prints the words on its inputs and their frequencies of occurrence.
Due: submitted by 11:50pm, Mon 2/26.

Remarks...

Assignment 2: Generating WWW Listings
Write c2html, a program that generating Hypertext to render a listing of its file arguments
suitable for browsing with a World Wide Web browser.
Due: submitted by 11:59pm, Mon. 2/19.

Assignment 1: Changing Strings
Write change: Given two strings, change copies lines from the standard input to the
standard output replacing all occurrences of the first string by the second.
Due: submitted by 11:59pm, Mon. 2/12.

Remarks...


CS217, CS Department, Princeton University
Last modified: Sun Feb 25 11:30:55 EST 1996