WorksheetsOperating System BCA quiz 1
Total questions: 11
Worksheet time: 6mins
Which of the following is not a condition for deadlock?
Mutual exclusion
Hold and wait
Preemption
Circular wait
The operating system is a type of
system software
general purpose software
utility software
application software
Which is not in the PCB
Process state
resources needed
program counter
processor size
Which is not a process state?
waiting
terminated
blocked
redirected
Preemption means
process can be paused by system
process cannot be halted once execution begins
process has high priority
process is short
Only the process executing the critical section is allowed access to the shared variable,all other processes should prevented from doing so until the completion of the critical section. This is often referred to as-
Mutual exclusion
semaphores
Deadlock
Interprocess communication
Banker’s algorithm is used as-
Deadlock occurrence method
Deadlock avoidance method
Deadlock detection method
Deadlock recovery method
Which of the following statements are true? (GATE 2010)
I. Shortest remaining time first scheduling may cause starvation
II. Preemptive scheduling may cause starvation
III. Round robin is better than FCFS in terms of response time
I only
I and III only
II and III only
I, II and III
