Operating System (3140702) MCQs

MCQs of Process and Threads Management

Showing 31 to 40 out of 70 Questions
31.
Thread shares with other threads belonging to the same process its
(a) thread id
(b) program Counter
(c) register set and stack
(d) code section and data section
Answer:

Option (d)

32.
User threads _____
(a) are supported above the kernel and are managed without kernel support
(b) are supported below the kernel and are managed without kernel support
(c) are supported above the kernel and are managed with kernel support
(d) are supported below the kernel and are managed with kernel support
Answer:

Option (a)

33.
What is a long-term scheduler ?
(a) It selects which process has to be brought into the ready queue
(b) It selects which process has to be executed next and allocates CPU
(c) It selects which process to remove from memory by swapping
(d) None of these
Answer:

Option (a)

34.
What is a medium-term scheduler ?
(a) It selects which process has to be brought into the ready queue
(b) It selects which process has to be executed next and allocates CPU
(c) It selects which process to remove from memory by swapping
(d) None of these
Answer:

Option (c)

35.
What is a short-term scheduler ?
(a) It selects which process has to be brought into the ready queue
(b) It selects which process has to be executed next and allocates CPU
(c) It selects which process to remove from memory by swapping
(d) None of these
Answer:

Option (b)

36.
What is FIFO algorithm?
(a) First executes the job that came in last in the queue
(b) First executes the job that came in first in the queue
(c) First executes the job that needs minimal processor
(d) First executes the job that has maximum processor needs
Answer:

Option (b)

37.
What is the ready state of a process?
(a) When process is scheduled to run after some execution
(b) When process is unable to run until some task has been completed
(c) When process is using the CPU
(d) None of the mentioned
Answer:

Option (a)

38.
When the process issues an I/O request :
(a) It is placed in an I/O queue
(b) It is placed in a waiting queue
(c) It is placed in the ready queue
(d) It is placed in the Job queue
Answer:

Option (a)

39.
Which of the following algorithms tends to minimize the process flow time?
(a) First come First served
(b) Shortest Job First
(c) Earliest Deadline First
(d) Longest Job First
Answer:

Option (b)

40.
Which of the following is a criterion to evaluate a scheduling algorithm?
(a) CPU Utilization: Keep CPU utilization as high as possible
(b) Throughput: number of processes completed per unit time
(c) Waiting Time: Amount of time spent ready to run but not running
(d) All of the above
Answer:

Option (d)

Showing 31 to 40 out of 70 Questions