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 Abdul_Mateen (Solved)

Question # 1 of 10 ( Start time: 01:03:34 PM ) Total Marks: 1 The first step of the “12-steps data warehouse implementation approach” of Shaku Atre is: Select correct option: Finding user needs (Page No. 336) Planning system resources Finding system scope Data acquisition and cleansing Question # 2 of 10 ( Start time: 01:04:15 PM ) Total Marks: 1 Users do not care, how advance the front end of your DWH is, what they care is that: Select correct option: Tables should be properly denormalized Proper partitioning technique should be used At least star or snow flake schema should be implemented They should get information in timely manner and the way they want   Question # 3 of 10 ( Start time: 01:04:49 PM ) Total Marks: 1 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 user Not being an accommodating person (Page No. 316) Isolating IT support p...

CS504 Quiz No.3 Shared by Angel

Question # 1 of 10 ( Start time: 09:08:01 PM ) Total Marks: 1 Defining the services of an object means: Select correct option: What it does?        ok What it knows? Who knows it? Whome it knows? Question # 2 of 10 ( Start time: 09:08:27 PM ) Total Marks: 1 Which one of these represents the Krutchen’s 4+1 architectural view model? Select correct option: Logical view, Process view, Physical view, Development view, Use case view Logical view, Dynamic view, Physical view, Development view, Use case view Logical view, Process view, Physical view, Development view, Sequence view Dynamic view, Process view, Physical view, Development view, Use case view Question # 3 of 10 ( Start time: 09:09:50 PM ) Total Marks: 1 Return values in Synchronous messages are represented by: Select correct option: A solid line A dotted line with label        ok A solid line with label Double line Question # 4 of 10 ( Start tim...

CS614 Quiz No.3 Shared by Sweety (Solved)

Question # 1 of 10 ( Start time: 09:48:28 PM ) Total Marks: 1 Mining multi dimensional databases allow users to: Select correct option: Categorize the data Analyze the data Summarize the data All of the given options   (Correct) Question # 2 of 10 ( Start time: 09:49:23 PM ) Total Marks: 1 As per Bill Inmon, a data warehouse, in contrast with classical applications is: Select correct option: Data driven   (Correct) Resource driven Requirement driven Time sensitive Question # 3 of 10 ( Start time: 09:50:11 PM ) Total Marks: 1 In ________learning you don’t know the number of clusters and no idea about their attributes. Select correct option: Supervised learning Unsupervised learning   (Correct) Multi Dimension modeling None of the given options Question # 4 of 10 ( Start time: 09:51:04 PM ) Total Marks: 1 Identify the TRUE statement: Select correct option: The data value increases as volume decreases   (Correct) The data value decreases ...