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

Quiz

Operating Systems Quiz 2

Jared Baca 143 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (143)

  1. 1What is the purpose of the mutex semaphore in the implementation of the bounded-buffer problem using semaphores?
    1. AIt indicates the number of empty slots in the buffer
    2. BIt indicates the number of occupied slots in the buffer
    3. CIt controls access to the shared buffer
    4. DIt ensures mutual exclusion
  2. 2The first readers-writers problem _______.
    1. Arequires that, once a writer is ready, that writer performs its write as soon as possible.
    2. Bis not used to test synchronization primitives.
    3. Crequires that no reader will be kept waiting unless a writer has already obtained permission to use the shared database.
    4. Drequires that no reader will be kept waiting unless a reader has already obtained permission to use the shared database.
  3. 3How many philosophers may eat simultaneously in the Dining Philosophers problem with 5 philosophers?
    1. A1
    2. B2
    3. C3
    4. D5
  4. 4Operations on atomic integers do not require locking.
    1. ATrue
    2. BFalse
  5. 5Operations on atomic integers do require additional locking.
    1. ATrue
    2. BFalse
  6. 6Linux only provides the atomic_inc() and atomic_sub() operations.
    1. ATrue
    2. BFalse
  7. 7Operations on atomic integers can be interrupted.
    1. ATrue
    2. BFalse
  8. 8A thread will immediately acquire a dispatcher lock that is in the signaled state.
    1. ATrue
    2. BFalse
  9. 9Linux mostly uses atomic integers to manage race conditions within the kernel.
    1. ATrue
    2. BFalse
  10. 10Pthreads can be implemented
    1. Aonly in side the operating system kernel.
    2. Bonly at the user level.
    3. Cat the user level or inside the operating system kernel.
    4. Donly in Windows OS.

Information

Description
Computer Science Quiz on Operating Systems Quiz 2, created by Jared Baca on 02/04/2023.
Language
English
Views
5
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?