Machine-translated by Google. Questions are authored in English.
Top

Processes and Threads Questions and Answers

Answer: B

The possible thread states in Windows 2000 are ready, standby, running, waiting, transition and terminated. A thread is ready when it can run, standby when it has been selected to run next on a processor, running when it is executing, waiting when it blocks on an object, transition when it is ready but its kernel stack is paged out, and terminated when it finishes.

The other options list only some of these states, so they are incomplete.

Please log in or register to report this question.

22.

Match the following :

List - I (Process state transition)List - II (Reason for transition)
a. Ready→ Runningi. Request made by the process is satisfied or an event for which it was waiting occurs.
b. Blocked→ Readyii. Process wishes to wait for some action by another process.
c. Running→ Blockediii. The process is dispatched.
d. Running→ Readyiv. The process is preempted.

Codes : a b c d

Exam Year(s)

UGC NET - 2013,

Answer: A

The transition Ready to Running happens when the process is dispatched (a with iii). Blocked to Ready happens when the request made by the process is satisfied or the event it waited for occurs (b with i). Running to Blocked happens when the process wishes to wait for some action by another process (c with ii). Running to Ready happens when the process is preempted (d with iv).

The codes are iii, i, ii, iv, which is option A. The other options put the preempted or dispatched reason against the wrong transition.

Please log in or register to report this question.

Loading…
Tags: Processes and Threads Questions and Answers || Processes and Threads MCQ Questions and Answers || Processes and Threads GK Questions and Answers || Processes and Threads GK MCQ Questions || Processes and Threads Multiple Choice Questions and Answers || Processes and Threads GK || GK on Processes and Threads || Operating Systems Questions and Answers || Operating Systems MCQ Questions and Answers || Operating Systems GK Questions and Answers || GK on Operating Systems