Statement (I): A thread is a dispatchable unit of work that does not execute sequentially and is not interruptible.
Statement (II): It is not possible to alter the behaviour of a thread by altering its context when the thread is suspended.
In the light of the above statements, choose the most appropriate answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. Both Statement I and Statement II are incorrect
Explanation
A thread executes sequentially and is interruptible (I false). Its behaviour can be altered by changing its saved context while suspended (II false).More System Software and Operating System questions
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R. Assertion A: I/O protection is ensure…
- Consider the following statements: S1: The LRU page-replacement algorithm suffers from Belady's anomaly. S2: Shortest-remaining-time-first…
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R. Assertion A: A process invokes a libr…
- With respect to virtual memory: Statement I: Address translation is performed for every logical address used during the execution of a prog…
- A virtual memory system uses the first-in first-out page replacement policy and allocates a fixed number of frames to a process. Assertion…
- Consider the following arrival and burst times for three processes P0, P1, P2. The pre-emptive shortest job first algorithm is used, and sc…