Skip to content

arifpucit/OS-Codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Operating Systems - C Programming Examples 💻

Course Language License

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.

📚 About This Repository

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.

🔗 Course Resources

🚀 Getting Started

Prerequisites

  • GCC compiler or any C compiler
  • Basic understanding of C programming
  • Linux/Unix environment (recommended)

How to Use This Repository

  1. Clone the repository to your local machine
  2. Navigate to the specific program directory
  3. Compile using gcc program_name.c -o program_name
  4. Execute the compiled program

📖 Learning Approach

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

🎯 Learning Philosophy

"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.

📁 Repository Structure

📦 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)/

🤝 Contributing

If you find any issues or have suggestions for improvements, feel free to:

  • Open an issue
  • Submit a pull request
  • Contact the instructor

👨‍🏫 Meet Your Instructor

Dr. Muhammad Arif Butt

Assistant Professor, Department of Data Science
University of Punjab, Lahore

🎓 Educational Background

  • Pakistan Military Academy, Kakul - Graduate
  • MPhil Computer Science - University of Punjab, Lahore
  • PhD Computer Science - University of Punjab, Lahore

💼 Professional Experience

  • 🎖️ Pakistan Army - Served in field/staff/instructional posts
  • 👨‍🏫 Assistant Professor - Department of Data Science
  • 🚀 Founder - Excaliat
  • 🦅 Founder - FalconHunt
  • 🔧 Co-Founder - Tbox Solutionz

🔬 Research Interests

  • Embedded and Real-Time Operating Systems
  • Vulnerability Analysis, Binary Exploitation & Exploit Development
  • AI-Driven Cybersecurity and Securing AI Systems

📞 Connect with Dr. Butt

📜 License

This repository is for educational purposes. Please respect academic integrity guidelines when using this code for assignments or projects.

🎉 Final Words

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •