Operating Systems MCQ Set 5
1.
The …………….. policy segments the disks request queue into sub queues of the
length N.
A)
SCAN
B)
C-SCAN
C)
N-Step SCAN
D)
FSCAN
2.
Which of the following are the functions of operating system?
i)
recovering from errors
ii) facilitating input/output
iii)
facilitating parallel
operation
iv) sharing hardware among users
v)
implementing user interface
A)
i, ii, ii, and v only
B)
i, ii, iii, and iv only
C)
ii, iii, iv and v only
D)
All i, ii, iii, iv and v
3.
File management function of the operating system includes
i)
File creation and
deletion
ii) Disk scheduling
iii)
Directory creation
iv) Mapping file in secondary storage.
A)
i, ii and iii only
B)
i, iii and iv only
C)
ii, iii and iv only
D)
All i, ii, iii and iv
4.
The ……………. Determines when a page should be brought into main memory.
A)
Fetch policy
B)
Placement policy
C)
Replacement policy
D)
Resident set management
5.
With …………………. A page is written out to secondary memory only when it has been
selected for replacement.
A)
pre-cleaning
B)
demand cleaning
C)
required cleaning
D)
fast cleaning
6.
…………………. Techniques can be used to resolve conflicts, such as competition
for resources, and to synchronize processes so that they can cooperate.
A)
Mutual Exclusion
B)
Busy Waiting
C)
Deadlock
D)
Starvation
7.
……………. Can be defined as the permanent blocking of a set of processed that
either complete for system resources or communicate with each other.
A)
Deadlock
B)
Permanent lock
C)
Starvation
D)
Mutual exclusion
8.
The following conditions of policy must be present for a deadlock to be
possible.
i)
Mutual
exclusion
ii) Hold and wait
iii)
No
preemption
iv) Circular wait
A)
i, ii and iii only
B)
ii, iii and iv only
C)
i, iii and iv only
D)
All i, ii, iii and iv
9.
A direct method of deadlock prevention is to prevent the occurrence of …………..
A)
Mutual exclusion
B)
Hold and wait
C)
Circular waits
D)
No preemption
10.
State true of false.
i)
With paging, each process is divided into relatively small, fixed-size pages.
ii)
Segmentation provides for the use of pieces of varying size.
A)
True, False
B)
True, True
C)
False, True
D)
False, False
Answers
1.c
2.d
3.b
4.a
5.b
6.a
7.a
8.d
9.c
10.b
0 comments:
Post a Comment