https://github.com/harikrishnan669/os_lab
KTU S4 OS LAB PROGRAMS
https://github.com/harikrishnan669/os_lab
cprogramming-language cse ktu ktu-s4-cse os shell-script
Last synced: about 1 year ago
JSON representation
KTU S4 OS LAB PROGRAMS
- Host: GitHub
- URL: https://github.com/harikrishnan669/os_lab
- Owner: harikrishnan669
- Created: 2024-02-24T06:21:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-14T07:43:24.000Z (over 1 year ago)
- Last Synced: 2025-01-27T11:26:05.491Z (about 1 year ago)
- Topics: cprogramming-language, cse, ktu, ktu-s4-cse, os, shell-script
- Language: C
- Homepage:
- Size: 57.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OPERATING SYSTEMS USING C (S4)
## Questions
Includes syllabus questions and some try outs
1.Shell programming
-Command syntax
-Write simple functions with basic tests, loops, patterns
2.System calls of Linux operating system:
fork, exec, getpid, exit, wait, close, stat, opendir, readdir.
3.Write programs using the I/O system calls of Linux operating system (open, read, write).
4.Implement programs for Inter Process Communication using Shared Memory.
5.Implement Semaphores.
6.Implementation of CPU scheduling algorithms.
a) Round Robin
b) SJF
c) FCFS
d)Priority
7.Implementation of the Memory Allocation Methods for fixed partition
a) First Fit
b) Worst Fit
c) Best Fit
8.Implement page replacement algorithms a) FIFO
b) LRU
c) LFU
9.Implement the banker’s algorithm for deadlock avoidance.
10.Simulate disk scheduling algorithms.
c) FCFS
b) SCAN
c) C-SCAN