107k views
5 votes
The possible states of a process are:

a. new, running, waiting, ready, and terminated.
b. The process is created while in the new state. In the running or waiting state, the process is executing or waiting for an event to occur respectively.
c. The ready state occurs when the process is ready and waiting to be assigned to a processor and should not be confused with the waiting state mentioned earlier.
d. After the process is finished executing its code, it enters the termination state.

User Dmanexe
by
5.1k points

2 Answers

4 votes

Answer:

The correct answer is A) New (or created), Running, Waiting, Ready, and Terminated.

Step-by-step explanation:

  • When a process is first created, it occupies the "created" or "new" state. In this state, the process awaits admission to the "ready" state
  • Running process moves into the running state when it is chosen for execution. The process's instructions are executed by one of the CPUs (or cores) of the system. There is at most one running process per CPU or core. A process can run in either of the two modes, namely kernel mode or user mode.
  • A "ready" or "waiting" process is on that has been uploaded into main memory and is awaiting execution on a processor.
  • A process may be terminated, either from the "running" state by completing its execution or by explicitly being killed. In either of these cases, the process moves to the "terminated" state. This means that the underlying program is no longer executing

Cheers!

User Nadeem Ullah
by
5.4k points
3 votes

Answer:

a. new, running, waiting, ready, and terminated.

Step-by-step explanation:

The process in a computer system can have different states and these are:

-New: When the process is created.

-Ready: When the process is waiting to be executed.

-Running: When the process is chosen to be executed.

-Waiting: When the process is expecting for something to happen.

-Terminated: When the process is not running anymore.

According to this, the answer is that the possible states of a process are: new, running, waiting, ready, and terminated.

User Wrm
by
5.4k points