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

Discussion

Which of the below statements is false ?

  • A.Kernel stack can be used to store the context of a process
  • B.User stack is used to store the function details during function calls
  • C.Kernel stack is used to store the user program functional arguments
  • D.Content of the process is useful to restart the process after some time

Answer: C

The false statement is that the kernel stack is used to store the user program's function arguments.

Arguments, return addresses and local variables of a user program's function calls are kept on the user stack.

The kernel stack is used while the process executes in kernel mode, for system calls and interrupt handling, and it holds the saved context (registers) of the process at that time. That saved context, which the paper prints as 'Content of the process', is what allows the process to be restarted later. So the other three statements are true.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.