DDMQBA
DDMQBA
UNIT-I / PART-B
1. List out the disadvantages of File system over DB & explain it in detail.
2. List out the operations of the relational algebra and explain with suitable examples.(Dec 16)
3. Sketch the typical component modules of DBMS. Indicate and explain the interactions between
those modules of the system (May 22).
i) With the help of a neat block diagram explain the basic architecture of a database management
system. (Dec 15,20,May 16,21) (Dec 22),(May 24)
ii) What are the advantages of having a centralized control of data? Illustrate your answer with
suitable example. (Dec 15)
4. Briefly explain about views of data.(May 16)
Discuss about (i) Data Models (ii) Mapping cardinalities. (Dec 14)
1 Write a SELECT statement to display all the degree codes which are there in the
candidate table but not present in degree table in the order of degcode.
2 Write a SELECT statement to display the name of all the candidates who have got less
than 40 marks in exactly 2 subjects.
3 Write a SELECT statement to display the name, subject and number of candidates for
all degrees in which there are less than 5 candidates.
4 Write a SELECT statement to display the names of all the candidates who have got
highest total marks in MSc.,(Maths) (Dec 15)
UNIT-II / PART-A
20. ‘Boyce-Codd normal form is found to be stricter than third normal form’. Justify the statement
BCNF is a stronger form of normalization than 3NF because it eliminates the
second condition for 3NF, which allowed the right side of the FD to be a prime
St. Joseph’s College of Engineering Page 9 of 27
CS1403 - Database Design and Management Department of CSE, IT, ADS & AML 2024-2025
attribute.
Thus, every left side of an FD in a table must be a superkey. Every table that is BCNF is also
3NF, 2NF, and 1NF, by the previous definitions.
21. What is fourth normal form?
A relation will be in 4NF if it is in Boyce Codd normal form and has no multi-valued dependency.
For a dependency A → B, if for a single value of A, multiple values of B exists, then the relation will
be a multi-valued dependency
22. What is fifth normal form?
A relation is in 5NF if it is in 4NF and not contains any join dependency and joining should
be lossless.
5NF is satisfied when all the tables are broken into as many tables as possible in order to
avoid redundancy.
5NF is also known as Project-join normal form (PJ/NF).
23. What is meant by domain key normal form?
Domain/key normal form (DKNF) is a normal form used in database normalization which
requires that the database contains no constraints other than domain constraints and key
constraints.
24. Give the properties of decomposition. (May 19)
The properties of Decomposition are Lossless Decomposition, Dependency Preservation, Lack of
Data Redundancy
25. What is Lossless Decomposition?
o If the information is not lost from the relation that is decomposed, then the decomposition
will be lossless.
o The lossless decomposition guarantees that the join of relations will result in the same relation
as it was decomposed.
o The relation is said to be lossless decomposition if natural joins of all the decomposition
give the original relation.
26. What is Dependency Preserving?
o It is an important constraint of the database.
o In the dependency preservation, at least one decomposed table must satisfy every
dependency.
o If a relation R is decomposed into relation R1 and R2, then the dependencies of R either must
be a part of R1 or R2 or must be derivable from the combination of functional dependencies
of R1 and R2.
UNIT-II / PART-B
1. Briefly discuss about the functional dependency concepts (May 19)
2. State the need for Normalization of a Database and Explain the various Normal Forms (1st, 2nd,
3rd, BCNF, 4th, 5th and Domain- Key) with suitable examples. (May 15, 19,Dec 14,16) (Dec
22,May 23, May 24)
3. i) Discuss in detail the steps involved in the ER – to Relational mapping in the process of
relational database design
ii) Exemplify the multi-value dependency and the fourth normal form-4NF (Dec 19)
4. i) For the following relation R and set of functional dependencies F : R(A,B,C,D,E), F = {AC ->
E, B->D, E-> A) } List all candidate keys
30. What are the factors needed to evaluate the technique of ordered indexing and hashing?
(Dec 20,May 21)
Indexing techniques are evaluated on the basis of
Access types
Access time
Insertion time
Deletion time
Space overhead
Hashing performance: can be evaluated under the assumption that each key is equally
likely and uniformly hashed to any slot of hash table.
31. A B+ tree with the following specifications, block size 1 KB, block, key and data record pointer of 6
bytes, 9 bytes and 7 bytes long respectively. Compute order of the leaf node? (May 22)
Disk Block size = 1024 bytes
Data Record Pointer size, r = 7 bytes
Key size,k = 9 bytes
Disk Block ptr, b = 6 bytes
n* k(key size)+ n* r(record pointer size) + b = block size
9n+7n+6=1024
16n=1024-6
16n=1018
N=63
UNIT-IV / PART-B
1. Describe File Organization.
2. Define RAID and Explain in detail about RAID technology with suitable diagrams. (Dec 14,
15,
16,May 15,16 19,22,23,24)
3. Explain Secondary storage devices.
4. Explain about static and dynamic hashing with an example. (Dec 20,May 21)
5. What is the need for parallel database? Specify the two performance metrics for parallel
database. Discuss in brief about various architecture models for parallel database. (May 22)
6. Explain about ordered indices with an example
7. Explain about B+ trees indexing concepts with an example (Dec 14,May 16)
8. Explain about B trees indexing concepts with an example (Dec 14)
9. Illustrate indexing and hashing techniques with suitable examples. (Dec 15) (Dec 22,May
23, May 24)
10. Explain about Query optimization with neat Diagram. (Dec 14,16)