Top 550+ Solved Operating System (OS) MCQ Questions Answer
Q. 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
Q. Multithreading on a multi – CPU machine
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
Q. 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
Q. 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
Q. 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
Q. Which of the following is FALSE?
a. context switch time is longer for kernel level threads than for user level threads
b. user level threads do not need any hardware support
c. related kernel level threads can be scheduled on different processors in a multiprocessor system
d. blocking one kernel level thread blocks all other related threads
Q. The model in which one kernel thread is mapped to many user-level threads is called
a. many to one model
b. one to many model
c. many to many model
d. one to one model
Q. The model in which one user-level thread is mapped to many kernel level threads is called
a. many to one model
b. one to many model
c. many to many model
d. one to one model
Q. In the Many to One model, if a thread makes a blocking system call
a. the entire process will be blocked
b. a part of the process will stay blocked, with the rest running
c. the entire process will run
d. none of the mentioned
Q. In the Many to One model, multiple threads are unable to run in parallel on multiprocessors because of
a. only one thread can access the kernel at a time
b. many user threads have access to just one kernel thread
c. there is only one kernel thread
d. none of the mentioned
Q. The One to One model allows
a. increased concurrency
b. decreased concurrency
c. increased or decreased concurrency
d. concurrency equivalent to other models
Q. Which of the following is the drawback of the One to One Model?
a. increased concurrency provided by this model
b. decreased concurrency provided by this model
c. creating so many threads at once can crash the system
d. creating a user thread requires creating the corresponding kernel thread
Q. When is the Many to One model at an advantage?
a. when the program does not need multithreading
b. when the program has to be multi- threaded
c. when there is a single processor
d. none of the mentioned
Q. In the Many to Many model true concurrency cannot be gained because
a. other threads are strictly prohibited from running
b. other threads are allowed to run
c. other threads only from other processes are allowed to run
d. none of the mentioned