DATA BASE MANAGEMENT SYSTEMS
SAQ
UNIT I: Basics of Database Management Systems (DBMS)
1. What is data independence, and why is it important in DBMS?
2. Name the three levels of abstraction in a DBMS.
3. Who is a Database Administrator (DBA), and what is their primary role?
4. What is the purpose of an Entity-Relationship (ER) diagram?
UNIT II: Relational Model
1. Define a primary key and its importance in a relational database.
2. What is a domain constraint in a relational model?
3. List three types of integrity constraints.
4. What is relational algebra?
UNIT III: SQL and Schema Refinement
1. What is the purpose of the SQL SELECT statement?
2. Name two set operations in SQL.
3. What is a join, and why is it used in SQL?
4. Define First Normal Form (1NF).
5. Define Second Normal Form (2NF).
UNIT IV: Transactions and Concurrency Control
1. What are the four ACID properties?
2. Define a transaction in DBMS.
3. What is the purpose of the COMMIT command?
4. What does serializability ensure in concurrent transactions?
UNIT V: Advanced DBMS Features
1. What is a trigger in DBMS?
2. Name the four types of NoSQL databases.
3. What is the purpose of the GRANT command?
4. Define indexing in the context of file organization.
LAQ
UNIT I: Basics of Database Management Systems (DBMS)
1. Explain the main advantages of a DBMS over traditional file storage systems.
2. Describe the three levels of abstraction in a DBMS and explain the concept of data
independence.
3. Discuss the responsibilities of a Database Administrator (DBA) and the different types of
database users.
4. How does the Entity-Relationship (ER) model aid in database design? Provide examples
of entities, attributes, and relationships.
5. Explain the importance of database architecture and the different database languages used
in a DBMS.
6. What are the key benefits of using a view in a DBMS, and how can it enhance data
security?
UNIT II: Relational Model
1. Define integrity constraints in a relational database and explain the different types, such
as entity integrity and referential integrity.
2. Explain the structure of a relational database schema and the role of a Data Definition
Language (DDL).
3. Describe the various operations of relational algebra and their significance in relational
databases.
4. Discuss the concept of primary keys, foreign keys, and their role in maintaining data
integrity.
5. How do views enhance logical database design, and what are the implications of altering
or dropping views?
6. Compare domain constraints with entity integrity and referential integrity, providing
examples for each.
UNIT III: SQL and Schema Refinement
1. How does SQL support different data manipulation tasks? Provide examples of the
INSERT, DELETE, and UPDATE commands.
2. What is a nested query in SQL, and how does it differ from a co-related query? Provide
examples.
3. Discuss the different types of joins in SQL, including outer joins and self-joins, with
examples.
4. Explain the concept of aggregation in SQL and list some common aggregation operators.
5. What is schema refinement, and how does redundancy lead to anomalies in a database?
6. Discuss the differences between BCNF, 4NF, and 5NF in database normalization and
why each is needed.
UNIT IV: Transactions and Concurrency Control
1. Define a transaction in the context of a DBMS and explain the ACID properties.
2. What is the purpose of concurrency control in a DBMS, and how does it ensure
serializability?
3. Compare lock-based and timestamp-based protocols for concurrency control, and explain
when each might be appropriate.
4. Explain the process and importance of log-based recovery in DBMS transactions.
5. Describe the role of the commands COMMIT, SAVEPOINT, and ROLLBACK in
transaction management.
6. How does a DBMS implement isolation in concurrent transactions, and what challenges
can arise?
UNIT V: Advanced DBMS Features
1. What are database triggers, and how do they differ between row-level and table-level
triggers?
2. Explain the use of stored procedures in a DBMS, including how they are executed with
parameters.
3. What role does a DBA play in user management, and how do they grant/revoke
permissions in a database?
4. Describe the importance of file organization and indexing in a DBMS. What types of
indexes are commonly used?
5. What are the four main types of NoSQL databases, and how do they differ in structure
and usage?
6. Discuss the emergence of NoSQL databases and identify key factors that have led to their
popularity.