Test
Chapter 6 - OS2T
Este test tiene tipos de pregunta que se abren en el reproductor de siempre.
Preguntas del test (45)
1Deadlock is permanent because none of the events is ever triggered.
- AVerdadero
- BFalso
2All deadlocks involve conflicting needs for resources by two or more processes.
- AVerdadero
- BFalso
3Interrupts, signals, messages, and information in IO buffers are all examples of reusable resources.
- AVerdadero
- BFalso
4A useful tool in characterizing the allocation of resources to processes is the resource allocation graph.
- AVerdadero
- BFalso
5For deadlock to occur, there must not only be a fatal region, but also a sequence of resource requests that has led into the fatal region.
- AVerdadero
- BFalso
6An indirect method of deadlock prevention is to prevent the occurrence of a circular wait
- AVerdadero
- BFalso
7If access to a resource requires mutual exclusion then mutual exclusion must be supported by the OS.
- AVerdadero
- BFalso
8The OS may preempt the second process and require it to release its resources if a process requests a resource that is currently held by another process.
- AVerdadero
- BFalso
9An unsafe state is one in which there is at least one sequence of resource allocations to process that does not result in a deadlock.
- AVerdadero
- BFalso
10An atomic operation executes without interruption and without interference.
- AVerdadero
- BFalso
11Deadlock avoidance is more restrictive than deadlock prevention
- AVerdadero
- BFalso
12The dining philosophers problem can be representative of problems dealing with the coordination of shared resources which may occur when an application includes concurrent threads of execution.
- AVerdadero
- BFalso
13A signal is similar to a hardware interrupt but does not employ priorities
- AVerdadero
- BFalso
14Deadlock avoidance requires knowledge of future process resource requests.
- AVerdadero
- BFalso
15A mutex is used to ensure that only one thread at a time can access the resource protected by the mutex
- AVerdadero
- BFalso
16A set of processes is [blank_start]_________[blank_end] when each process in the set is blocked awaiting an event that can only be triggered by another blocked process in the set.
- Adeadlocked
17Examples of [blank_start]__________[blank_end] include processors, I/O channels, main and secondary memory, devices, and data structures such as files, databases, and semaphores.
- Areusable resources
18With _________ only one process may use a resource at a time and no process may access a resource unit that has been allocated to another process.
- Amutual exclusion
- Bcircular wait
- Chold and wait
- Dnon-pre-emption
19A closed chain of processes exists, such that each process holds at least one resource needed by the next process in the chain is the condition of [blank_start]__________[blank_end] .
- Acircular wait
20Once the processes have progressed into the [blank_start]__________[blank_end] , those processes will deadlock.
- Afatal region
21The strategy of deadlock [blank_start]_________[blank_end] is to design a system in such a way that the possibility of deadlock is excluded.
- Aprevention
22The [blank_start]_________[blank_end] condition can be prevented by requiring that a process request all of its required resources at one time and blocking the process until all requests can be granted simultaneously.
- Ahold and wait
23The fastest form of interprocess communication provided in UNIX is [blank_start]__________[blank_end] .
- Ashared memory
24The [blank_start]__________[blank_end] condition can be prevented by defining a linear ordering of resource types.
- Acircular wait
25Requested resources are granted to processes whenever possible with [blank_start]_________[blank_end] .
- Adeadlock detection
26One of the most significant contributions of UNIX to the development of operating systems is the [blank_start]_________[blank_end] .
- Apipe
27 A [blank_start]__________[blank_end] is a software mechanism that informs a process of the occurrence of asynchronous events.
- Asignal
28The most common technique used for protecting a critical section in Linux is the [blank_start]__________[blank_end].
- Aspinlock
29The [blank_start]_________[blank_end] allows multiple threads to have simultaneous read-only access to an object protected by the lock.
- Areaders/writer lock
30The [blank_start]_________[blank_end] is useful in sending a signal to a thread indicating that a particular event has occurred.
- Aevent object
31[blank_start]_________[blank_end] can be defined as the permanent blocking of a set of processes that either compete for system resources or communicate with each other.
- ADeadlock
32A [blank_start]_________[blank_end] resource is one that can be safely used by only one process at a time and is not depleted by that use.
- Areusable
33A [blank_start]_________[blank_end] resource is one that can be created and destroyed.
- Aconsumable
34The [blank_start]_________[blank_end] is a directed graph that depicts a state of the system of resources and processes, with each process and each resource represented by a node.
- Aresource allocation graph
35Three conditions of policy must be present for a deadlock to be possible: mutual exclusion, no preemption, and [blank_start]_________[blank_end] .
- Ahold and wait
36Three general approaches exist for dealing with deadlock: prevent, avoid, and [blank_start]__________[blank_end] .
- Adetect
37[blank_start]__________[blank_end] allows the three necessary conditions but makes judicious choices to assure
that the deadlock point is never reached.- Adeadlock avoidance
38The strategy of resource allocation denial is referred to as the [blank_start]___________[blank_end] .
- Abankers algorithm
39The [blank_start]_________[blank_end] of the system reflects the current allocation of resources to processes.
- Astate
40[blank_start]_________[blank_end] strategies are very conservative and solve the problem of deadlock by limiting access to resources and by imposing restrictions on processes.
- Adeadlock prevention
41Inspired by the concept of co-routines, a [blank_start]_________[blank_end] is a circular buffer allowing two processes to communicate on the producer-consumer model.
- Apipe
42Two types of atomic operations are defined in Linux: integer operations and [blank_start]_______[blank_end].
- Abitmap operations
43Linux provides three types of semaphore facilities in the kernel: binary semaphores, counting semaphores, and [blank_start]__________[blank_end] .
- Areader-writer semaphores
44An executable entity within a process is a [blank_start]__________[blank_end] object.
- Athread
45A program invocation, including the address space and resources required to run the program is a [blank_start]__________[blank_end] object.
- Aprocess
Información
- Descripción
- Test sobre Chapter 6 - OS2T, creado por Rowan Kaag el 02/11/2015.
- Autor
- Rowan Kaag
- Idioma
- English
- Visitas
- 19
- Valoración
- Aún sin valoraciones Valora este test