Operating System Questions and Answers -
This set of Operating System MCQs will be useful for interview preparations for experienced people.
#1: The two steps of a process execution are : (choose two)
a) I/O Burst
b) CPU Burst
c) Memory Burst
d) OS Burst
a) I/O Burst
b) CPU Burst
c) Memory Burst
d) OS Burst
#2: Scheduling is done so as to :
a) increase CPU utilization
b) decrease CPU utilization
c) keep the CPU more idle
d) None of these
a) increase CPU utilization
b) decrease CPU utilization
c) keep the CPU more idle
d) None of these
#3: Which file keeps commands to execute automatically when OS is started?
a) config.sys
b) autoexec.bat
c) command.com
d) Any batch file
a) config.sys
b) autoexec.bat
c) command.com
d) Any batch file
#4: Scheduling is done so as to :
a) increase the waiting time
b) keep the waiting time the same
c) decrease the waiting time
d) None of these
a) increase the waiting time
b) keep the waiting time the same
c) decrease the waiting time
d) None of these
#5: The portion of the process scheduler in an operating system that dispatches processes is concerned with :
a) assigning ready processes to CPU
b) assigning ready processes to waiting queue
c) assigning running processes to blocked queue
a) assigning ready processes to CPU
b) assigning ready processes to waiting queue
c) assigning running processes to blocked queue
#6: The request and release of resources are ___________.
a) command line statements
b) interrupts
c) system calls
d) special programs
a) command line statements
b) interrupts
c) system calls
d) special programs
#7: 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
a) I only
b) I and III only
c) II and III only
d) I, II and III
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
a) I only
b) I and III only
c) II and III only
d) I, II and III
#8: Semaphore is a/an _______ to solve the critical section problem.
a) hardware for a system
b) special program for a system
c) integer variable
d) None of these
a) hardware for a system
b) special program for a system
c) integer variable
d) None of these
#9: The two atomic operations permissible on semaphores are : (choose two)
a) wait
b) stop
c) hold
d) signal
a) wait
b) stop
c) hold
d) signal
#10: The dining – philosophers problem will occur in case of :
a) 5 philosophers and 5 chopsticks
b) 4 philosophers and 5 chopsticks
c) 3 philosophers and 5 chopsticks
d) 6 philosophers and 5 chopsticks
a) 5 philosophers and 5 chopsticks
b) 4 philosophers and 5 chopsticks
c) 3 philosophers and 5 chopsticks
d) 6 philosophers and 5 chopsticks
Please provide all optionsfor question 5. Also, I think option a is correct in this question.