OScript is a repository containing Operating System assignments and projects. It includes coding solutions in multiple languages and provides a structured way to explore OS concepts practically.
- The repository includes given assignments in PDF format.
- Assignments cover topics such as:
- 🖥️ Shell scripting
- 🔄 Process management
- 🧠 Memory management
- 🖨️ Input/Output operations
- 📁 File system management
- ⏳ Process scheduling
- The assignments include code implementations in the following languages:
- 🐚 Shell Scripting
- 🔵 C
- 🔶 C++
- ☕ Java
- The scripts and programs demonstrate OS-related concepts, including process creation, synchronization, inter-process communication, and scheduling.
- A separate PDF includes a project with 5 key questions:
- 🔁 Process Synchronization
- 🔓 Deadlocks
- 🧵 Multithreading
- 📡 Inter-Process Communication (IPC)
- 💾 Virtual Memory and Paging
OScript/
├── Assignment1/ # 📜 Files related to Assignment 1
│ ├── pr_1.sh # Script 1
│ ├── pr_2.sh # Script 2
│ ├── pr_3.sh # Script 3
│ ├── pr_4.sh # Script 4
│ ├── pr_5.sh # Script 5
│ ├── pr_6.sh # Script 6
│ ├── pr_7.sh # Script 7
│ ├── pr_8.sh # Script 8
│ ├── pr_9.sh # Script 9
│ └── pr_10.sh # Create Backup Script
├── Assignment2/ # 📜 Files related to Assignment 2
│ ├── pr_1.sh
│ ├── pr_2.sh
│ ├── pr_3.sh
│ ├── pr_4.sh
│ ├── pr_5.sh
│ ├── pr_6.sh
│ ├── pr_7.sh
│ ├── pr_8.sh
│ ├── pr_9.sh # Display Name of files with less than 10% free space
│ ├── pr_10.sh
│ ├── pr_11.sh
│ ├── pr_12.sh
│ ├── pr_13.sh # Count total lines in a file
│ ├── pr_14.sh
│ └── pr_15.sh
├── Assignment-3/
│ ├── Advance_Shell/ 🔹 Advanced Shell Scripting
│ ├── File_Management/ 📁 File System Operations
│ ├── IO_Management/ 🖨️ I/O Management
│ ├── Memory_Management/ 🧠 Memory Analysis
│ ├── Process_Management/ 🔄 Process Handling
│ └── System_Monitoring/ 📊 System Performance
├── Assignment-4/
│ ├── pr_1.c # Assignment 4 Program 1
│ ├── pr_2.c # Assignment 4 Program 2
│ ├── pr_3.c # Assignment 4 Program 3
│ ├── pr_child_4.c # Assignment 4 Child Process Program
│ └── pr_child_4.exe
├── OS_Project/ # ☕ Java Implementation
│ ├── VMM/ # 💾 Virtual Memory Manager
│ ├── race_condition/ # 🔓 Race Condition Examples
│ ├── IPC/ # 📡 Inter-Process Communication
│ ├── Bank/ # 🏦 Banking System Demo
│ ├── Sudoku_Multithreading/ # 🧩 Sudoku Solver
│ ├── utils/ # 🔧 Utility Classes
│ └── test/ # 🛠️ Test Cases
├── OS_Project_C/ # 🔵 C Implementation
│ ├── IPC/ # 📡 IPC Implementations
│ ├── Race_Condition/ # 🔓 Race Condition Examples
│ └── VMM/ # 💾 Virtual Memory Manager
├── Questions/ # ❓ Assignment & Project Questions
│ ├── Assignment_Questions.pdf # 📜 Assignment Questions
│ └── OS_Project_Questions.pdf # 📜 OS Project Questions
├── Submission/ # ✅ Submission Files
│ ├── CaseStudy.docx
│ ├── Submission1.docx
│ ├── Submission2.docx
│ ├── Submission3.docx
│ └── Submission4.docx
└── README.md # 📖 Documentation
- 📥 Download the repository: Clone or download this repository.
- 📚 Read the PDFs: Review the assignments and project PDFs before implementing solutions.
- 🔍 Navigate the code: Explore the code in respective language folders to see working solutions.
▶️ Run the programs: Follow the instructions inside each script or code file to execute the programs.