JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech IV DATABASE MANAGEMENT SYSTEMS Previous Question Paper (July/August - 2022 - R18)

B.Tech | IV | II | R18 | July/August - 2022

Answer PaperPaper Code: 158DCMaximum Marks: 75Time: 3 Hours

Answer any five questions. All questions carry equal marks.

Main

115 marks
a

What are the main benefits of using a DBMS to manage data in applications involving extensive access.

7 marks

Answer

Using a Database Management System (DBMS) provides significant advantages for applications requiring extensive data access:

  • Data Independence: Decouples the physical storage structure from the logical application logic, allowing changes to hardware or storage formats without rewriting application code.
  • Efficient Data Access: Utilizes sophisticated query optimization and indexing techniques to retrieve and update data rapidly, even in large-scale datasets.
  • Data Integrity and Security: Enforces integrity constraints (e.g., primary keys, foreign keys) and access control policies, ensuring data consistency and preventing unauthorized access.
  • Concurrent Access: Manages multiple users accessing the database simultaneously through transaction control and locking mechanisms, preventing data conflicts.
  • Crash Recovery: Provides backup and recovery procedures, ensuring data remains consistent and durable even in the event of hardware or software failures.
  • Reduced Data Redundancy: Centralizes data management to minimize duplication, which saves storage space and prevents inconsistencies across different application modules.
b

Explain the following in DBMS:

i) Levels of abstraction ii) Data independence.

8 marks

Answer

i) Levels of Abstraction: A DBMS simplifies user interaction by hiding complex storage details through a three-level architecture:

  • Physical Level: Describes how data is actually stored on the storage media (e.g., file structures, indices, compression).
  • Logical Level: Describes what data is stored and the relationships among them, defining the database schema without concern for physical implementation.
  • View Level: The highest level, where only a portion of the database is visible to specific users, hiding irrelevant details and providing security.

ii) Data Independence: This is the capacity to change the schema at one level without requiring changes to the schema at the next higher level:

  • Physical Data Independence: The ability to modify the physical storage schema (e.g., changing from a B-tree to a hash index) without affecting the logical schema or application programs.
  • Logical Data Independence: The ability to modify the logical schema (e.g., adding a new field or table) without changing the external views or the application programs that rely on those views.
215 marks
a

What is E-R model? How to represent the following in E-R model?

i) Week entity set ii) Role iii) Multivalued Attribute iv) Strong entity set.

8 marks

Answer

Sign in to view the complete answer paper.

b

Draw an ER-Diagram for Library Management system.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

What is Relational Model? Distinguish between super key, Candidate key and Primary Key for a relation with examples.

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain various fundamental operations in relational algebra with examples.

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Let R =(ABC) and S=(DEF) let r(R) and s(S) both relations on schema R and S. Give an expression in the Tuple relational calculus that is equivalent to each of the following.

i) ∏A(r) ii) σB=19(r) iii) rXs iv) ∏A, F ( σC=D(rXs)).

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain the following Operators in SQL with examples.

i) SOME ii) IN iii) INTERSECT iv) UNION.

7 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

What is Trigger? How to implement Triggers in SQL?

8 marks

Answer

Sign in to view the complete answer paper.

b

What aggregate operators does SQL support? Explain with examples.

7 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

What is Normalization? What are the conditions required for a relation to be in 2NF, 3NF and BCNF explain with examples.

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain what are the problems caused by redundancy and decomposition of relation?

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Explain how the Two Phase Locking protocol is used to Control multiple transactions.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain about the multiple granularity Concurrency Control protocol.

8 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Explain about the cluster index, primary and secondary indexes.

7 marks

Answer

Sign in to view the complete answer paper.

b

Describe the Insertion and Deletion Operations in B+ trees.

8 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of DATABASE MANAGEMENT SYSTEMS from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech ECE IV II, July/August - 2022, R18.

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

Other papers in DATABASE MANAGEMENT SYSTEMS

Loading Question Papers

Fetching data from database...