Deck 4: Threads

ملء الشاشة (f)
exit full mode
سؤال
In a multithreaded environment there are separate stacks for each thread, as well as a separate control block for each thread.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The idea of having a many-to-many relationship between threads and processes has been explored in the experimental operating system _________ .

A) VISTA
B) TRIX
C) SOLARIS
D) LEOPARD
سؤال
_________ is a good example of an OS using a combined ULT/KLT approach.

A) TRIX
B) Windows
C) LINUX
D) Solaris
سؤال
Windows process design is driven by the need to provide support for a variety of OS environments.
سؤال
It takes less time to terminate a process than a thread.
سؤال
An example of an application that could make use of threads is a file server.
سؤال
The potential performance benefits of a multicore organization depend on the ability to effectively exploit the parallel resources available to the application.
سؤال
In a multithreaded environment, a __________ is defined as the unit of resource allocation and a unit of protection.

A) strand
B) process
C) string
D) trace
سؤال
The OS performs a protection function to prevent unwanted interference between processes with respect to resources.
سؤال
If there is an application or function that should be implemented as a set of related units of execution, it is far more efficient to do so as a collection of separate processes rather than a collection of threads.
سؤال
The traditional approach of a single thread of execution per process, in which the concept of a thread is not recognized, is referred to as a __________ .

A) task
B) resource
C) single-threaded approach
D) lightweight process
سؤال
Any alteration of a resource by one thread affects the environment of the other threads in the same process.
سؤال
If a process is swapped out, all of its threads are necessarily swapped out because they all share the address space of the process.
سؤال
On a uniprocessor, multiprogramming does not enable the interleaving of multiple threads within multiple processes.
سؤال
Termination of a process does not terminate all threads within that process.
سؤال
The principal disadvantage of the _________ approach is that the transfer of control from one thread to another within the same process requires a mode switch to the kernel.

A) KLT
B) LWP
C) VAX
D) ULT
سؤال
In a pure ULT facility, all of the work of thread management is done by the application, and the kernel is not aware of the existence of threads.
سؤال
Windows is an example of a kernel-level thread approach.
سؤال
The unit of dispatching is usually referred to as a process or task.
سؤال
As a default, the kernel dispatcher uses the policy of hard affinity in assigning threads to processors.
سؤال
There are four basic thread operations associated with a change in thread state: Block, Unblock, Finish, and _________ .
سؤال
__________ refers to the ability of an OS to support multiple, concurrent paths of execution within a single process.
سؤال
A __________ is a dispatchable unit of work that executes sequentially and is interruptible so that the processor can turn to another thread.

A) port
B) process
C) token
D) thread
سؤال
The __________ state is when the thread has terminated.

A) ZOMBIE
B) FREE
C) STOP
D) SLEEP
سؤال
A ________ is a user-created unit of execution within a process.

A) Kernel
B) KLT
C) lightweight process
D) ULT
سؤال
The _________ are the fundamental entities that can be scheduled and dispatched to run on one of the system processors.

A) Processes
B) Kernel threads
C) LWPs
D) ULTs
سؤال
A way to overcome the problem of blocking threads is to use a technology referred to as __________ , which converts a blocking system call into a nonblocking system call.
سؤال
The __________ Windows Process Object Attribute describes who created an object, who can gain access to or use the object, and who is denied access to the object.
سؤال
A Windows process must contain at least _________ thread(s) to execute.

A) four
B) three
C) two
D) one
سؤال
A thread enters the _________ state, after waiting, if it is ready to run but the resources are not available.

A) Terminated
B) Standby
C) Transition
D) Waiting
سؤال
A _________ is a single execution path with an execution stack, processor state, and scheduling information.

A) domain
B) strand
C) thread
D) message
سؤال
__________ are characterized by the presence of many single-threaded processes.

A) Multiprocess applications
B) Java applications
C) Multiinstance applications
D) Multithreaded native applications
سؤال
Windows makes use of two types of process-related objects: processes and _________ .
سؤال
The blocked state in which the process is waiting for an event, such as the end of an I/O operation, the availability of a resource, or a signal from another process is the _________ state.

A) Times and timers
B) Uninterruptible
C) Stopped
D) Interruptible
سؤال
A __________ is an entity corresponding to a user job or application that owns resources such as memory and open files.

A) task
B) process
C) thread
D) token
سؤال
The __________ is the collection of program, data, stack, and attributes defined in the process control block.
سؤال
A __________ is a static entity, consisting of an address space and ports through which messages may be sent and received.
سؤال
There are two broad categories of thread implementation: user-level threads (ULTs) and ________.
سؤال
The key states for a thread are: Running, _________, and Blocked.
سؤال
The six states of a Windows thread are: Ready, Standby, Running, Waiting, Transition, and _________ .
سؤال
It is necessary to __________ the activities of various threads so they do not interfere with each other or corrupt data structures.
سؤال
The Clouds operating system implements the concept of a thread as primarily an entity that can move among address spaces which represents the __________ Thread-to-Process relationship.
سؤال
The basic form of communication between processes or threads in a microkernel operating system is _________ .
سؤال
Most operating systems contain two fundamental forms of concurrent activity: processes and _________ .
سؤال
A process or task in Linux is represented by a __________ data structure.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/45
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 4: Threads
1
In a multithreaded environment there are separate stacks for each thread, as well as a separate control block for each thread.
True
2
The idea of having a many-to-many relationship between threads and processes has been explored in the experimental operating system _________ .

A) VISTA
B) TRIX
C) SOLARIS
D) LEOPARD
B
3
_________ is a good example of an OS using a combined ULT/KLT approach.

A) TRIX
B) Windows
C) LINUX
D) Solaris
D
4
Windows process design is driven by the need to provide support for a variety of OS environments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
5
It takes less time to terminate a process than a thread.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
6
An example of an application that could make use of threads is a file server.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
7
The potential performance benefits of a multicore organization depend on the ability to effectively exploit the parallel resources available to the application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
8
In a multithreaded environment, a __________ is defined as the unit of resource allocation and a unit of protection.

A) strand
B) process
C) string
D) trace
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
9
The OS performs a protection function to prevent unwanted interference between processes with respect to resources.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
10
If there is an application or function that should be implemented as a set of related units of execution, it is far more efficient to do so as a collection of separate processes rather than a collection of threads.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
11
The traditional approach of a single thread of execution per process, in which the concept of a thread is not recognized, is referred to as a __________ .

A) task
B) resource
C) single-threaded approach
D) lightweight process
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
12
Any alteration of a resource by one thread affects the environment of the other threads in the same process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
13
If a process is swapped out, all of its threads are necessarily swapped out because they all share the address space of the process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
14
On a uniprocessor, multiprogramming does not enable the interleaving of multiple threads within multiple processes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
15
Termination of a process does not terminate all threads within that process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
16
The principal disadvantage of the _________ approach is that the transfer of control from one thread to another within the same process requires a mode switch to the kernel.

A) KLT
B) LWP
C) VAX
D) ULT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
17
In a pure ULT facility, all of the work of thread management is done by the application, and the kernel is not aware of the existence of threads.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
18
Windows is an example of a kernel-level thread approach.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
19
The unit of dispatching is usually referred to as a process or task.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
20
As a default, the kernel dispatcher uses the policy of hard affinity in assigning threads to processors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
21
There are four basic thread operations associated with a change in thread state: Block, Unblock, Finish, and _________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
22
__________ refers to the ability of an OS to support multiple, concurrent paths of execution within a single process.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
23
A __________ is a dispatchable unit of work that executes sequentially and is interruptible so that the processor can turn to another thread.

A) port
B) process
C) token
D) thread
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
24
The __________ state is when the thread has terminated.

A) ZOMBIE
B) FREE
C) STOP
D) SLEEP
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
25
A ________ is a user-created unit of execution within a process.

A) Kernel
B) KLT
C) lightweight process
D) ULT
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
26
The _________ are the fundamental entities that can be scheduled and dispatched to run on one of the system processors.

A) Processes
B) Kernel threads
C) LWPs
D) ULTs
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
27
A way to overcome the problem of blocking threads is to use a technology referred to as __________ , which converts a blocking system call into a nonblocking system call.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
28
The __________ Windows Process Object Attribute describes who created an object, who can gain access to or use the object, and who is denied access to the object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
29
A Windows process must contain at least _________ thread(s) to execute.

A) four
B) three
C) two
D) one
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
30
A thread enters the _________ state, after waiting, if it is ready to run but the resources are not available.

A) Terminated
B) Standby
C) Transition
D) Waiting
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
31
A _________ is a single execution path with an execution stack, processor state, and scheduling information.

A) domain
B) strand
C) thread
D) message
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
32
__________ are characterized by the presence of many single-threaded processes.

A) Multiprocess applications
B) Java applications
C) Multiinstance applications
D) Multithreaded native applications
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
33
Windows makes use of two types of process-related objects: processes and _________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
34
The blocked state in which the process is waiting for an event, such as the end of an I/O operation, the availability of a resource, or a signal from another process is the _________ state.

A) Times and timers
B) Uninterruptible
C) Stopped
D) Interruptible
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
35
A __________ is an entity corresponding to a user job or application that owns resources such as memory and open files.

A) task
B) process
C) thread
D) token
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
36
The __________ is the collection of program, data, stack, and attributes defined in the process control block.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
37
A __________ is a static entity, consisting of an address space and ports through which messages may be sent and received.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
38
There are two broad categories of thread implementation: user-level threads (ULTs) and ________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
39
The key states for a thread are: Running, _________, and Blocked.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
40
The six states of a Windows thread are: Ready, Standby, Running, Waiting, Transition, and _________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
41
It is necessary to __________ the activities of various threads so they do not interfere with each other or corrupt data structures.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
42
The Clouds operating system implements the concept of a thread as primarily an entity that can move among address spaces which represents the __________ Thread-to-Process relationship.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
43
The basic form of communication between processes or threads in a microkernel operating system is _________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
44
Most operating systems contain two fundamental forms of concurrent activity: processes and _________ .
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
45
A process or task in Linux is represented by a __________ data structure.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 45 في هذه المجموعة.