

MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Operating System knowledge and support exam preparation. Choose a topic below to get started.
1. |
Because the kernel thread management is done by the Operating System itself ___________ |
A. | kernel threads are faster to create than user threads |
B. | kernel threads are slower to create than user threads |
C. | kernel threads are easier to manage as well as create then user threads |
D. | none of the mentioned |
Answer» C. kernel threads are easier to manage as well as create then user threads | |
2. |
If the kernel is single threaded, then any user level thread performing a blocking system call will ___________ |
A. | cause the entire process to run along with the other threads |
B. | cause the thread to block with the other threads running |
C. | cause the entire process to block even if the other threads are available to run |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
3. |
Multithreading on a multi CPU machine ___________ |
A. | decreases concurrency |
B. | increases concurrency |
C. | doesn t affect the concurrency |
D. | can increase or decrease the concurrency |
Answer» C. doesn t affect the concurrency | |
4. |
Resource sharing helps ___________ |
A. | share the memory and resources of the process to which the threads belong |
B. | an application have several different threads of activity all within the same address space |
C. | reduce the address space that a process could potentially use |
D. | all of the mentioned |
Answer» E. | |
5. |
Multithreading an interactive program will increase responsiveness to the user by ___________ |
A. | continuing to run even if a part of it is blocked |
B. | waiting for one part to finish before the other begins |
C. | asking the user to decide the order of multithreading |
D. | none of the mentioned |
Answer» B. waiting for one part to finish before the other begins | |
6. |
A process having multiple threads of control implies ___________ |
A. | it can do more than one task at a time |
B. | it can do only one task at a time, but much faster |
C. | it has to use only one thread per process |
D. | none of the mentioned |
Answer» B. it can do only one task at a time, but much faster | |
7. |
A heavy weight process ___________ |
A. | has multiple threads of execution |
B. | has a single thread of execution |
C. | can have multiple or a single thread for execution |
D. | none of the mentioned |
Answer» C. can have multiple or a single thread for execution | |
8. |
A thread shares its resources(like data section, code section, open files, signals) with ___________ |
A. | other process similar to the one that the thread belongs to |
B. | other threads that belong to similar processes |
C. | other threads that belong to the same process |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
9. |
A thread is also called ___________ |
A. | Light Weight Process(LWP) |
B. | Heavy Weight Process(HWP) |
C. | Process |
D. | None of the mentioned |
Answer» B. Heavy Weight Process(HWP) | |