Operating System (3140702) MCQs

MCQs of Process and Threads Management

Showing 61 to 60 out of 70 Questions
61.
Which of the following are the states of a five state process model? i) Running ii) Ready iii) New iv) Exit v) Destroy
(a) i, ii, iii and v only
(b) i, ii, iv and v only
(c) i, ii, iii, and iv only
(d) All i, ii, iii, iv and v
Answer:

Option (c)

62.
State which statement is true for Suspended process? i) The process is not immediately available for execution. ii) The process may be removed from suspended state automatically without removal order.
(a) i only
(b) ii only
(c) i and ii both
(d) None of the above
Answer:

Option (a)

63.
Following is/are the reasons for process suspension.
(a) Swapping parent process
(b) Interrupt request
(c) Timing
(d) All of the above
Answer:

Option (d)

64.
In process scheduling,________________ determines when new processes are admitted to the system.
(a) long term scheduling
(b) medium term scheduling
(c) short term scheduling
(d) None of the above
Answer:

Option (a)

65.
Five batch jobs A to E arrive at same time. They have estimated running times 10,6,2,4 and 8 minutes. Their priorities are 3,5,2,1 and 4 respectively with 5 being highest priority. In which sequence process will get turn to execute under non preemptive priority scheduling algorithm.
(a) ABCDE
(b) BEACD
(c) DCAEB
(d) EDCBA
Answer:

Option (b)

66.
Five batch jobs A to E arrive at same time. They have estimated running times 10,6,2,4 and 8 minutes. Their priorities are 3,5,2,1 and 4 respectively with 5 being highest priority. In which sequence process will get turn to execute under shortest job first scheduling algorithm.
(a) CDBEA
(b) ABCDE
(c) AEBDC
(d) EDCBA
Answer:

Option (a)

67.
Five batch jobs A to E arrive at same time. They have estimated running times 10,6,2,4 and 8 minutes. Their priorities are 3,5,2,1 and 4 respectively with 5 being highest priority. In which sequence process will get turn to execute under first come first serve scheduling algorithm.
(a) CDBEA
(b) ABCDE
(c) AEBDC
(d) EDCBA
Answer:

Option (b)

68.
Five batch jobs A to E arrive at 0,1,2,4,5. They have estimated running times 10,6,2,4 and 8 minutes. Their priorities are 3,5,2,1 and 4 respectively with 5 being highest priority. In which sequence process will get turn to execute under round robin scheduling algorithm for quantum time=4.
(a) ABCDE
(b) EDCBA
(c) ABCDEABEA
(d) ABCDEABEAB
Answer:

Option (c)

69.
Four batch jobs A to D arrive at same time. They have estimated running times 10,6,2 and 8 minutes. Their priorities are 3,2,1 and 4 respectively with 4 being highest priority. Which process will get turn first to execute under preemptive priority scheduling algorithm.
(a) A
(b) B
(c) C
(d) D
Answer:

Option (d)

70.
Four batch jobs A to D arrive at same time. They have estimated running times 10,6,2 and 8 minutes. Their priorities are 3,2,1 and 4 respectively with 4 being highest priority. Which process will get turn first to execute under shortest job first scheduling algorithm.
(a) A
(b) B
(c) C
(d) D
Answer:

Option (c)

Showing 61 to 60 out of 70 Questions