CS/IT MCQ Collections

MCQ Questions on Threads, SMP And Microkernels Part-1

Pinterest LinkedIn Tumblr
This set of Multiple choice questions on Threads, SMP, and microkernels include the collections of objective questions on fundamentals of threads, SMP, and microkernels in the operating system. It includes MCQ on key benefits of threads derive from the performance implications, the uses of threads in a single user multiprocessing system, the advantages to the use of user-level threads over kernel-level threads and the principal example of combined User-level threads and Kernel level threads.

1. ………… is an effective means of structuring the operating system to support process management and its other tasks.
A) Thread
B) Symmetric Multiprocessing
C) Process
D) Microkernel

2. With ……….., the operating system must be able simultaneously to schedule different processes on multiple processors.
A) Thread
B) Symmetric Multiprocessing
C) Process
D) Microkernel

3. ……….. is an example of a system of one process with multiple threads.
A) MS-Dos
B) UNIX
C) Java run time environment
D) Linux

4. Which of the following is/are the key benefits of threads derive from the performance implications
i) It takes for less time to create a new thread in an existing process than to create a brand new process
ii) It takes less time to terminate a thread than a process
iii) It takes less time to switch between two threads with in the same processes
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

5. State whether the following statements about thread are True.
i) The unit of resource ownership is usually referred to as a thread.
ii) Thread enhances efficiency in communication between different executing programs.
iii) An example of an application that could make use of threads is a file server.
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

6. Which of the following are the example of the uses of threads in a single user multiprocessing system?
i) Foreground and background work ii) Synchronous processing iii) Speed execution iv) Modular program structure
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv

7. ……….. within a single user multi-processing system programs that involve a variety of activities or a variety of sources and destinations of input and output may be easier to design and implement using threads.
A) Foreground and background work
B) Synchronous processing
C) Speed execution
D) Modular program structure

8. Which of the following are the basic thread operations associated with a change in thread state?
i) spawn  ii) Block  iii) Pause  iv) Unblock  v) Finish
A) i, ii, iii and iv
B) ii, iii, iv and v
C) i, ii, iv and v
D) i, iii, iv and v

9. In …………, all of the work of thread management is done by the application and the kernel is not aware of the existence of threads.
A) User-level threads
B) Kernel level threads
C) Application-level threads
D) Process level threads

10. There are a number of advantages to the use of user-level threads over kernel-level threads. They are
i) scheduling can be application-specific
ii) ULT can run on any operating system
iii) Does not require kernel-mode privileges
A) i and ii only
B) ii and iii only
C) i and iii only
D) All i, ii and iii

11. When a ………… executes a system call, not only is that thread blocked, but all of the threads within the process are blocked.
A) User-level threads
B) Kernel level threads
C) Application-level threads
D) Process level threads

12. In ………, there is no thread management code in the application area, simply an application programming interface to the kernel thread facility.
A) User-level threads
B) Kernel level threads
C) Application-level threads
D) Process level threads

13. In ……….., the threads library contains code for creating and destroying threads, for passing messages and data between threads, for scheduling thread execution, and for saving and restoring thread contexts.
A) User-level threads
B) Kernel level threads
C) Application-level threads
D) Process level threads

14. In ……….., thread creation is done completely in user space as is the bulk of the scheduling and synchronization of threads within an application.
A) User-level threads
B) Kernel level threads
C) Combined User-level threads and Kernel level threads
D) None of the above

15…….. in the principal example of combined User-level threads and Kernel level threads approaches of thread implementation.
A) Linux
B) OS/2
C) Solaris
D) W2K

16. In a …………, each thread of execution is a unique process with its own address space and resources.
A) single process and single thread
B) single process with multiple threads
C) multiple processes with a single thread
D) multiple processes with multiple threads

17. In a ………. a thread may migrate from one process environment to another which allows a thread to be easily moved among distinct systems.
A) single process and single thread
B) single process with multiple threads
C) multiple processes with a single thread
D) multiple processes with multiple threads

18. In a ……… process defines an address space and dynamic resource ownership.
A) single process and single thread
B) single process with multiple threads
C) multiple processes with a single thread
D) multiple processes with multiple threads

19. A …….. is an example of a system of multiple processes with multiple threads.
A) UNIX
B) TRIX
C) Linux
D) Solaris

20. An ……… is an example of a system of multiple processes with a single thread.
A) UNIX
B) TRIX
C) Linux
D) Emerald

Answers

1. D) Microkernel
2. B) Symmetric Multiprocessing 
3. C) Java run time environment
4. D) All i, ii and iii
5. B) ii and iii only
6. C) i, iii and iv only
7. D) Modular program structure
8. C) i, ii, iv and v
9. A) User level threads
10.D) All i, ii and iii
11.A) User level threads
12.B) Kernel level threads
13.A) User level threads
14.C) Combined User-level threads and Kernel level threads
15.C) Solaris
16.A) single process and single thread
17.C) multiple processes with a single thread
18.B) single process with multiple threads
19.B) TRIX
20.D) Emerald    

Read Next: MCQ Questions on Threads, SMP And Microkernels Part-2

Please follow and like us:
RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
linkedIn | MCQ Questions on Threads, SMP And Microkernels Part-1
Share

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.

RSS
Follow by Email
X (Twitter)
Visit Us
Follow Me
YouTube
YouTube
LinkedIn
Share