Mcq Os Assign
Mcq Os Assign
Quiz assignment
Operating Systems
HNDIT 3052
02nd Yr 01st Semester
(01) Which of the following is the primary function of an operating system?
A) Compiling code
B) Managing hardware resources
C) Editing documents
D) Browsing the internet
(32) In the context of deadlocks, what does "hold and wait" mean?
a) Processes must hold at least one resource and are waiting to acquire
additional resources held by other processes.
b) Processes can preempt resources from other processes if needed.
c) Processes must wait without holding any resources.
d) Processes release all resources if they cannot acquire more.
(33)What happens in a non-preemptive scheduling algorithm if a new process
arrives while another process is already running?
A) The running process is interrupted, and the new process is given the CPU
B) The new process is put into the waiting queue until the running process
finishes
C) Both processes are executed simultaneously
D) The scheduler executes the new process first