Exam 4: Threads Concurrency
Exam 1: Introduction57 Questions
Exam 2: Operating-System Structures42 Questions
Exam 3: Processes55 Questions
Exam 4: Threads Concurrency59 Questions
Exam 5: Cpu Scheduling57 Questions
Exam 6: Synchronization Tools61 Questions
Exam 7: Synchronization Examples57 Questions
Exam 8: Deadlocks40 Questions
Exam 9: Main Memory58 Questions
Exam 10: Virtual Memory54 Questions
Exam 11: Mass-Storage Structure46 Questions
Exam 12: Io Systems30 Questions
Exam 13: File-System Interface50 Questions
Exam 14: File-System Implementation36 Questions
Exam 15: File-System Internals25 Questions
Exam 16: Security32 Questions
Exam 17: Protection32 Questions
Select questions type
Which of the following items are shared across multiple threads belonging to the same process?
Free
(Multiple Choice)
4.7/5
(26)
Correct Answer:
A
What are the general components of a thread in Windows?
Free
(Essay)
4.8/5
(34)
Correct Answer:
The thread consists of a unique ID, a register set that represents the status of the processor, a user stack for user mode, a kernel stack for kernel mode, and a private storage area used by run-time libraries and dynamic link libraries.
Task parallelism distributes threads and data across multiple computing cores.
Free
(True/False)
4.8/5
(37)
Correct Answer:
False
The trend in developing parallel applications is to use implicit threading.
(True/False)
4.8/5
(36)
Some UNIX systems have two versions of fork(). Describe the function of each version, as well as how to decide which version to use.
(Essay)
4.9/5
(38)
Which of the following is a function that can be provided by Pthreads API for constructing a multithreaded program?
(Multiple Choice)
4.7/5
(33)
Which of the following refers to the capability to allow multiple tasks make progress on a single processor system?
(Multiple Choice)
4.7/5
(24)
_____ is not considered a challenge when designing applications for multicore systems.
(Multiple Choice)
5.0/5
(33)
___________ is a formula that identifies potential performance gains from adding additional computing cores to an application that has a parallel and serial component.
(Multiple Choice)
4.8/5
(32)
____ is a thread library for Solaris that maps many user-level threads to one kernel thread.
(Multiple Choice)
4.8/5
(35)
Thread-local storage is inherently equivalent to local variables.
(True/False)
4.8/5
(37)
One-to-one model provides more concurrency than the many-to-one model by allowing another thread to run when a thread makes a blocking system call.
(True/False)
4.8/5
(34)
Which of the following models are possible for the relationship between the user threads and kernel threads?
(Multiple Choice)
4.9/5
(40)
The single benefit of a thread pool is to control the number of threads.
(True/False)
4.9/5
(28)
Showing 1 - 20 of 59
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)