WSL | Visual Studio Code | C++
Academic
Projects
Process Scheduler
This code simulates process scheduling with CPU and IO bursts using different strategies, namely First Come First Served (FCFS) and Round Robin (RR). The code can parse burst files to create processes and handle scheduling with specified strategies and time quantums. It showcases file handling, data structures (like vectors and deques), algorithm implementation for process scheduling, and error handling with comprehensive logging. The program includes detailed error messages and debugging aids, making it robust and user-friendly for testing different scheduling scenarios.
Multithreaded Delivery System
This program demonstrates concurrent production and consumption of food delivery requests using the POSIX thread library. It showcases skills in multithreading, synchronization, and efficient resource management through mutexes and semaphores. The program implements two producer threads for creating pizza and sandwich orders and two consumer threads for delivering these orders. The code also includes robust error handling and logging mechanisms, ensuring clarity and reliability in concurrent operations. This project highlights concurrent processing and POSIX thread management.
Sample Output (Round Robin)
SIC/XE Disassembler
This is a program that disassembles object code into human-readable assembly language. The program reads an object file and uses symbol and literal tables to map addresses to their respective symbols and literals. It then translates machine code instructions into their assembly counterparts, handling different instruction formats and addressing modes. The output is a formatted assembly listing file. This project showcases file handling, bit manipulation, and working with data structures like maps to efficiently translate low-level code into high-level instructions.