A process may consist of multiple threads of execution all of which share the re
ID: 3564234 • Letter: A
Question
A process may consist of multiple threads of execution all of which share the resources allocated to the process. True False Each thread in a multithreaded process has its own execution state. True False Each thread in a multithreaded process has its own context. True False Each thread in a multithreaded process has its own stack. True False Threads in a multithreaded process share the process id but have individual thread ids. True False Thread creation/termination/switching is way faster than process creation/termination/switching. True False Inter-thread communication is way faster than inter-process communication as long asthe threads belong to the same process. True False Designing an application as a multithreaded process naturally leads to a modular program structure. True False Having multiple kernel level threads in a process speeds up its execution in a multiprocessor because multiple threads of the process can run concurrently on multiple CPUs. True False Having multiple kernel level threads in a process will not lead to faster execution of the process on a uniprocessor because only one thread can run at a time. True False Kernel is aware of the existence of both kernel level threads and user level threads. True False When one kernel level thread makes a blocking call, all the other kernel level threads in the process become blocked as well. True False When any user level thread makes a blocking call, the process as a whole becomes blocked. True False User level threads allow multiple blocking function calls to be made in parallel. In other words, while a user level thread is blocked, other user level threads can make their own blocking function calls. True False A process with multiple kernel level threads can execute much faster than a process with a single thread even on a uniprocessor. True False A process with multiple user level threads can execute much faster than a process with a single thread. True False User level thread creation/termination/switching is way faster than kernel level thread creation/termination/switching because user level thread operations do not require switching to the kernel mode. True False A programmer can control the order in which user level threads are scheduled. True False A programmer can control the order in which the kernel level threads are scheduled. True False User level threads lead to much more portable applicationsExplanation / Answer
True/False answers:
1. True
2. True
3.True
4.True
5.True
6.True
7.True
8.True
9.True
10.True
11.False
12.False
13.True
14.False
15.True
16.True
17.True
18.False
19.False
20.True
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.