0% found this document useful (0 votes)
220 views3 pages

Database Management System Exam Paper

This document outlines an examination paper for a Database Management System course at Sathyabama Institute of Science and Technology. It includes two parts: Part A with short answer questions and Part B with detailed questions requiring explanations, diagrams, and comparisons related to database concepts. The exam covers topics such as data models, SQL operations, normalization, concurrency control, and distributed databases.

Uploaded by

ananthusamsher
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
220 views3 pages

Database Management System Exam Paper

This document outlines an examination paper for a Database Management System course at Sathyabama Institute of Science and Technology. It includes two parts: Part A with short answer questions and Part B with detailed questions requiring explanations, diagrams, and comparisons related to database concepts. The exam covers topics such as data models, SQL operations, normalization, concurrency control, and distributed databases.

Uploaded by

ananthusamsher
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Register Number

SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(Deemed to be University U/S 3 of UGC Act,1956)

Course & Branch :B.E/[Link] - CSE/IT


Title of the Paper :Database Management System Max. Marks:100
Sub. Code :SCS1306(2015/2016/2017) Time : 3 Hours
Date :11-11-2019 Session :AN
________________________________________________________
(NOTE: Assume relevant data, if found missing)

PART – A (10 x 2 = 20)


Answer All the Questions

1. Give the primary of DBMS.

2. Mention the necessity of Data Model.

3. Specify the various set operation in SQL Queries.

4. Consider F={C->A, GB->CH, H->ED, A->g, E->B}. Prove that


F implies HA->GD using only the definition of the functional
dependency.

5. Indicate the various properties of Transaction.

6. Define Concurrency Control.

7. Why recovery in Distributed DBMS is more complicated than in


centralized DBMS?

8. Define the various types of Distributed Databases.


9. Write the collection types in Object Database System.

10. Compare and Contrast Enhanced Data Model with Traditional


Data Model.
PART – B (5 x 16 = 80)
Answer All the Questions

11. (a) With a neat diagram explain the structure of database


architecture with example.
(b) Discuss the relational model with a specific example.
(or)
12. (a) Consider online examination monitoring system, which
consist of list of courses, faculty, student enrolment, number of
hours and assessment. Draw the ER diagram for online
examination monitoring system with proper entities and its
association.
(b) Demonstrate the relational operations and algebra with
specific schema.

13. (a) Enumerate the built-in-data types supported by SQL


standard and list the different parts of the SQL Language.
(b) Compare and contrast the merits and demerits of
Hierarchical Data model with Network Data model.
(or)
14. Demonstrate the process of Normalization with appropriate
example. Differentiate between BCN, 3NF and 4NF.

15. Explain the possible problems that occur due to the concurrency
in Transactions and discuss various techniques for controlling
concurrency.
(or)
16. (a) How Dead locks are handling in transaction processing?
(b) Illustrate the various issues in processing of Query and
optimizing it.
17. (a) Model the architecture of a Distributed Database system and
narrate in what way it is different from Client/Server
Architecture?
(b) Point out the security measures that can be incorporated in
the database system.
(or)
18. Design and develop a recovery system with failure
classification, storage and Algorithm.

19. (a) Describe in detail about the Object Oriented Data Base
models.
(b) Compile the different issues of Transaction management in
object oriented database.
(or)
20. Discuss the enhanced Data Models for advanced and Emerging
Applications.

Common questions

Powered by AI

The primary purposes of a Database Management System (DBMS) are to provide an efficient, reliable, convenient, and safe multi-user environment in which to create, access, and modify the data. This includes managing data in a structured fashion, ensuring data integrity and security, enabling data sharing among users, and allowing data retrieval and modification through queries .

The essential properties that ensure transaction reliability and integrity in database systems are encapsulated in the ACID properties: Atomicity (ensures that all parts of a transaction are completed successfully), Consistency (ensures a transaction brings the database from one valid state to another), Isolation (ensures that transactions do not interfere with each other), and Durability (ensures that once a transaction is committed, it remains so even in the event of a failure).

Solutions for handling deadlocks in transaction processing include deadlock prevention, detection, and recovery techniques. Prevention methods involve ensuring that at least one of the necessary conditions for deadlock cannot occur; for example, not holding resources while waiting. Detection involves periodically checking for cycles in wait graphs, and recovery involves aborting one or more transactions to resolve the deadlock. Implementations such as timeout protocols and priority-based protocols are also used to minimize and eliminate deadlocks .

Recovery in a Distributed Database Management System (DDBMS) is more complicated than in a centralized DBMS due to the complexity of maintaining data consistency and integrity across multiple, geographically dispersed sites. The distributed nature introduces challenges such as network latency, varying site characteristics, and potential communication failures. Synchronizing logs, coordinating between sites for transaction completion, and managing distributed deadlock resolution add layers of complexity not present in centralized systems .

Transaction concurrency control in a database system ensures that database transactions are executed concurrently without leading to inconsistency or conflicts. It prevents problems like dirty reads, non-repeatable reads, and phantom reads by managing the simultaneous execution of transactions through locking mechanisms, timestamps, and isolation levels. Strategies such as two-phase locking or multiversion concurrency control help maintain data integrity while optimizing performance and scalability .

Enhanced data models extend traditional data models by incorporating advanced features such as support for complex data types, object orientation, and user-defined types, which are necessary for handling complex applications like multimedia, CAD/CAM, and GIS. They offer greater flexibility and data abstraction which traditional models, like hierarchical or network models, lack. Enhanced models better support subclasses, inheritance, and encapsulation, making them more suitable for modern, data-intensive applications .

A data model is necessary in database systems because it provides a conceptual framework for organizing data elements and their relationships. It ensures that the database is structured in a logical way that mirrors real-world processes. Data models facilitate communication between database designers, developers, and end users, ensuring everyone has a clear understanding of the database structure. They also provide a blueprint for designing applications and managing data integrity, which reduces the complexity of application development and increases the robustness of the database system .

Distributed Database Systems are architecturally different from Client/Server systems in their ability to distribute data across multiple locations while ensuring coherent data access and management. In a Distributed Database, multiple database nodes collaborate, without a central server, to provide redundancy, increased uptime, and localized access. This contrasts with Client/Server architecture, where a central server manages requests from multiple clients, often leading to bottlenecks. Distributed systems provide fault tolerance and scalability by duplicating data and distributing processing loads, managed through complex coordination protocols .

Set operations in SQL queries include UNION, INTERSECT, and EXCEPT, which enable users to combine results from multiple queries. For example, the UNION operation combines the results of two select statements, removing duplicates. INTERSECT returns only the rows present in both query results, while EXCEPT yields those present in the first but not in the second. Examples include using UNION to merge customers and clients tables to retrieve a unique list of contacts, INTERSECT to find common orders from two databases, and EXCEPT to detect missing entries in a new dataset compared to an old dataset .

Query processing and optimization issues can significantly influence database performance by affecting how efficiently queries are executed. Poor optimization can lead to excessive use of resources such as CPU and memory, resulting in longer execution times. Complex queries may be broken down into simpler sub-queries, using optimized execution plans that leverage indexes, cached data, and parallel execution to enhance performance. Optimizers analyze alternative execution paths and choose the one with the lowest estimated cost, directly impacting the throughput and responsiveness of a database system .

You might also like