Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS604 Operating Systems vu current Assignment No 5 Spring June 2012
#1
Question 1:
Let as consider a female Shabnam working in a beauty parlor. Shabnam use to do make only. In beauty parlor there are two rooms. One room is called make up room and the second room is called rest room. Rest room is used for waiting and the Make up room is used for make up. In make up room Shabnam do make of a female client (only one at a time) and in the rest room female clients keep waiting for their turns. Beauty parlor has n number of sofas in rest room. And the make up room contains the sofa for Shabnam. When there will be no female client to be served then Shabnam will start sleeping on her sofa. But if a female client enters beauty parlor and she finds that no sofa is empty i.e. they are all occupied then female client will leave the beauty parlor. However, if a female client enters beauty parlor and she finds that Shabnam is doing a make up of any other female client then she will sit on one of the available sofa in beauty parlor. However, if a female client enters beauty parlor and she finds that Shabnam is sleeping then female client will wake up Shabnam.

You need to write a C program or Pseudo code that uses semaphores, wait and signal operations to SYNCHRONIZE Shabnam and female client.
Question 2:
Q. Let us consider a page size of 16 bytes and process address space of 32 pages and physical address space of 64 frames. Calculate the following.
a) Number of bits needed for ‘p’.
b) Number of bits needed for ‘f’.
c) Number of bits needed for ‘d’.
d) Size of logical address i.e. Number of bits needed to uniquely identify a page in this address space of 16
pages.
e) Logical address in bits for (18, 10). Where ‘p’ and ‘d’ are 18 and 10 respectively.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,322 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,907 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 1,928 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,165 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,241 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 1,966 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,664 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,800 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,701 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,796 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)