Correct answer: (B) Waiting to Running; (C) Ready to Waiting
Explanation
Running→Ready (preemption) and Running→Terminated are valid. A waiting process must first go to Ready before Running, and a Ready process cannot go directly to Waiting.
More System Calls, Processes, Threads and IPC questions
GATE 2024 CS (CS1) Q57– Consider the code: The total number of times the printf statement is executed is
GATE 2024 CS (CS2) Q25– Consider a process P running on a CPU. Which one or more of the following events will…
GATE 2023 CS Q22– Which one or more of the following need to be saved on a context switch from one thread…
GATE 2023 CS Q23– Which one or more of the following options guarantee that a computer system will…
GATE 2021 CS (CS1) Q24– Which of the following standard C library functions will always invoke a system call when…
GATE 2020 CS Q22– Consider the following statements about process state transitions for a system using…