Computer Science, asked by yaswanthkummari123, 1 month ago

When you declare a recursive function, each time the current state of the calling
function is stored in memory in the Process Control Block (PCB)
How will you store this PCB in memory?​

Answers

Answered by ItzMissHeartHacker
4

Answer:

Insomnia. Insomnia, the inability to get to sleep or sleep well at night, can be caused by stress, jet lag, a health condition, the medications you take, or even the amount of coffee you drink. Insomnia can also be caused by other sleep disorders or mood disorders such as anxiety and depression.

Answered by ankhidassarma9
0

Answer:

Process Control Block (PCB)

  • PCBs are stored in memory in the form of Linked List .
  • A Process table contains a reference to every process currently being executed in the system. So, whenever operating system performs context switching, it refers to the Process table for the required process.
  • The process control block (PCB) is used to track Process execution status.
  • Each block of memory contains information about the process state, program counter, stack pointer, status of opened files, scheduling algorithms, etc.
  • All the information about a process is required and must be saved when the process is switched from one state to another. During the transition of process  from one state to another, the operating system must update information in the process’s PCB.

Similar questions