Source coding
Implements Huffman coding: character frequencies are counted, a prefix code table is built, the compression ratio is computed, and decoding is verified to restore the original text.
A C# programming course project. A console menu demonstrates text coding, modulation, channel transfer and demodulation, either individually or together from input text to the recovered result.
Each link runs on its own so its input and output can be examined.
Implements Huffman coding: character frequencies are counted, a prefix code table is built, the compression ratio is computed, and decoding is verified to restore the original text.
A hand-written linked-list queue, with enqueue and dequeue traced alongside the changing count, plus exception handling verified for dequeuing an empty queue.
Maps a binary sequence onto a transmittable signal form, the core stage of the whole chain.
Models how the signal travels through the channel, bridging modulation and demodulation.
Recovers the binary sequence from the received signal and turns it back into text, checked against the original input.
Tests use fixed random seeds to compare inputs and outputs across the communication steps.
The project deliberately limits its dependencies so that every stage stays visible in the code rather than hidden behind a framework.
No NuGet package is pulled in beyond xUnit for the test project, so cloning the repository and installing the .NET SDK is enough to run it.
Encoding, modulation and demodulation are all implemented inside the project and can be read alongside the course notes.
Demo entries are chosen by menu number, with no graphical interface needed and identical behaviour on macOS, Windows and Linux.
Implemented with the C# / .NET 10 base libraries, with xUnit for tests. Demonstrates communication steps without connecting real transmitting or receiving hardware.