We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution
+ Link For Past Papers, Solved MCQs, Short Notes & More
Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Assignment No. 01
CS604 –Operating System
Total Marks: 10
Due Date: 20/05/2015
Rules for Marking:
It should be clear that your assignment will not get any credit if:
(Strict disciplinary action will be taken in this case).
Question 1: (5 Marks)
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
b) Shared Memory Segment
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?
NOTE: Do not put any query on MDB about this assignment, if you have any query then email at firstname.lastname@example.org.
Deadline: Your assignment must be uploaded/submitted on or before 20th May 2015.
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.
Plz tel me
The fork() system call
When the fork system call is executed, a new process is created. The original process is called the parent process whereas the process is called the child process. The new process consists of a copy of the address space of the parent. This mechanism allows the parent process to communicate easily with the child process. On success, both processes
continue execution at the instruction after the fork call, with one difference, the return code for the fork system call is zero for the child process, while the process identifier of the child is returned to the parent process. On failure, a -1 will be returned in the parent's context, no child process will be created, and an error number will be set appropriately.
Answer: Only the shared memory segments are shared between the parent process and the newly forked child process. Copies of the stack and the heap are made for the newly created process.
2nd walay swal pay b zra apni torch say roshni dalain
rite _NaYab Wish_
Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....
is assisgment mai aur discussion karo kal last date hay
koi or silution upload kre g plzzzzz