Browse papers
LevelMaster in Data Science (SMS, TU)
SubjectDatabase Management Systems
Year2080 BS
Exam sessionSa
Full marks45
Time allowed120 minutes
Questions10, all with step-by-step solutions
A

Group A

5 questions·3 marks each
1Short answer3 marks

How wait for graph is used to determine deadlock?

deadlockwait-for-graph
2Short answer3 marks

Why group by and having clauses are used in SQL? Support your answer with suitable examples.

sqlgroup-by
3Short answer3 marks

How division operation is done in relational algebra? Illustrate with example.

relational-algebradivision
4Short answer3 marks

When a relation is said to be in BCNF?

normalizationbcnf
5Short answer3 marks

Define database schema and instance with example.

schemainstance
B

Group B

5 questions·6 marks each
6Long answer6 marks

How security in database can be ensured using discretionary and mandatory access control mechanisms. [6]

OR

How database is created using XML? Create a XML file to store information about student. Use your own assumptions if required. [2+4]

database-securityxml
7Long answer6 marks

What is distributed database? Differentiate vertical fragmentation from horizontal fragmentation using suitable example. [2+4]

OR

What is indexing? How sparse indexing is different from dense indexing? How B+ tree is used in indexing? [1+2+3]

distributed-databaseindexing
8Long answer6 marks

What is query optimization? How materlization is different from pipelining? Prepare the query tree and optimized query tree for following SQL statement;

SELECT FNAME, ADDRESS FROM EMPLOYEE INNER JOIN DEPARTMENT ON DNO = DNUMBER WHERE DEPARTMENT.DNAME='Research';

[1+2+3]

query-optimizationquery-tree
9Long answer6 marks

Describe weak entity with an example. Convert following ER diagram into the equivalent relational schema. [2+4]

The ER diagram contains: Entity Actor (attributes: Actorid [key], Name, Phone [multivalued]) related via Plays (1:M, attribute Quantity) to entity Movie (attributes: Title [key], ReDate). Movie is related via Producedby (M:N) to entity Producer (attributes: Prodid [key], Name, Budget).

weak-entityer-diagram
10Long answer6 marks

What is serializability? How can you determine whether a schedule is conflict serializable? Given following schedule, determine whether it is conflict serializable or not and justify your answer. [1+2+3]

T1T_1T2T_2
read(A)
A := A − 50
write(A)
read(A)
temp := A × 0.1
A := A − temp
write(A)
read(B)
B := B + 50
write(B)
commit
read(B)
B := B + temp
write(B)
commit
serializabilityconcurrency

Frequently asked questions

Where can I find the Master in Data Science (SMS, TU) Database Management Systems question paper 2080?
The full Master in Data Science (SMS, TU) Database Management Systems 2080 (Sa) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
Does the Database Management Systems 2080 paper come with solutions?
Yes. Every question on this Database Management Systems past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
How many marks is the Master in Data Science (SMS, TU) Database Management Systems 2080 paper?
The Master in Data Science (SMS, TU) Database Management Systems 2080 paper carries 45 full marks and is meant to be completed in 120 minutes, across 10 questions.
Is practising this Database Management Systems past paper free?
Yes — reading and attempting this Database Management Systems past paper on Kekkei is completely free.