Skip to content

ADP-1/BasicProjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Project Repository

This repository contains three distinct projects: CPU Scheduling Algorithm Implementation, Client-Server Chat Application, and TicTacToe Game.

Table of Contents

CPU Scheduling Algorithm 🔄

cpu

Introduction

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.

Features

  • 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

Tech Stack

cpp terminal

  • C++
  • Standard Template Library (STL)
  • Command Line Interface

Usage

Output Formats

  • Trace: Shows timeline of process execution
  • Statistics: Displays metrics like turnaround time and normalized turnaround time

Client-Server Chat Application 🔌

chat

Introduction

A Windows-based chat application implementing client-server architecture using WinSock2 API. Supports multiple client connections with real-time message broadcasting.

Features

  • Multi-threaded message handling
  • Real-time message broadcasting
  • User name identification
  • Graceful connection handling
  • Support for multiple simultaneous clients

Tech Stack

cpp windows terminal

  • C++
  • WinSock2 API
  • Windows Socket Programming
  • Multi-threading
  • Command Line Interface

Installation

  1. Clone the repository
  2. Open the solution in Visual Studio
  3. Build the client and server projects separately

Usage

  1. Start the server application
  2. Launch client application(s)
  3. Enter username when prompted
  4. Start chatting!

TicTacToe Game ⭕❌

tictactoe

Introduction

A console-based implementation of the classic TicTacToe game supporting two players with a user-friendly interface.

Features

  • Two-player gameplay
  • Interactive console interface
  • Input validation
  • Win/Draw detection
  • Player name customization

Tech Stack

cpp terminal

  • C++
  • Console I/O
  • Command Line Interface

Game Rules

  1. Players take turns marking spaces (X or 0)
  2. First to get three in a row (horizontal, vertical, or diagonal) wins
  3. Game draws if no winner after all spaces are filled

Usage

  1. Enter names for Player 1 and Player 2
  2. Follow on-screen prompts to make moves
  3. Game announces winner or draw

License

No license specified

Acknowledgements

Created by Aditya Pandey

Last Updated: 18-01-2025

About

This Repository includes the projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published