first semester assignment of cs604 spring may 2015 with final solution 2015

Sponsored Links

Identify and explain which of the following state is being shared between parent and the child process when a process creates a new process using the fork() operation
Note fork:
Fork means that to create a new process in unix.

a) Heap
b) Shared Memory Segment
c) Stack

Question 2: (5 Marks)
Consider UltraSPARC processor that has multiple register sets, if a new context is already loaded into one of the register then describe the action to be needed by context switch. Also describe that what will happen if new context is loaded into the memory rather than in register set and all registers are in use?