¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

os 8

Adam Whiteside 15 preguntas

Hacer el test

Preguntas del test (15)

  1. 1A deadlocked state occurs whenever ____.
    1. Aa process is waiting for I/O to a device that does not exist
    2. Bthe system has no available free resources
    3. Cevery process in a set is waiting for an event that can only be caused by another process in the set
    4. Da process is unable to release its request for a resource after use
  2. 2One necessary condition for deadlock is ____, which states that at least one resource must be held in a nonsharable mode.
    1. Ahold and wait
    2. Bmutual exclusion
    3. Ccircular wait
    4. Dno preemption
  3. 3One necessary condition for deadlock is ______, which states that a process must be holding one resource and waiting to acquire additional resources.
    1. Ahold and wait
    2. Bmutual exclusion
    3. Ccircular wait
    4. Dno preemption
  4. 4One necessary condition for deadlock is ______, which states that a resource can be released only voluntarily by the process holding the resource.
    1. Ahold and wait
    2. Bmutual exclusion
    3. Ccircular wait
    4. Dno preemption
  5. 5One necessary condition for deadlock is ______, which states that there is a chain of waiting processes whereby P0 is waiting for a resource held by P1, P1 is waiting for a resource held by P2, and Pn is waiting for a resource held by P0.
    1. Ahold and wait
    2. Bmutual exclusion
    3. Ccircular wait
    4. Dno preemption
  6. 6The witness software product is a ____.
    1. Alock-order verifier that uses mutual-exclusion locks to protect critical sections
    2. Bmodeler to develop resource allocation graphs
    3. Cdriver that can be used to prevent mutual exclusion for nonsharable resources
    4. Dimplementation of the banker's algorithm available for most operating systems
  7. 7In a system resource-allocation graph, ____.
    1. Aa directed edge from a process to a resource is called an assignment edge
    2. Ba directed edge from a resource to a process is called a request edge
    3. Ca directed edge from a process to a resource is called a request edge
    4. DNone of the above
  8. 8A cycle in a resource-allocation graph is ____.
    1. Aa necessary and sufficient condition for deadlock in the case that each resource has more than one instance
    2. Ba necessary and sufficient condition for a deadlock in the case that each resource has exactly one instance
    3. Ca sufficient condition for a deadlock in the case that each resource has more than once instance
    4. Dis neither necessary nor sufficient for indicating deadlock in the case that each resource has exactly one instance
  9. 9To handle deadlocks, operating systems most often _____.
    1. Apretend that deadlocks never occur
    2. Buse protocols to prevent or avoid deadlocks
    3. Cdetect and recover from deadlocks
    4. DNone of the above
  10. 10Which of the following statements is true?
    1. AA safe state is a deadlocked state.
    2. BA safe state may lead to a deadlocked state.
    3. CAn unsafe state is necessarily, and by definition, always a deadlocked state.
    4. DAn unsafe state may lead to a deadlocked state.

Información

Descripción
Test sobre os 8, creado por Adam Whiteside el 24/04/2019.
Idioma
English
Visitas
47
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?