Which of the following is the primary function of an operating system?
Answer: d) All of the above
Which of the following is an example of a process?
Answer: a) A running program
In which state does a process reside after it has been executed for a while and is waiting for an event to occur?
Answer: c) Blocked
Which of the following is the primary goal of process synchronization?
Answer: c) To ensure that processes do not interfere with each other
Which synchronization mechanism is used to prevent multiple processes from accessing a critical section simultaneously?
Answer: d) All of the above
What is a deadlock in an operating system?
Answer: a) When two or more processes are waiting indefinitely for each other to release resources
Which of the following is NOT a condition for a deadlock to occur?
Answer: d) Process starvation
Which of the following disk scheduling algorithms gives the shortest seek time?
Answer: b) Shortest Seek Time First (SSTF)
In which of the following memory management schemes, the physical memory is divided into fixed-size partitions?
Answer: c) Fixed Partitioning
Which of the following is a disadvantage of paging?
Answer: a) Internal fragmentation
Which of the following algorithms is used for disk space allocation in file systems?
Answer: c) Contiguous Allocation
Which of the following describes a "long-term scheduler" in an operating system?
Answer: a) It decides which process to admit into the ready queue
Which of the following is the main purpose of memory management in an operating system?
Answer: b) To allocate and deallocate memory space to processes
In which type of file allocation method is a file's blocks stored in contiguous memory locations?
Answer: b) Contiguous allocation
Which of the following strategies can be used to handle deadlock prevention?
Answer: c) Both a and b
Note/Caution: studentsbizz.com does not promise a job or an interview in exchange for money. Fraudsters may ask you to pay under the pretext of a registration fee or refundable fee, but please be aware that legitimate employers will not require such payments.