Unit3 - Subjective Questions

CSE357 • Practice Questions with Detailed Answers

1

Differentiate between a File Processing System and a Database Management System (DBMS).

2

Define RDBMS. What are the key characteristics that distinguish an RDBMS from a standard DBMS?

3

Explain the terms Table, Field, and Record in the context of a Relational Database with an example.

4

Categorize SQL commands into DDL, DML, and DCL. Give two examples for each.

5

Explain the concept of Database Normalization. Discuss the anomalies that may occur in an unnormalized database.

6

Describe the First Normal Form (1NF), Second Normal Form (2NF), and Third Normal Form (3NF) with necessary conditions.

7

What are Database Keys? Differentiate between Primary Key, Candidate Key, and Super Key.

8

Explain the ACID properties in the context of Transaction Management.

9

What is a Foreign Key? How does it enforce Referential Integrity?

10

Draw and explain the State Transition Diagram of a transaction in DBMS.

11

Explain the difference between DELETE, DROP, and TRUNCATE commands in SQL.

12

What are SQL Joins? Explain Inner Join, Left Outer Join, Right Outer Join, and Full Outer Join.

13

Define Functional Dependency. Explain Trivial and Non-Trivial Functional Dependencies.

14

Discuss Boyce-Codd Normal Form (BCNF). How is it different from 3NF?

15

What is Concurrency Control? Why is it needed in a DBMS? Explain with the "Lost Update Problem".

16

Explain the Two-Phase Locking (2PL) protocol.

17

What is a Deadlock in DBMS? Describe methods to handle deadlocks.

18

Write a SQL query to create a table named Employee with the following fields: EmpID (Integer, Primary Key), Name (VarChar), Salary (Decimal), and JoinDate (Date). Also, write a query to increase the salary of all employees by 10%.

19

Explain the concept of Serializability in transaction management.

20

Discuss the Log-Based Recovery technique (Deferred vs. Immediate Update).