JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech III Year DATABASE MANAGEMENT SYSTEMS Previous Question Paper (March - 2024 - R16)
Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.
Part A
Define data model.
Answer
A data model is a conceptual framework or collection of tools used to describe the structure of a database, including the data itself, the relationships between data elements, data semantics, and consistency constraints. It provides a way to represent the real-world information requirements in a structured format that can be implemented in a database management system.
Key components of a data model include:
- Data Entities: The objects or concepts about which data is stored.
- Attributes: The properties or characteristics of those entities.
- Relationships: The associations or links between different entities.
- Constraints: The rules that govern the integrity and validity of the data.
Data models act as a bridge between the real-world requirements and the physical storage of data, allowing designers to communicate the database structure effectively. Common types include the Relational Model, Entity-Relationship (ER) Model, Object-Oriented Model, and Hierarchical Model.
How to create a view?
Answer
A View in a database is a virtual table based on the result-set of an SQL statement. It does not store data itself but provides a dynamic window into the underlying base tables. To create a view, the CREATE VIEW statement is used.
The general syntax for creating a view is as follows:
The process involves the following steps:
- Naming the View: Provide a unique name for the view that follows standard database naming conventions.
- Defining the Query: Specify the SELECT statement that retrieves the desired data from one or more tables. This query defines the structure and content of the view.
- Execution: Once the CREATE VIEW command is executed, the database stores the definition of the view in the data dictionary.
Example:
CREATE VIEW Employee_Details AS
SELECT Name, Department
FROM Employees
WHERE Salary > 50000;After creation, the view can be queried just like a physical table using the SELECT command: SELECT * FROM Employee_Details;.
Give an DRC query example.
Answer
Sign in to view the complete answer paper.
What is a statement level trigger?
Answer
Sign in to view the complete answer paper.
What are spurious tuples?
Answer
Sign in to view the complete answer paper.
What is meant by join dependencies?
Answer
Sign in to view the complete answer paper.
Define schedule.
Answer
Sign in to view the complete answer paper.
What are the benefits of remote backup systems?
Answer
Sign in to view the complete answer paper.
What is a track on disk?
Answer
Sign in to view the complete answer paper.
How to compute disk access time?
Answer
Sign in to view the complete answer paper.
Part B
Construct an ER diagram for designing a database for engineering college admission system.
Answer
Sign in to view the complete answer paper.
What is the importance of integrity constraints in DBMS? Explain with suitable examples.
Answer
Sign in to view the complete answer paper.
Consider the following database schema to write queries in Relational Algebra: Student( RollNo, Name, TotalCredits) Enroll (RollNo, CourseName, Grade)
Answer
Sign in to view the complete answer paper.
Answer
Sign in to view the complete answer paper.
Answer
Sign in to view the complete answer paper.
Answer
Sign in to view the complete answer paper.
Answer
Sign in to view the complete answer paper.
What is redundancy? Explain the problems due to redundancy in poor database design.
Answer
Sign in to view the complete answer paper.
Does Boyce-Codd normal form ensure absence of redundancy in relations? Justify your answer with necessary examples.
Answer
Sign in to view the complete answer paper.
Make a comparison of lock-based protocols with without locking mechanisms for concurrency control.
Answer
Sign in to view the complete answer paper.
Classify system failures which lead to system crash and suggest algorithms for crash recovery.
Answer
Sign in to view the complete answer paper.
How to handle variable length records in a page? Discuss any two methods in detail.
Answer
Sign in to view the complete answer paper.
Explain extendible hashing technique as a dynamic indexing structure with suitable data records.
Answer
Sign in to view the complete answer paper.