OSY Answer Pepper
OSY Answer Pepper
2Marks
Q1) State any four services of operating system.
Ans) :-
1) Process Management
2) Memory Management
3) File System Management
4) Device Management
4 Marks
Q1) Explain different types of system calls.
Ans):-
System calls are classified into four main types:
1.Process Control: Manages process creation, termination, and
synchronization (e.g., `fork()`, `exit()`).
2. File Management: Handles file operations like open, read,
write, and close (e.g., `open()`, `read()`).
3.Device Management: Manages device input/output operations
(e.g., `ioctl()`, `write()`).
4. Memory Management: Allocates and frees memory for
processes (e.g., `malloc()`, `free()`).
Q2)Explain real time OS. Explain its types.
Ans):-
A Real-Time Operating System (RTOS)processes tasks within
strict timing constraints to ensure timely responses.
Types:
1. Hard Real-Time OS: Guarantees task completion within
deadlines.
2. Soft Real-Time OS: Aims for timely task execution but can
tolerate occasional deadline misses.
Example: Modern
operating systems like Example: Early batch
Windows and Linux. processing systems.