We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ 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 Semester: Fall 2015 CS604 –Operating System Due Date: 20/05/2015

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


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?


NOTE: Do not put any query on MDB about this assignment, if you have any query then email at cs604@vu.edu.pk.


Deadline: Your assignment must be uploaded/submitted on or before 20th May 2015.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 2033


+ 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)


Replies to This Discussion


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


The parent and child share only the shared memory segments. Everything else is duplicated, but
the child has its own versions (changes it makes won’t be visible to the parent, and vice-versa


The CPU current-register-set pointer is changed to point to the

set containing the new context,which takes very little time. If the context

is in memory, one of the contexts in a register set must be chosen and be

moved to memory, and the new context must be loaded from memory  into the set. This process takes a little more time than on systems with one set of registers, depending on how a replacement victim is selected.

i have done 

dono ques sir ne net se utha k dey diay

i have done too... 

file kahan hai :

pisces k system k foldr ma

m DONE at very first day ....................................... 


 to all............  Rubab nice place to save assignment from other students.......


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service