Operating System MCQs

1019 MCQs  (Page 69 of 102)

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
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
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
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
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
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
The kernel is _______ of user threads.
A. A part of
B. The creator of
C. Unaware of
D. Aware of
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
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
If a kernel thread performs a blocking system call, ____________
A. The kernel can schedule another thread in the application for execution
B. The kernel cannot schedule another thread in the same application for execution
C. The kernel must schedule another thread of a different application for execution
D. The kernel must schedule another thread of the same application on a different processor