CT3 Question Bank
CT3 Question Bank
The ____________ scheme uses a page table containing pointers to all pages;
the page table itself and all updated pages are copied to a new location.
a. Shadow copy b. Shadow Paging
c. log records d. Log paging
The failure occurred sufficiently early during the transfer that the destination
block remains intact.
a. Partial failure b. Blocks
c. Reads d. Build
8 marks
Unit 4
1. How locks are helpful in preventing concurrency? Explain about two phase
locking protocol.
2. Explain the required properties of transaction with examples.
3. What is conflict serializability?. How it can be tested and avoided?
4. How can dead lock be prevented? Explain with neat diagram various steps
involved
5. What are the recovery schemes available for transactions?
6. What are checkpoints? Where it is used?
Unit 5
1. Explain the how query optimization is done with example
2. How are fixed and variable records maintained in a file?
3. Illustrate different types of ordered indices in files
4. What is indexing in file storage?. Explain with example
5. Explain extendable hash function with example.
6. Explain selection and join algorithm used for query processing
15 marks
Higher order thinking Questions
Unit 4
1. Consider the following schedule
R(X) denotes read operation on data item X by Transaction Ti.
W(X) denotes write operation on data item X by Transaction Ti.
Explain whether this schedule is recoverable or cascadeless.
2. Consider the following schedule
Unit 5
1.Consider a hash table with 8 slots. The hash function is h(X) = X mod 8. The
collisions are resolved by chaining. Find out the maximum, minimum, and
average chain lengths in the hash table. If the keys are inserted in the following
order: 3, 18, 29, 25, 30, 43, 52, 67, and 70.
2. Explain with neat diagram how insertion is done in B+tree for the following
sequence 3,9,16.20.32,24,36,76,72,84,90,48,61,53,69
of key 56?