Huffman Encoding: Assignment

In this assignment, you will implement Huffman coding, a lossless data compression algorithm that assigns variable-length codes to input characters based on their frequencies.

Recover

Implement a program that recovers JPEGs from a forensic image.

Plurality

Implement a program that runs a plurality election, as shown below.

Calc

Create a simple command line calculator.

$ ./calc 50 x 28
1400.000000

Hello

A simple assignment to practice testing and submitting your code.

Welcome

Welcome to AP Computer Science Principles for 2024-2025! Read this to get started.