Adv Databases Questions (Set 1)
Adv Databases Questions (Set 1)
f) Using suitable illustration for each, differentiate between the following as used in
concurrency control.
i.) Schedule.
ii.) Serial schedule.
iii.) Serializable schedule [6 marks]
g) Differentiate between the following terms:
i.) Wait-die protocol and wound-wait protocol.
ii.) Share lock and exclusive lock. [4 marks]
h) Using a suitable illustration explain the necessary condition for a transaction to be:
i.) Rolled backward.
ii.) Rolled forward. [4 marks]
i) At the very basic, a distributed database system offers the following objectives.
i.) Location transparency.
ii.) Local autonomy
Explain with reference to how each objective abstract a distributed system. [4 marks]
Question Three
a) Briefly explain the objectives of query processing. [4 marks]
b) Describe with examples, the types of problem that occur in a multi-user environment when
concurrent access to the database is allowed. [6 marks]
c) State the two-phase locking protocol and clearly discuss how it overcomes all the
concurrency anomalies. [6 marks]
d) By first outlining the procedure, test whether the following schedules are conflict serializable
i.) Read_Item(T1, X), Read_Item (T2, X), Write_Item (T1, X)
Write_Item (T2, X), Commit (T1), Commit (T2)
ii.) Read_Item (T1, X), Write_Item (T1, X), Read_Item (T2, X)
Write_Item (T2, X), Commit (Ti), Commit (T2)
[8marks]
e) Discuss four different techniques used to secure a database. [8marks]
f) Discuss Client/Server architecture under the following headings.
i.) Client–Centric systems (fat-client)
ii.) Server–Centric systems (thin-client) [4 marks]
g) List and explain any three advantages and three disadvantages of using database systems.
[9 marks]
Question Four
a) List and explain three types of update anomalies that might result in tables that have
redundant data. [6 marks]
b) Differentiate between the following:– [6 marks]