This repository contains three distinct projects: CPU Scheduling Algorithm Implementation, Client-Server Chat Application, and TicTacToe Game.
A comprehensive implementation of various CPU scheduling algorithms including FCFS, Round Robin, SPN, SRT, HRRN, Feedback, and Aging. This project simulates and analyzes different scheduling strategies used in operating systems.
- First Come First Serve (FCFS) Implementation
- Round Robin (RR) with configurable quantum
- Shortest Process Next (SPN)
- Shortest Remaining Time (SRT)
- Highest Response Ratio Next (HRRN)
- Feedback Scheduling (FB-1 and FB-2i)
- Aging-based Priority Scheduling
- C++
- Standard Template Library (STL)
- Command Line Interface
- Trace: Shows timeline of process execution
- Statistics: Displays metrics like turnaround time and normalized turnaround time
A Windows-based chat application implementing client-server architecture using WinSock2 API. Supports multiple client connections with real-time message broadcasting.
- Multi-threaded message handling
- Real-time message broadcasting
- User name identification
- Graceful connection handling
- Support for multiple simultaneous clients
- C++
- WinSock2 API
- Windows Socket Programming
- Multi-threading
- Command Line Interface
- Clone the repository
- Open the solution in Visual Studio
- Build the client and server projects separately
- Start the server application
- Launch client application(s)
- Enter username when prompted
- Start chatting!
A console-based implementation of the classic TicTacToe game supporting two players with a user-friendly interface.
- Two-player gameplay
- Interactive console interface
- Input validation
- Win/Draw detection
- Player name customization
- C++
- Console I/O
- Command Line Interface
- Players take turns marking spaces (X or 0)
- First to get three in a row (horizontal, vertical, or diagonal) wins
- Game draws if no winner after all spaces are filled
- Enter names for Player 1 and Player 2
- Follow on-screen prompts to make moves
- Game announces winner or draw
No license specified
Created by Aditya Pandey