free geoip

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Operating System- CS604 Assignment # 4 solution fall 2010
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Due Date
Your assignment must be uploaded before or on 28th Jan 2010.
Objective
The objective of this assignment is to familiarize with Memory Management.

Instructions
Ø Avoid Plagiarism. No marks will be given in case of cheating or copying from the internet or from other students.
Ø Submit the assignment through your account on VULMS. No assignment will be accepted through email after the due date.
Ø

Question # 1

The logical address space of the process is 32 pages and the size of each page is 4 Kb. There are 256 frames in the main memory. The size of a frame is equivalent to the size of a page. With the given information, answer to the following questions:

  • Calculate the size of Logical Address?
  • Find the size of the Logical Memory?
  • Calculate the size of Physical Address?
  • Determine the size of the Physical Memory?


Attached Files
.doc   Fall 2010_CS604_4.doc (Size: 53 KB / Downloads: 227)
Reply
#2
Solution can be seen in the images

[Image: CS604_4_Sol_mc080408204%2Batif.JPG]
[Image: cs%2B604%2B%2528ik%2Bsolution%2Bmumtaz%2...2BBHAI.JPG]
Reply
#3
The logical address space of the process is 8 pages and the size ofeach page is 1 Kb. There are 64 frames in the main memory. The sizeof a frame is equivalent to the size of a page. With the giveninformation, answer to the following questions:

1 Calculate thesize of Logical Address?
2 Find the size ofthe Logical Memory?
3 Calculate the size of Physical Address?
4 Determine the sizeof the Physical Memory?

Solution
Logical address space has 8bits..therefore it requires 3 bits to denote the page [since 23 =8]
Size of each page is 1Kb i.e. 1024 words..therefore it requires 10bits to denote the words . [since 1024 = 210]

1) Therefore size of logical address = 3 bits (for page) + 10bits ( for words)
= 13 bits

2) size of logical memory = 8 pages each of size 1kb
= 8Kb

3) 64 frames in the main memory.
Therefore it requires 6 bits to denote 64 frames[since 26 =64]
it requires 10 bits to denote words in eachframe [ since size of frame = size of page = 1Kb]
Therefore size of physical address = 6 (denotesframes) + 10 (words in page)
= 16 bits

4) size of physical memory = 64 frames of size 1Kb each
=64Kb

-------------------
Another Example

The logical address space of the process is 16 pages and the size of each page is 2 Kb. There are 128 frames in the main memory. The size of a frame is equivalent to the size of a page. With the given information, answer the following questions

• Calculate the size of Logical Address?
• Find the size of the Logical Memory?
• Calculate the size of Physical Address?
• Find the size of the Physical Memory?

Solution:
Given data is

The number of frames in the main memory =128
The size of the frame = 2kb
a)
Size of the logical address = page number + page offset
= Size of logical address= |p| + |d|=15 bits
b)
The size of the logical memory = number of pages * page size
= 16*2kb
=32kb
c)
Size of the physical address = frame number (f) + offset (d)
= 7(128)bits +11bits
= 7 bits +11bits
= 18bits
d)
Size of the physical memory = number of frames * frame size
=128 *2kb
=256kb

If u still unable to solve the assignment then .................Confusedmileys77:
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support