Monday, April 13, 2015

Operating System Questions Answers

1. Main function of shared memory is:

  1. to use primary memory efficently
  2. to do intra process communication
  3. to do inter process communication
  4. none of above

2. If the property of locality of reference is well pronounced in a program

  1. the number of page faults will be more
  2. the number of page faults will be less
  3. the number of page faults will same
  4. none of above

3. Which one is true

  1. The linkage editor is used to edit programs which have to later link together
  2. The linkage editor links object module during compiling
  3. The linkage editor links objects modules and resolves external references between them before loading
  4. none of above

4. Disk scheduling includes deciding

  1. which should be accessed next
  2. order in which disk access requests must be serviced
  3. the physical location of the file
  4. the logical location of the file

5. Belady anamoly occurs in

  1. Optimal replacement
  2. FIFO
  3. LRU
  4. both in FIFO and LRU

6. Which scheduling policy is best suited for time-sharing operating systems

  1. Shortest job first
  2. Round robin
  3. First come first serve
  4. Elevator

7. Memory protection is normally done by

  1. the processor and the associated hardware
  2. the operating system
  3. the compiler
  4. the user program

8. Which among following scheduling algorithms give minimum average waiting time

  1. FCFS
  2. SJF
  3. Round robin
  4. On priority

9. Dirty bit is used to show

  1. Page with corrupted data
  2. Wrong page in memory
  3. Page that is modified after being loaded in the cache memory
  4. page that is less frequently accessed

10. In real time OS, which is most suitable scheduling scheme

  1. round robin
  2. FCFS
  3. pre-emptive scheduling
  4. random scheduling

No comments: