Operating System MCQ - Multithreading

This section focuses on "MultiThreading" in Operating System. These Multiple Choice Questions (MCQ) should be practiced to improve the Operating System skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. What is true about thread?

A. Thread switching does not need to interact with operating system.
B. All threads can share same set of open files, child processes.
C. Multiple threaded processes use fewer resources.
D. All of the above

View Answer


2. A thread is also called ?

A. heavyweight process
B. lightweight process
C. data segment process
D. overhead process

View Answer


3. In how many ways Threads are implemented?

A. Two
B. Three
C. Four
D. Five

View Answer


4. Which of the following is not an advantage about thread?

A. Threads minimize the context switching time.
B. Use of threads provides concurrency within a process.
C. kernel is single threaded
D. All of the above

View Answer


5. Which of the following is true about kernal level thread?

A. Implementation is by a thread library at the user level.
B. Kernel-level threads are slower to create and manage.
C. Multi-threaded applications cannot take advantage of multiprocessing.
D. Both B and C

View Answer


6. Which of the following is true about user level thread?

A. User level thread is specific to the operating system.
B. User-level routines themselves can be multithreaded.
C. User-level threads are faster to create and manage.
D. All of the above

View Answer


7. Multithreading models are _________ types?

A. 2
B. 3
C. 4
D. 5

View Answer


8. The kernel is _______ of user threads.

A. a part of
B. the creator of
C. unaware of
D. aware of

View Answer


9. 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

View Answer


10. The jacketing technique is used to ___________

A. convert a blocking system call into non blocking system call
B. create a new thread
C. communicate between threads
D. terminate a thread

View Answer





Discussion


* You must be logged in to add comment.