adplus-dvertising

Welcome to the Transactions MCQs Page

Dive deep into the fascinating world of Transactions with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Transactions, a crucial aspect of DBMS. In this section, you will encounter a diverse range of MCQs that cover various aspects of Transactions, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within DBMS.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Transactions. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of DBMS.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Transactions. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Transactions MCQs | Page 14 of 15

Explore more Topics under DBMS

Q131.
In concurrency control policy the the lock is obtained on
Discuss
Answer: (a).Entire database
Q132.
A concurrency-control policy such as this one leads to ______ performance, since it forces transactions to wait for preceding transactions to finish before they can start.
Discuss
Answer: (c).Poor
Q133.
__________ are used to ensure that transactions access each data item in order of the transactions’ ____ if their accesses conflict.
Discuss
Answer: (d).Timestamps
Q134.
EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table?
Discuss
Answer: (c).CREATE VIEW empvu
AS
SELECT * FROM empdept;
Discuss
Answer: (c).To create a grouping for expressions or columns specified within a GROUP BY clause in one direction, from right to left for calculating the subtotals
Discuss
Answer: (d).The CREATE TABLE AS SELECT statement can be used to unload data into regular table in the database from an external table
Discuss
Answer: (d).A set of one or more sequential queries in which generally the result of the inner query is used as the search value in the outer query
Q138.
Evaluate the following SQL statements in the given order.
Which statement is true regarding the above FLASHBACK operation?
DROP TABLE dept;
CREATE TABLE dept
(deptno NUMBER(3) PRIMARY KEY,
deptname VARCHAR2(10));
DROP TABLE dept;
FLASHBACK TABLE dept TO BEFORE DROP;
Discuss
Answer: (b).It recovers only the second DEPT table
Q139.
What would be the outcome of the below query?
CREATE TABLE digits
(id NUMBER(2),
description VARCHAR2(15));
INSERT INTO digits VALUES (1,'ONE');
UPDATE digits SET description ='TWO' WHERE id=1;
INSERT INTO digits VALUES (2,'TWO');
COMMIT;
DELETE FROM digits;
SELECT description FROM digits
VERSIONS BETWEEN TIMESTAMP MINVALUE AND MAXVALUE;
Discuss
Answer: (c).It would display the value TWO twice
Q140.
Which of the following is not a property of transactions?
Discuss
Answer: (d).Durability

Suggested Topics

Are you eager to expand your knowledge beyond DBMS? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!