Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad MCA 2018 DISTRIBUTED DATABASES Previous Question Paper (January - 2018 - R15)

MCA | 2018 | V | R15 | January - 2018

Answer PaperPaper Code: 825ACMaximum Marks: 75Time: 3 Hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.

PART - A

Answer all questions. Each question carries 5 marks.

125 marks
a

What is replication transparency? What is its significance?

5 marks

Answer

Replication transparency is the property in a distributed database system where the user or application is unaware that data is replicated across multiple nodes. The system automatically manages the existence of multiple copies of data, ensuring that all read and write operations appear as if they are performed on a single logical data object.

Its significance lies in improving availability and performance. By keeping copies closer to the user, latency is reduced, and if one node fails, the system can continue to operate using an alternative replica, thereby increasing fault tolerance.

b

Demonstrate the use of parametric queries.

5 marks

Answer

Parametric queries are pre-compiled SQL statements that use placeholders for input values, allowing the same query structure to be executed repeatedly with different parameters. This improves security by preventing SQL injection and enhances performance through query plan reuse.

Example: Consider a query to retrieve employee details by ID:

SELECT * FROM Employees WHERE EmpID = ?;

In this case, the application passes a specific value (e.g., 101) to the placeholder at runtime. The database engine optimizes the query plan once, and subsequent calls with different IDs (e.g., 102, 103) use the cached execution plan, reducing overhead.

c

What is a nested transaction? Quote examples.

5 marks

Answer

Sign in to view the complete answer paper.

d

Define reliability. How to measure reliability of a system?

5 marks

Answer

Sign in to view the complete answer paper.

e

Give object query processor architectures.

5 marks

Answer

Sign in to view the complete answer paper.

PART - B

2

With necessary reference structure explain various levels of distribution transparency. Quote an example application.

10 marks

Answer

Sign in to view the complete answer paper.

OR
3

What is an integrity constraint? What is its importance in distributed databases? Explain with suitable examples.

10 marks

Answer

Sign in to view the complete answer paper.

4

How can qualified relations optimize query processing in distributed databases? Give illustrative examples.

10 marks

Answer

Sign in to view the complete answer paper.

OR
5

Describe a frame work for query optimization and explain general queries optimization.

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Explain the architectural aspects of distributed transactions.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give any one protocol for optimistic methods for concurrency control.

5 marks

Answer

Sign in to view the complete answer paper.

OR
7

What is a deadlock in distributed databases? Suggest various ways of handling them with illustrations.

10 marks

Answer

Sign in to view the complete answer paper.

8

Explain two-phase commit protocol and compare it with three-phase commit protocols.

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

What are the various approaches to detect inconsistencies in distributed databases data? Explain any one resolution method.

10 marks

Answer

Sign in to view the complete answer paper.

10

Does common object request broker architecture provide interoperability? Justify your answer with necessary discussions.

10 marks

Answer

Sign in to view the complete answer paper.

OR
11

Explain transaction management in multi database system. Discuss challenges faced here compared to centralized database.

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of DISTRIBUTED DATABASES from Jawaharlal Nehru Technological University Hyderabad for MCA 2018 V, January - 2018, R15.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in DISTRIBUTED DATABASES

Loading Question Papers

Fetching data from database...