The Unix Operating System Kernel maintains two key data structures related to processes: the process table and the user structure. Consider the following statements:
Statement I: The process table is resident all the time and contains information needed for all processes, even those that are not currently in memory.
Statement II: The user structure is swapped or paged out when its associated process is not in memory, in order not to waste memory on information that is not needed.
Which of the statements given above is/are correct?
Correct Answer: A — Both Statement I and Statement II are correct
Explanation:
The process table resides in memory permanently for process tracking, while the user structure can be swapped out to save memory when a process is not executing.