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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

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.

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 1997

.

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

Attachments:

Replies to This Discussion

Q#1

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

Q#1

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

Q2

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 ....................................... 

ALLHAMDULLILAH 

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

RSS

Latest Activity

+++Mahoo+++ replied to +++Student+++++'s discussion MEN
24 minutes ago
loser updated their profile
42 minutes ago
+++Student+++++ liked +++Mahoo+++'s discussion Shukrya Pakistan
51 minutes ago
+++Student+++++ liked +++Mahoo+++'s discussion ALLAH is greatest.
51 minutes ago
+++Student+++++ liked +++Mahoo+++'s discussion Namazi kr dy
51 minutes ago
loser liked +++Student+++++'s discussion MEN
59 minutes ago
loser replied to +++Student+++++'s discussion MEN
59 minutes ago
loser liked +++Student+++++'s discussion MEN
1 hour ago

Today Top Members 

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

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