Operating System Questions Answers
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
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
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
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
5. Belady anamoly occurs in
- Optimal replacement
- FIFO
- LRU
- both in FIFO and LRU
6. Which scheduling policy is best suited for time-sharing operating systems
- Shortest job first
- Round robin
- First come first serve
- Elevator
7. Memory protection is normally done by
- the processor and the associated hardware
- the operating system
- the compiler
- the user program
8. Which among following scheduling algorithms give minimum average waiting time
- FCFS
- SJF
- Round robin
- On priority
9. Dirty bit is used to show
- Page with corrupted data
- Wrong page in memory
- Page that is modified after being loaded in the cache memory
- page that is less frequently accessed
10. In real time OS, which is most suitable scheduling scheme
- round robin
- FCFS
- pre-emptive scheduling
- random scheduling
No comments:
Post a Comment