Practical Learning Repository for CS234 - Operating Systems Lab (2019 Scheme)
Kerala Technological University (KTU)
This repository serves as a complete guide and practical notebook for the S4 Operating System Lab under the 2019 Scheme of KTU. It is aimed at helping Computer Science students gain hands-on experience with fundamental OS concepts like:
- CPU Scheduling
- Memory Management
- Process Synchronization
- System Calls
- File & Disk Operations
📁 Section | 🔗 Link |
---|---|
📘 Syllabus PDF | Curriculum structure |
📓 Lab Manual | Step-by-step guide |
🎤 Viva Questions | Interview prep notes |
Each experiment has its own folder with source code, problem statement, and simulation details.
No. | Title | Description | Code Link |
---|---|---|---|
1 | Basic UNIX Commands | Introduction to common terminal commands | View |
2 | Shell Programming | Write shell scripts for basic automation | View |
3 | System Calls | Understand file handling, fork, exec, etc. in C | View |
4 | CPU Scheduling Algorithms | FCFS, SJF, RR, Priority scheduling | View |
5 | Inter-Process Communication (IPC) | Pipes, message queues, shared memory | View |
6 | Semaphore Implementation | Producer-Consumer, Dining Philosophers problem | View |
7 | Memory Allocation (Fixed Partition) | First fit, best fit simulation | View |
8 | Page Replacement Algorithms | FIFO, LRU, Optimal algorithms | View |
9 | Banker's Algorithm | Deadlock avoidance algorithm | View |
10 | Deadlock Detection | System Resource Allocation Graph (RAG) simulation | View |
11 | File Allocation Strategies | Contiguous, linked, indexed file allocation | View |
12 | Disk Scheduling | FCFS, SSTF, SCAN, LOOK | View |
To get started locally:
# Clone the repository
git clone https://github.com/venkideshVenu/S4-Operating-System-Lab-2019-Scheme-KTU-.git
# Navigate to a specific experiment
cd S4-Operating-System-Lab-2019-Scheme-KTU-/CPU\ Scheduling
Compiling C Programs:
gcc filename.c -o output
./output
Running Shell Scripts:
bash scriptname.sh
We welcome contributions to make this lab resource better!
- Found a bug? Create an issue.
- Want to add/improve an experiment? Submit a pull request.
- Fork → Improve → PR = 💖
This repository is licensed under the MIT License.
Feel free to use, share, and modify it as per the terms.
🔗 View License
Developed and maintained by Venkidesh Venu
Special thanks to all contributors and fellow KTU students! 💙