Database Management Systems Mcqs

Page No. 64

Evaluate the CREATE TABLE statement:
CREATE TABLE products (product_id NUMBER(6) CONSTRAINT prod_id_pk PRIMARY KEY, product_name VARCHAR2(15));
Which statement is true regarding the PROD_ID_PK constraint?


aIt would be created only if a unique index is manually created first


bIt would be created and would use an automatically created unique index


cIt would be created and would use an automatically created no unique index


dIt would be created and remains in a disabled state because no index is specified in the command



An application developer can guard against certain snapshot anomalies by appending a ______ clause to the SQL select query.


aFor update


bFor read


cFor write


dNone of the mentioned


View Answer For update

Each of a pair of transactions has read data that is written by the other, but there is no data written by both transactions, is referred to as


aRead skew


bUpdate skew


cWrite lock


dNone of the mentioned


View Answer None of the mentioned

When a transaction Ti attempts to update a data item, it requests a _________ on that data item.


aRead lock


bUpdate lock


cWrite lock


dChain lock


View Answer Write lock

Under first updater wins the system uses a __________ mechanism that applies only to updates.


aClose


bRead


cLocking


dBeat


View Answer Locking

Lost update problem is


aSecond update overwrites the first


bFirst update overwrites the second


cThe updates are lost due to conflicting problem


dNone of the mentioned



Snapshot isolation is used to give


aTransaction a snapshot of the database


bDatabase a snapshot of the transaction


cDatabase a snapshot of committed values in the transaction


dTransaction a snapshot of the database and Database a snapshot of committed values in the transaction



Snapshot isolation is a particular type of ______________ scheme.


aConcurrency-control


bConcurrency-allowance


cRedirection


dRepetition-allowance


View Answer Concurrency-control

DBMS periodically suspends all processing and synchronizes its files and journals through the use of


aCheckpoint facility


bBackup facility


cRecovery manager


dDatabase change log


View Answer Checkpoint facility

The extent of the database resource that is included with each lock is called the level of


aImpact


bGranularity


cManagement


dDBMS control


View Answer Granularity

Goto Page No.

Page 64 of 101

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