Skip to main content

CS604 Current Final Term Fall 2013 Shared by Sana Rajpoot File 4




My CS604 Todays Paper 4/3/2014
Only few Mcqs were from moaz file and few were from the attached file others were new!
Q#1  Hold and Wait    2 Marks

Q#2  Do you agree using Pre-paging help to prevent thrashing?     2 Marks

Q#3  Why do we say Scan algorithm, the elevator algorithm?       2 Marks
The Scan algorithm is sometimes called the elevator algorithm, since the disk arm behaves like an elevator in a building servicing all the requests (people at floors), going up and then reversing to service the requests going down.

Q#4  What is the major purpose of Safety algorithm in Banker’s algorithm?       2 Marks

Q#5  “Virtual memory is extremely large main memory” do you agree or not? 3Marks
Virtual Memory is the separation of user logical memory from physical memory.
This separation allows an extremely large virtual memory to be provided for programmers when only a smaller physical memory is available. Virtual memory makes the task of programming easier because the programmer need not worry about the amount of physical memory, or about what code can be placed in overlays; he/she can concentrate instead on the problem to be programmed.
Q#6 Calculate physical address for each case:                    3 Marks
1.      1.     Base Register=15004
2.      2.     Logical address=456

1.      1.     IP=1A024
2.      2.     CS=40CA1
Q#7  Perform semaphore using P0 and P1 for starvation.   3Marks
Ans:
Q#9  There are two processes and three individual resources. Each process needs a two resources must. Is there deadlock possibility. Explain with reasons. 5 Marks
Q#10  In primary and secondary storage which memory you think is best when to store a program written in C language and which memory is best to store when we want to execute that program. 5 Marks
Q#11  When due to page fault CPU utilization and other IO devices utilization is and disk utilization increase. Which process may cause this condition and how is responsible to overcome this situation?    5 Marks

Q#12  In address spaces of 32-bit and above machines, you are required to identify and briefly explain two paging techniques that can reduce the size of page table in large logical address space.    5 marks
In the 32-bit machine we need to partition p into two parts, p1 and
p2. p1 is used to index the outer page table and p2 to index the inner page table. Thus the
logical address is divided into a page number consisting of 20 bits and a page offset of 12 bits. Since we page the page table, the page number is further divided into a 10-bit page number, and a 10-bit page offset. This is known as two-level paging.

Comments

Popular posts from this blog

CS614 Quiz No.4 Shared by Princess (solved), Spring 2014

  “What means What”. The phrase refers to: Select correct option:  Meta data  External data Transformed data Internal representations Question # 2 of 10 Which of the following is NOT one of the activities of “Maintenance and Growth” phase in Kimball’s DWH development approach? Select correct option: Education Technical Education Program Support  Interface Deployment                 Question # 3 of 10 Horizontally wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records Dataset has attribute skews Dataset has partitioning skews                 Question # 4 of 10 Which of the following is NOT one of the top-10 mistakes that should be avoided during DWH development? Select correct option: Not interacting directly with end ...

CS614 Quiz No.4 Shared by MT Khan (Solved)

Question # 1 of 10 ( Start time: 09:04:39 PM ) Total Marks: 1 A typical cycle of implementing the change in DWH comprises of the sequence: Select correct option: Production -> QA -> Development Development-> QA -> Production(CORRECT) Development -> Production -> QA Production -> Development -> QA Question # 2 of 10 ( Start time: 09:05:16 PM ) Total Marks: 1 Vertically wide data means: Select correct option: Dataset has large no. of attributes Dataset has large no. of records(CORRECT) Dataset has attribute skews Dataset has partitioning skews Question # 3 of 10 ( Start time: 09:05:43 PM ) Total Marks: 1 In ___________ phase of kimballs approach, we identify the components needed now and in future. Select correct option: Requirement definition Architectural design Product development Analytical application development Question # 4 of 10 ( Start time: 09:06:56 PM ) Total Marks: 1 Technical architecture design supports the communicat...

CS301 Current Finalterm Paper Spring 2014 Shared By M. Waleed

My Tday's Cs301 Paper: Mcq's Are From Moaz And Some Are From Handouts. Subjective Is From Moaz Majority One. 1- The Image Segmentation Define? 2- The Maximum Number Level Of Nodes In Binary Tree 3-The Iteration Array Have To Sort. 4- The Hapified Array Have To Solved 5- The Algorithm Of Binary Seaoh Tree 6-Sara Arrays Wala He Tha Ya Heap Wala. 7-....Wala Wala Wala...