Operating System Questions Answers - Chapter 1
-
1. Main function of shared memory is:
- to use primary memory efficently
- to do intra process communication
- to do inter process communication
- none of above
Answer And Explanation
Answer: Option C
-
2. If the property of locality of reference is well pronounced in a program
- the number of page faults will be more
- the number of page faults will be less
- the number of page faults will same
- none of above
Answer And Explanation
Answer: Option B
-
3. Which one is true
- The linkage editor is used to edit programs which have to later link together
- The linkage editor links object module during compiling
- The linkage editor links objects modules and resolves external references between them before loading
- none of above
Answer And Explanation
Answer: Option C
-
4. Disk scheduling includes deciding
- which should be accessed next
- order in which disk access requests must be serviced
- the physical location of the file
- the logical location of the file
Answer And Explanation
Answer: Option B
-
5. Belady anamoly occurs in
- Optimal replacement
- FIFO
- LRU
- both in FIFO and LRU
Answer And Explanation
Answer: Option B
-
6. Which scheduling policy is best suited for time-sharing operating systems
- Shortest job first
- Round robin
- First come first serve
- Elevator
Answer And Explanation
Answer: Option B
-
7. Memory protection is normally done by
- the processor and the associated hardware
- the operating system
- the compiler
- the user program
Answer And Explanation
Answer: Option A