Welcome to the Operating Systems Course repository! This collection contains C program source codes containing Proof of Concepts (PoCs) discussed during our undergraduate-level Operating Systems lectures.
This repository serves as a comprehensive resource for students enrolled in the Operating Systems course. Each program demonstrates fundamental OS concepts through practical C implementations, making complex theoretical concepts tangible and understandable.
- Lecture Slides: http://arifbutt.me/cources
- Course Level: Undergraduate
- Programming Language: C
- GCC compiler or any C compiler
- Basic understanding of C programming
- Linux/Unix environment (recommended)
- Clone the repository to your local machine
- Navigate to the specific program directory
- Compile using
gcc program_name.c -o program_name - Execute the compiled program
Important Note: While these source codes are provided to save your typing efforts, I strongly recommend that you:
- ✅ Type the programs yourself for better understanding
- ✅ Compile and execute them independently
- ✅ Make modifications and experiment with the code
- ✅ Do "Scuba Diving" into the underlying concepts
"The best way to learn programming is by programming!"
Don't just copy-paste the code. Engage with it, modify it, break it, and fix it. This hands-on approach will deepen your understanding of operating system concepts.
📦 Operating-Systems-Examples
├── 📂 Module 1: (Recap of Assembly, C, Linking, Loading, system calls, make, git, process layout)/
├── 📂 Module 2: (File System Management)/
├── 📂 Module 3: (Process Management and Scheduling)/
├── 📂 Module 4: (IPC)/
├── 📂 Module 5: (Synchronization and Deadlocks)/
└── 📂 Module 6: (Memory Management)/
If you find any issues or have suggestions for improvements, feel free to:
- Open an issue
- Submit a pull request
- Contact the instructor
Assistant Professor, Department of Data Science
University of Punjab, Lahore
- Pakistan Military Academy, Kakul - Graduate
- MPhil Computer Science - University of Punjab, Lahore
- PhD Computer Science - University of Punjab, Lahore
- 🎖️ Pakistan Army - Served in field/staff/instructional posts
- 👨🏫 Assistant Professor - Department of Data Science
- 🚀 Founder - Excaliat
- 🦅 Founder - FalconHunt
- 🔧 Co-Founder - Tbox Solutionz
- Embedded and Real-Time Operating Systems
- Vulnerability Analysis, Binary Exploitation & Exploit Development
- AI-Driven Cybersecurity and Securing AI Systems
- 📧 Email: arif@pucit.edu.pk
- 🌐 Website: https://arifbutt.me
- 📺 YouTube: Learn with Arif
- 💻 GitHub: @arifpucit
- 💼 LinkedIn: Dr. Arif Butt
This repository is for educational purposes. Please respect academic integrity guidelines when using this code for assignments or projects.
Happy Coding! Remember, every expert was once a beginner. Keep practicing, keep learning, and most importantly, keep coding!
⭐ Star this repository if you find it helpful!
Last Updated: 2025