0% found this document useful (0 votes)
13 views5 pages

DBMS Question Bank and Study Guide

The document contains questions and topics related to database management systems. It includes definitions of terms, concepts, and models related to DBMS like the three levels of data abstraction, E-R model, relational algebra, SQL, transactions, concurrency control, crash recovery, and file organization. It also lists questions to be answered in detail related to system architecture, data models, E-R diagrams, database languages, integrity, normalization, concurrency control, and query processing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views5 pages

DBMS Question Bank and Study Guide

The document contains questions and topics related to database management systems. It includes definitions of terms, concepts, and models related to DBMS like the three levels of data abstraction, E-R model, relational algebra, SQL, transactions, concurrency control, crash recovery, and file organization. It also lists questions to be answered in detail related to system architecture, data models, E-R diagrams, database languages, integrity, normalization, concurrency control, and query processing.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

DATABASE MANAGEMENT SYSTEM

QUESTION BANK
UNIT I
PART-A (2 MARKS)
✓ What is DBMS?
✓ Mention some Disadvantage in File Processing System.
✓ Describe the three levels of data abstraction.
✓ List any eight applications of DBMS.
✓ Define the terms.
o Physical schema
o Logical schema.
✓ What is conceptual schema?
✓ What is a data dictionary?
✓ What is Data Model?
✓ What is E-R model?
✓ What is an Entity?
✓ What is Weak Entity set and strong entity set?
✓ What is an attribute?
✓ What are stored and derived attributes, and composite attributes?
✓ Define E-R diagram.
✓ What is DDL (Data Definition Language)?
✓ What is DML (Data Manipulation Language)?
✓ What are a candidate key, primary key, and foreign key?
✓ Define query language.
✓ What are the parts of SQL language?
✓ What are the categories of SQL command?
✓ Give the general form of SQL query?
✓ What is the use of rename operation?
✓ List the string operations supported by SQL.
✓ List the set operations of SQL.
✓ What are aggregate functions? And list the aggregate functions supported by
SQL?
✓ What is the use of group by clause?
✓ What is the use of sub queries?
✓ What is view in SQL?
✓ What is trigger?
✓ What is integrity?
✓ What are the functional dependencies?
✓ Define decomposition.
✓ What is BCNF?
✓ Difference between first normal form and second normal form.
✓ What is dependency-preserving decomposition?
✓ What are the join dependencies?
✓ Define equality generating dependencies.
✓ Define 4NF decomposition Algorithm.
✓ Define union rule.
✓ Define decomposition rule.
✓ Define pseudotransitibity rule.
✓ Define axioms.
✓ Define reflexivity rule.
✓ Define augmentation rule.
✓ Define transitivity rule.
✓ Define normalization
✓ What is transaction?
✓ What are the properties of transaction?
✓ What is recovery management component?
✓ When is a transaction rolled back?
✓ What are the states of transaction?
✓ What is a shadow copy scheme?
✓ Give the reasons for allowing concurrency.
✓ What are the two types of serializability?
✓ Define lock.
✓ Define the phases of two phase locking protocol.
✓ Define upgrade and downgrade.
✓ What is a recovery scheme?
✓ Define ACID property.
✓ What is the use of locking?
✓ What is shared lock and Exclusive lock?
✓ What is meant by transaction rollback?
✓ Define Query optimization.
✓ What is an index?
✓ Define query optimization.
✓ What are the types of storage devices?
✓ Define access time.
✓ Define seek time.
✓ Define average seek time.
✓ Define rotational latency time.
✓ Define average latency time.
✓ What is the use of RAID?
✓ What is called mirroring?
✓ What is called bit-level striping, block-level striping?
✓ What is meant by software and hardware RAID systems?
✓ What is known as heap file organization?
✓ What is known as sequential file organization?
✓ What is hashing file organization?
✓ What is known as clustering file organization?
✓ What are the types of indices?
✓ What is known as a search key?
✓ What is a primary index?
✓ What are called index-sequential files?
✓ What are the two types of indices?
✓ What is B-Tree, B+-Tree index?
✓ What is a hash index?
✓ What is called query processing, query optimization?
PART-B (16 MARKS)
✓ Explain DBMS System Architecture. (16)
✓ Explain E-R Model in detail with suitable example. (16)
✓ Explain about various data models. (16)
✓ 4 Draw an E – R Diagram for Banking, University, Company, Airlines, ATM,
Hospital,
✓ Library, Super market, Insurance Company. (16)
✓ Explain in details about the various database languages. (16)
✓ Discuss about various operations in Relational Databases. (8)
✓ Discuss about database users and administrators. (8)
✓ Discuss about various operations in Relational algebra (Fundamental operations
o Additional operation) (16)
✓ Disuss in detail about an Integrity, Triggers and Security. (16)
✓ Explain Embedded and Dynamic SQL. (8)
✓ Explain String Operations and Aggregate functions used in SQL. (8)
✓ Explain detail in domain relational calculus. (8)
✓ Explain detail in Tuple relational calculus. (8)
✓ Explain detail in distributed databases and client/server databases. (16)
✓ Explain detail about Functional Dependencies. (16)
✓ Explain detail about first, second and third normalization form. (16)
✓ Explain detail about Boyce code normal form and fifth normalization form. (16)
✓ Explain detail in decomposition using Functional Dependencies. (16)
✓ Explain detail in decomposition using Multi-Valued Dependencies. (16)
✓ Define Serializability. Explain the types of serializability with example. (16)
✓ Explain Deadlock with example. (16)
✓ Explain in detail about Locking Protocol. (16)
✓ Explain the Need for Concurrency Control. (8)
✓ Discuss about transaction recoverability. (8)
✓ Explain Recovery isolation levels with example. (16)
✓ Explain in detail about ACID properties. (16) DATABASE MANAGEMENT
SYSTEM
✓ Explain various hashing techniques.
✓ Explain RAID.
✓ Explain the steps in Query processing.
✓ Explain B+ Tree and B-tree.
✓ Explain the types of File Organization.
✓ Explain some basic algorithms used in selection operation., Sorting and Join
operation.
✓ Explain physical storage media with example.

---------------------------------------------ALL THE BEST-------------------------------------

Common questions

Powered by AI

Distributed database systems offer benefits such as improved reliability, availability, and performance by spreading data across multiple locations. However, they also present challenges like maintaining data consistency, complex transaction management, increased security risks, and difficulties in achieving effective coordination among distributed nodes .

B-Trees and B+-Trees are data structures used for indexing in databases. B-Trees store keys and data pointers in all nodes, optimizing insertion, deletion, and search operations, while B+-Trees store data pointers only in leaf nodes, which makes sequential access more efficient. B+-Trees typically provide better performance for range queries and full table scans due to their structure .

Query optimization techniques are effective in improving database performance by minimizing computation resources and execution time for queries. They involve selecting efficient execution plans via algorithms that predict costs and use indexes, rewriting queries, or even reordering joins. Ultimately, these techniques allow databases to respond faster to user queries, optimizing system and hardware utilization .

The ACID properties (Atomicity, Consistency, Isolation, Durability) are crucial in ensuring reliable transaction processing in databases. They guarantee that transactions are processed completely and accurately (Atomicity), maintain database integrity (Consistency), operate independently of other transactions (Isolation), and ensure durability of transaction results even in case of failures (Durability).

The three levels of data abstraction in a DBMS, which are the physical, logical, and view levels, allow for the separation of user applications from the physical database. This enhances data management by providing independence between schema layers, simplifying data access, and enabling multiple views of the data tailored to different users' needs .

Primary keys uniquely identify records within a table, ensuring each row is distinct, while candidate keys are potential primary keys identifying unique records. Foreign keys establish relationships between tables, ensuring referential integrity by linking records in different tables. These keys prevent duplicate records and maintain data consistency across the database .

Normalization, especially Boyce-Codd Normal Form (BCNF), reduces redundancy and dependency by organizing data into multiple related tables, which prevents update, insert, and delete anomalies. This organization enhances query efficiency and data integrity, making databases more reliable and faster in processing complex queries .

Serializability ensures that the results of executing transactions concurrently are equivalent to some serial execution of those transactions, thereby upholding consistency. It supports concurrency control by allowing transactions to be interleaved without conflicting, ensuring data integrity during concurrent operations, which is critical in multi-user environments .

A Database Management System (DBMS) offers several advantages over a File Processing System, such as improved data security, reduced data redundancy, data independence, and efficient data management and access. However, it also comes with disadvantages like the high cost of setup and management, complexity, and the need for specialized personnel .

RAID (Redundant Array of Independent Disks) improves data storage and access by using multiple disks to increase data redundancy and performance. It employs techniques like mirroring, bit-level, and block-level striping to distribute data across disks, enhancing read/write speed and providing data protection against hardware failure .

You might also like