Quiz
Chapter 5 - OS2T
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do quiz (45)
1The central themes of operating system design are all concerned with the management of processes and threads.
- AVerdadeiro
- BFalso
2It is possible in a single-processor system to not only interleave the execution of multiple processes but also overlap them
- AVerdadeiro
- BFalso
3As an extension of the principles of modular design and structured programming, some
applications can be effectively programmed as a set of concurrent processes.- AVerdadeiro
- BFalso
4Race condition is a situation in which two or more processes continuously change their states in response to changes in the other process(es) without doing any useful work.
- AVerdadeiro
- BFalso
5The sharing of main memory among processes is useful to permit efficient and close interaction among processes because such sharing does not leads to many problems.
- AVerdadeiro
- BFalso
6When processes cooperate by communication, the various processes participate in a common effort that links all of the processes.
- AVerdadeiro
- BFalso
7Atomicity guarantees isolation from concurrent processes.
- AVerdadeiro
- BFalso
8Concurrent processes do not come into conflict with each other when they are competing for the use of the same resource.
- AVerdadeiro
- BFalso
9Two or more processes can cooperate by means of simple signals, such that a process can be forced to stop at a specified place until it has received a specific signal.
- AVerdadeiro
- BFalso
10The functioning of a process, and the output it produces, must be independent of the speed at which its execution is carried out relative to the speed of other concurrent processes.
- AVerdadeiro
- BFalso
11A process that is waiting for access to a critical section does not consume processor time.
- AVerdadeiro
- BFalso
12The case of cooperation by sharing covers processes that interact with other processes without being explicitly aware of them.
- AVerdadeiro
- BFalso
13It is possible for one process to lock the mutex and for another process to unlock it.
- AVerdadeiro
- BFalso
14On of the most common problems faced in concurrent processing is the producer/consumer problem.
- AVerdadeiro
- BFalso
15Processes need to be synchronized to enforce mutual exclusion.
- AVerdadeiro
- BFalso
16The management of multiple processes within a uniprocessor system is [blank_start]___________[blank_end].
- Amultiprogramming
17A situation in which a runnable process is overlooked indefinitely by the scheduler, although it is able to proceed, is [blank_start]____________[blank_end].
- Astarvation
18The requirement that when one process is in a critical section that access shared resources, no other process may be in a critical section that accesses any of those shared resources is [blank_start]____________[blank_end].
- Amutual exclusion
19A means for two processes to exchange information is with the use of [blank_start]____________[blank_end].
- Amessages
20A semaphore that does not specify the order in which processes are removed from the queue is a [blank_start]_________[blank_end] semaphore.
- Aweak
21A [blank_start]____________[blank_end] occurs when multiple processes or threads read and write data items so that the final result depends on the order of execution of instructions in the multiple processes.
- Arace condition
22A [blank_start]___________[blank_end] is an integer value used for signaling among processes.
- Asemaphore
23[blank_start]__________[blank_end] is when the sequence of instruction is guaranteed to execute as a group, or not execute at all, having no visible effect on system state.
- Aatomic operation
24[blank_start]___________[blank_end] are memory words used as a synchronization mechanism.
- Aevent flags
25The term _________ refers to a technique in which a process can do nothing until it gets permission to enter its critical section but continues to execute an instruction or set of instructions that tests the appropriate variable to gain entrance.
- Amessage passing
- Bspin waiting
- Ccritical resources
- Dgeneral semaphore
26A [blank_start]_______[blank_end] is a data type that is used to block a process or thread until a particular condition is true.
- Acondition variable
27A semaphore whose definition includes the policy that the process that has been blocked the longest is released from the queue first is called a [blank_start]__________[blank_end] semaphore.
- Astrong
28The [blank_start]__________[blank_end] is a programming language construct that provides equivalent functionality to that of semaphores and is easier to control.
- Amonitor
29Probably the most useful combination, [blank_start]________[blank_end] allows a process to send one or more messages to a variety of destinations as quickly as possible.
- Anonblocking send, blocking receive
30A [blank_start]___________[blank_end] relationship allows multiple server processes to provide concurrent service to multiple clients.
- Amany-to-many
31[blank_start]____________[blank_end] arises in three different contexts: multiple applications, structured application, and operating system structure.
- Aconcurrency
32[blank_start]_________[blank_end] was invented to allow processing time to be dynamically shared among a number of active applications.
- Amultiprogramming
33A situation in which two or more processes are unable to proceed because each is waiting for one of the others to do something is a [blank_start]____________[blank_end].
- Adeadlock
34In the case of competing processes three control problems must be faced: mutual exclusion, deadlock, and [blank_start]_________[blank_end].
- Astarvation
35A [blank_start]______________[blank_end] is a semaphore that takes only the values of 0 and 1.
- Abinary semaphore
36A situation in which multiple threads or processes read and write a shared data item and the final result depends on the relative timing of their execution is a [blank_start]________[blank_end].
- Arace condition
37[blank_start]__________[blank_end] is a function or action implemented as a sequence of one or more instructions that appears to be indivisible; no other process can see an intermediate state or interrupt the operations.
- Aatomic operation
38A [blank_start]___________[blank_end] is a programming language construct that encapsulates variables, access procedures, and initialization code within an abstract data type.
- Amonitor
39[blank_start]__________[blank_end] is a section of code within a process that requires access to shared resources and that must not be executed while another process is in a corresponding section of code.
- ACritical section
40In the case of [blank_start]_________[blank_end], processes are sharing resources without being aware of the other processes.
- Acompetition
41A [blank_start]__________[blank_end] is a mutual exclusion mechanism in which a process executes in an infinite loop waiting for the value of a lock variable to indicate availability
- Aspinlock
42Only three operations may be performed on a semaphore: initialize, increment, and [blank_start]__________[blank_end].
- Adecrement
43A monitor supports synchronization by the use of [blank_start]_________[blank_end] that are contained within the monitor and accessible only within the monitor.
- Acondition variables
44In the case of [blank_start]_______[blank_end], messages are not sent directly from sender to receiver but rather are sent to a shared data structure consisting of queues that can temporarily hold messages.
- Aindirect addressing
45The classic concurrency problem that involves multiple readers that can read from a shared data area when no single writer is exclusively writing to it is the [blank_start]___________[blank_end]
- Aproblem
Informações
- Descrição
- Quiz sobre Chapter 5 - OS2T, criado por Rowan Kaag em 02-11-2015.
- Autor
- Rowan Kaag
- Idioma
- English
- Visualizações
- 15
- Avaliação
- Ainda sem avaliações Avalie este quiz