Relational Database Management System Mcqs

Page No. 48

A transaction can proceed only after the concurrency control manager ________ the lock to the transaction


a Grants


bRequests


c Allocates


dNone of the mentioned


View Answer Grants

If a transaction has obtained a ________ lock, it can both read and write on the item


aShared mode


bExclusive mode


cRead only mode


dWrite only mode


View Answer Exclusive mode

If a transaction has obtained a __________ lock, it can read but cannot write on the item


aShared mode


bExclusive mode


cRead only mode


dWrite only mode


View Answer Shared mode

Which of the following steps must be taken while choosing a victim?


aAvoiding starvation


b Number of transactions involved in rollback


cData items used by the transaction


dAll of the mentioned


View Answer All of the mentioned

State true or false: Partial rollback is not possible.


aTrue


bFalse


ceither true of false


dnone f these


View Answer False

How do we generally recover from a deadlock?


aBy aborting all the transactions


bBy rolling back all the transactions


cBy rolling back only a selected number of transactions


dNone of the mentioned



The _________ graph describes deadlocks precisely


a Wound wait graph


bWait die graph


cWait for graph


dNone of the mentioned


View Answer Wait for graph

Lock timeouts have which of the following advantages?


a Unnecessary rollbacks do not occur


bTransactions do not starve


cIt is easy to implement


d All of the mentioned



State true or false: Wait die scheme is a non-preemptive technique


aTrue


b False


ceither true of false


dnone of these


View Answer True

Deadlocks can be prevented using


aPreemption and transaction rollbacks


bWait and die scheme


cWound-wait scheme


dAll of the mentioned


View Answer All of the mentioned

Goto Page No.

Page 48 of 54

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan