GoConqr has a new look! Let us know what you think.

Flashcards

Chapter 5 Review Questions

Kristján Ólafsson Computer Science Bachillerato English 13 cards

Cards in this deck (13)

  1. 1List four design issues for which the concept of concurrency is relevant.TODO
  2. 2What are three contexts in which concurrency arises?TODO
  3. 3What is a race condition?TODO
  4. 4List three degrees of awareness between process and briefly define each.Unaware: processes compete for resources.
    Indirectly aware: processes cooperate with shared objects.
    Directly aware: processes communicate with each other.
  5. 5What is the distinction between competing processes and cooperating processes?TODO
  6. 6List the three control problems associated with competing processes and briefly define each.Deadlock, starvation
  7. 7What is starvation with respect to concurrency control by mutual exclusion?TODO
  8. 8What operation can be performed on a semaphore?Initialize, Acquire (P, wait, decrease) and release (V, signal, increase).
  9. 9What is the difference between binary and general semaphore?Binary (1 or 0) semaphore only allows one process to acquire. Alternative to mutual exclusion (mutex).
  10. 10What is the key difference between a mutex and a binary semaphore?Only difference is that in mutex the process that locked must unlock.
  11. 11Which characteristics of monitors mark them as high-level synchronization tools?TODO
  12. 12Compare direct and indirect addressing with respect to message passing.TODO
  13. 13What condition are generally associated with the readers/writers problem?Race condition

Information

Description
Bachillerato Computer Science (Fundamentals of Operating Systems) Flashcards on Chapter 5 Review Questions, created by Kristján Ólafsson on 15/04/2016.
Views
7
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?