LogoLearning For Everyone
Take Quiz
Contact Us
Related Topics
Related Topics
Selected Topic: All
8. What is ‘Aging’?
Choose the correct option:
  • a) keeping track of cache contents

  • b) keeping track of what pages are currently residing in memory

  • c) keeping track of how many times a given page is referenced

  • d) increasing the priority of jobs to ensure termination in a finite time

None.

1. Concurrent access to shared data may result in ____________
Choose the correct option:
  • a) data consistency

  • b) data insecurity

  • c) data inconsistency

  • d) none of the mentioned

None.

5. What are Spinlocks?
Choose the correct option:
  • a) CPU cycles wasting locks over critical sections of programs

  • b) Locks that avoid time wastage in context switches

  • c) Locks that work better on multiprocessor systems

  • d) All of the mentioned

None.

1. What will happen if a non-recursive mutex is locked more than once?
Choose the correct option:
  • a) Starvation

  • b) Deadlock

  • c) Aging

  • d) Signaling

If a thread which had already locked a mutex, tries to lock the mutex again, it will enter into the waiting list of that mutex, which results in a deadlock. It is because no other thread can unlock the mutex.

3. In the bounded buffer problem ____________
Choose the correct option:
  • a) there is only one buffer

  • b) there are n buffers ( n being greater than one but finite)

  • c) there are infinite buffers

  • d) the buffer size is bounded

None.

Items per page: