Operating System
Operating System
[2×8=16]
a) Define the term operating system.
An Operating System (OS) is system software that manages computer
hardware and software resources and provides common services for
computer programs.
b) Define system program.
A system program is software designed to provide a platform for other
software. Examples include operating systems, compilers, and device
drivers.
c) Which scheduler controls the degree of multiprogramming?
The Long-Term Scheduler (Job Scheduler) controls the degree of
multiprogramming by deciding how many processes should be in
memory at a time.
d) What is Turn-Around Time?
Turnaround Time (TAT) is the total time taken by a process from
submission to completion.
Formula:
TAT = Completion Time - Arrival Time
e) What is meant by Deadlock?
A deadlock is a situation where two or more processes are unable to
proceed because each is waiting for a resource held by the other.
f) What is demand paging?
Demand paging is a memory management scheme in which pages are
loaded into memory only when they are needed, reducing memory
usage.
g) List any four attributes of files.
1. File Name – Name of the file.
2. File Type – Type of the file (e.g., .txt, .exe).
3. File Size – Size of the file in bytes.
4. File Permissions – Access rights (read, write, execute).
h) What do you mean by seek time in Disk Scheduling?
Seek time is the time taken by the disk arm to move the read/write
head to the correct track where the required data is stored.
i) What does FIFO and MFU stand for?
• FIFO (First In First Out) – Oldest page in memory is replaced first.
• MFU (Most Frequently Used) – Page with the highest frequency
of access is replaced first.
j) Define Rollback.
Rollback is a mechanism used to revert a system to a previous safe state
in case of failure, ensuring consistency.