1,967 views

3 Answers

0 0 votes

Real all pages in file1

This means that we are accessing all the records under all the pages$\left (P_{1}, P_{2}, P_{3},......, P_{1000} \right )$ under FILE1. For locking records protocol first need to lock the ancestors in IS mode. Protocol will lock D in IS mode then F1 in IS mode then it will finally lock  $\left (P_{1}, P_{2}, P_{3},......, P_{1000} \right )$ in IS and shared lock to the records.

Hence option A is correct.

 

0 0 votes

We need to read all the pages from file F1.

So we must use shared lock on F1.

But we are particularly choosing between F1 and F2 then we have to set IS on D.

Hence Option C is correct choice.

Position:
Show:

Related questions

0 0 votes
0 0 answers
1.1k
1.1k views
Na462 asked Jul 10, 2018
1,071 views
Is Database Multiple Granularity is in GATE 2019 Syllabus ?
0 0 votes
0 0 answers
654
654 views
LoveCS asked Dec 5, 2017
654 views
5 5 votes
3 3 answers
3.4k
3.4k views
atul_21 asked Aug 16, 2017
3,399 views
1 1 vote
1 1 answer
101
101 views
GO Classes asked Aug 24
101 views
A FAT-like file system uses a $\textbf{24}$-bit FAT entry for every allocation unit.The disk capacity is: $32$ GBAssume: $1\text{ GB}=2^{30}\text{ bytes}$What is the mini...