How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Computer Science and Engineering BANK : OPERATING SYSTEMS - Question Paper

Wednesday, 30 January 2013 10:35Web
1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1
How many page faults would occur for FIFO page replacement algorithm assuming four frames?
26.What is Belady’s anomaly?Give an example.
27.Explain thrashing?
28.Why is the principle of locality crucial to the use of virtual memory?
29.What elements are typically obtained in page table entry? Briefly describe every element.
30.What is the purpose of a translation lookaside buffer?
31.What is the relationship ranging from FIFO and clock page replacement algorithm?
32.What is accomplished by page buffering?
33.What is the difference ranging from resident set and working set?
34.What is the difference ranging from demand cleaning and precleaning?
35.What is compaction?
36.What is a buddy system?

PART B

1.With the help diagrams and tables, discuss dynamic partitioning memory management techniques.What are the advantages and disadvantages of this scheme?

2.What is meant by relocation?With the help diagrams, clearly discuss the need for relocation and
its implementation.Give the details of hardware support.

3.a)Explain the buddy system in detail.
b)Consider a buddy system in which a particular block under the current allocation has an address of 011011110000.
i.If the block size is 4, what is the binary address of its buddy?
ii.If the block size is 16, what is the binary address of its buddy?

4.a)Explain simple paging technique, giving details of page table and address translation.
b)Consider the 2 dimensional array A:
int A[][] = new int[100][100];
where A[0][0] is stored at location 200, in a paged memory system with pages of size 200.A small process resides in page 0(locations 0 to 199) for manipulating the A matrix;thus, every instruction fetch will be from page 0.
For three page frames, how many page faults are generated by the subsequent array initialization loops, using LRU replacement, and assuming page frame has the process in it, and the other 2 are initially empty:
i. for(int j=0;j<=100;j++)
for(int i=0;i<=100;i++)
A[i][j]=0;

ii. for(int i=0; i <=100;i++)
for(int j=0;j<=100;j++)
A[i][j]=0;

5.a) What do you mean by page fault?Explain the response of the operating system to a page fault in detail.
b)Assuming a page size of 4Kbytes and that a page table entry takes four bytes, how many levels of page tables would be needed to map a 64bit address space, if the top level page table fits into a single page?



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Computer Science and Engineering BANK : OPERATING SYSTEMS - Question Paper