Assignments

Programming assignments are due on Sundays at 11:59pm ET. The links below cover common questions and key resources:


0. Hello, World
Setup a Java programming environment and write a few Java programs.
1. Conditionals and Loops
Use conditionals and loops to write small programs involving sound and images.
2. Arrays and Input/Output
Write programs that use arrays, read input, and produce output, including graphics and sounds.
DRAFT 3. Conjunction Function
Implement functions that manipulate audio, then use them to create an audio collage.
DRAFT 4. Recursion
Plot a Sierpinski triangle and an original recursive pattern, then compare recursion with dynamic programming.
DRAFT 6. Image Classifier
Classify images using the perceptron algorithm, then evaluate its accuracy.
DRAFT 7. Guitar Hero
Simulate plucking a guitar string with the Karplus–Strong algorithm, turning your computer into a musical instrument.
DRAFT 8. Chat126
Build a Markov model from an English text, then simulate it to generate stylized pseudorandom text.
DRAFT 9. Hamming Codes in TOY
Write a TOY program to encode and decode data using Hamming codes.