properties ensure that database transactions are processed reliably and securely. 1. Atomicity: Ensures that a transaction is treated as a single, indivisible unit.
2. Consistency: Ensures that a transaction maintains the
integrity of the database.
3. Isolation: Ensures that concurrent transactions do not
interfere with each other.
4. Durability: Ensures that once a transaction is
committed, its effects are permanent.
10. Explain Primary Key and Candidate Key.
Primary Key: A unique identifier for each row in a table.
Candidate Key: A column or set of columns that can uniquely identify each row in a table.
11. What are DML and DDL?
DML (Data Manipulation Language): Used to modify data in
a database (e.g., INSERT, UPDATE, DELETE). DDL (Data Definition Language): Used to define the structure of a database (e.g., CREATE, ALTER, DROP).
12.Explain two tier and three tier architecture of
database application.
Two-Tier Architecture: Client-server architecture where
the client requests data from the server, which stores the data. Three-Tier Architecture: Client-server architecture with an additional middle tier (application server) that processes requests and interacts with the database.
13. Write a short note on Data Abstraction.
Data Abstraction: The process of exposing only necessary information to the outside world while hiding implementation details, allowing for greater flexibility and security.