Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : DATABASE MANAGEMENT SYSTEMS (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Solution
Solution
Solution
Given below are four statements. Match each of them with the corresponding property in the set of ACID properties.
Statement 1: Any data written to the database must be valid according to all the defined rules like the check and key constraints and triggers.
Statement 2: Every completed transaction is saved into the secondary storage.
Statement 3: During money transfer, either the amount debited from the source account must be credited to the destination account or the money should not be debited from the source account at all.
Statement 4: If multiple transactions are being executed concurrently, then the final result should be the same irrespective of the sequence in which the transactions were executed.
Let A denote Atomicity, C denote Consistency, I denote Isolation and D denote Durability. From among the given options, find the correct match.
Statement 1: Any data written to the database must be valid according to all the defined rules like the check and key constraints and triggers.
Statement 2: Every completed transaction is saved into the secondary storage.
Statement 3: During money transfer, either the amount debited from the source account must be credited to the destination account or the money should not be debited from the source account at all.
Statement 4: If multiple transactions are being executed concurrently, then the final result should be the same irrespective of the sequence in which the transactions were executed.
Let A denote Atomicity, C denote Consistency, I denote Isolation and D denote Durability. From among the given options, find the correct match.
Solution
Solution
Solution
Solution
Solution
The following key values are inserted into aB+tree of order 4 in a given sequence. The tree is initially empty.
25,8,13,59,3,31,60,11,43
Which of the following values appear only once in the tree?
25,8,13,59,3,31,60,11,43
Which of the following values appear only once in the tree?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Choose the correct statement(s):
Solution
The following numbers are inserted into an empty binary search tree in the given order: 27, 43, 33, 49, 81, 92, 73, 10, 78. What is the height of the resulting binary search tree?
Solution
Consider aBlock nested loop joinfor the two relations,instructoranddepartment. Assuming the worst-case memory availability andinstructoras the outer relation, the provided details are as follows:
- Total number of block transfers: 30500
- Total number of seeks required: 2000
- Number of block in the outer relation: 500
What is the number of blocks in the inner relations?
- Total number of block transfers: 30500
- Total number of seeks required: 2000
- Number of block in the outer relation: 500
What is the number of blocks in the inner relations?
Solution
Shape
Thickness [ / ]
3
All colors