Python implementations of the assignments for the System Programming course.
Course: System Programming
Programming Language: Python 3
Instructor: Dr. Ali Valizade
Student: Ali Meghdari
Semester: 1404-1405
University: Sadjad
This repository contains the source code and assignments completed during the System Programming course.
The exercises cover fundamental operating system concepts, including low-level programming, process and thread management, synchronization, Windows API, Linux system programming, and socket programming.
- Introduction to System Programming
- Operating System Basics
- User Mode & Kernel Mode
- System Calls
- Windows API (WinAPI)
- Linux libc
- Windows Registry
- Low-Level File I/O
- Linux System Files
- Process Management
- Fork & Multiprocessing
- Thread Programming
- Race Condition
- Synchronization
- Lock & Semaphore
- Deadlock
- TCP Socket Programming
- UDP Socket Programming
- Multi-threaded Server
- Port Scanner
- Chat Server
System-Programming/
│
├── README.md
│
├── Session-01/
├── Session-02/
├── Session-03/
├── Session-04/
├── Session-05/
├── Session-06/
├── Session-07/
└── Session-08/
Each session contains:
- Assignment source code
- Session README
- Related exercises
| Session | Topics |
|---|---|
| 01 | Introduction, OS Basics, System Calls |
| 02 | Windows API, ctypes, Linux libc |
| 03 | Registry, Low-Level File I/O |
| 04 | Process Management, Fork, Subprocess |
| 05 | Thread Programming, Shared Memory |
| 06 | Synchronization, Lock, Semaphore |
| 07 | TCP & UDP Socket Programming |
| 08 | Port Scanner & Multi-threaded Chat Server |
- Python 3.x
- Windows or Linux
- Standard Python libraries
Some exercises require:
- Windows
- Linux / WSL
depending on the assignment.
This repository was created for educational purposes as part of the System Programming course.
Some examples interact directly with operating system APIs and should be executed only in the appropriate environment.
This project is intended for educational use only.