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)
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)
Solution
Consider a B+ tree index to be built on the attributeEmployeeIDof a tableEmployees, with the following properties:
- The length of the attributeEmployeeIDis 16 bytes.
- The size of each child pointer is 8 bytes.
- The size of each disk block size is 512 bytes.
- The size of each record pointer is 10 bytes.
With the given information, what is the best choice for the order of the non-leaf nodes of the B+ tree?
- The length of the attributeEmployeeIDis 16 bytes.
- The size of each child pointer is 8 bytes.
- The size of each disk block size is 512 bytes.
- The size of each record pointer is 10 bytes.
With the given information, what is the best choice for the order of the non-leaf nodes of the B+ tree?
Solution
Solution
Solution
Solution
Identify the hash function, that generates unique hash values for the following search key values: 11, 19, 25, 32, 7.
Solution
Solution
Solution
The query returns:
Solution
Schedule S is as given:

Solution
Solution
Consider a relation schemaS(A,B,C,D,E,G) and the set of functional dependencies,
F = {A → BC, B → D, D → E, E → B, C → G}.
This schema is decomposed into two relationsS1(A,B,D,E) andS2(A,C,G).
Consider the following statements given below regarding the decomposition ofS1andS2. Choose the correct option(s).
F = {A → BC, B → D, D → E, E → B, C → G}.
This schema is decomposed into two relationsS1(A,B,D,E) andS2(A,C,G).
Consider the following statements given below regarding the decomposition ofS1andS2. Choose the correct option(s).
Solution
Which of the following sequences will result in the given tree?
Solution
Choose the correct statement(s).
Solution
Consider the E-R Diagram as shown below:

Solution
Consider the following log records of transactions where an immediate database modification scheme is used.

Solution
Inscript
Consider you have a file in your hard disk of size 1200 KB. Seek time of your hard disk read head is 4 ms and rotational speed is 24,000 rpm. The disk has 200 sectors per track and 512 bytes per sector. Considering the fact that the file data is stored in consecutive sectors, how much time will be required to read the whole file after a read request is made? (answer in milliseconds and calculate upto two decimal places)
Consider you have a file in your hard disk of size 1200 KB. Seek time of your hard disk read head is 4 ms and rotational speed is 24,000 rpm. The disk has 200 sectors per track and 512 bytes per sector. Considering the fact that the file data is stored in consecutive sectors, how much time will be required to read the whole file after a read request is made? (answer in milliseconds and calculate upto two decimal places)
Solution
Inscript

Solution
Inscript

Solution
Inscript

Find the total number of super keys ofS.
Find the total number of super keys ofS.
Solution
Inscript
Consider ablock nested-loop joinfor the two relationsemployeesandworks:

Consider ablock nested-loop joinfor the two relationsemployeesandworks:
Solution
Shape
Thickness [ / ]
3
All colors