Concept of Relational Data Base Management System (RDBMS)

 

Welcome Back Readers.

I am your host Dhanwant Singh and you are reading the post of  the Blog Dhanwant Computer and Artistic Skills. In this post I am going to discuss with you Concept of RDBMS. In next few minutes you explore as follows:

  1. Definition of RDBMS
  2. Features of RDBMS
  3. Advantages of RDBMS
  4. Examples of RDBMS
  5. Some basic MCQs of RDBMS


1)    A Relational Database Management System (RDBMS) is a software system that stores, manages, and retrieves data using a relational model. In this model, data is organized into tables (also called relations) consisting of rows and columns. Relationships between different tables are established through keys, ensuring data integrity and efficiency.

Click here to watch the video of this post

 Features of RDBMS

a) Data Storage in Tables

1.     Data in an RDBMS is stored in tables (relations) with defined attributes (called columns).

2.     Each row (record) in a table represents a unique entity.

Example: Check out for Customer Table

CustomerID

Name

Email

101

Alice

alice@gmail.com

102

Bob

bob@gmail.com

b) Primary Key and Foreign Key

1.     Primary Key (PK): A unique identifier for each record in a table.

2.     Foreign Key (FK): A column in one table that references the primary key of another table to create relationships.

Example: A Customers table and an Orders table can be linked through CustomerID as a foreign key in the Orders table.

OrderID

CustomerID

Product

501

101

Laptop

502

102

Phone

c) Normalization

1.     The process of structuring a database to minimize data redundancy and improve efficiency.

2.     Eliminates duplicate data by organizing tables and defining relationships.

d) ACID Properties

Ensures reliability and consistency in transactions:

1.     Atomicity – A transaction is either fully completed or not executed at all.

2.     Consistency – The database remains in a valid state before and after transactions.

3.     Isolation – Concurrent transactions do not interfere with each other.

4.     Durability – Once a transaction is committed, it remains permanently stored.

e) SQL (Structured Query Language)- Used for interacting with RDBMS to perform CRUD operations:

1.     Create: CREATE TABLE

2.     Read: SELECT

3.     Update: UPDATE

4.     Delete: DELETE

Example SQL Query:

SELECT Name, Email FROM Customers WHERE CustomerID = 101;

f) Relationship Types

1.     One-to-One (1:1): Each record in one table corresponds to one record in another.

2.     One-to-Many (1:M): A single record in one table links to multiple records in another (e.g., one customer placing many orders).

3.     Many-to-Many (M:N): Multiple records in one table relate to multiple records in another, often using a junction table.

3. Advantages of RDBMS

1.     Data Integrity & Accuracy: Enforces constraints and relationships.

2.     Eliminates Redundancy: Normalization reduces data duplication.

3.     Scalability: Supports large-scale applications.

4.     Security: Access control mechanisms limit unauthorized access.

5.     Concurrency: Manages multiple transactions efficiently.

4. Examples of RDBMS

1.     MySQL (Open-source, widely used for web applications)

2.     PostgreSQL (Advanced open-source database)

3.     Oracle Database (Enterprise-level RDBMS with high performance)

4.     Microsoft SQL Server (Popular in enterprise applications)

5.     SQLite (Lightweight, embedded database)

 

RDBMS is the foundation of most modern applications, providing structured data storage, integrity, and efficient querying. It is widely used in industries like banking, healthcare, and e-commerce due to its reliability and efficiency.

 

Here are some Multiple-Choice Questions on the Concept of RDBMS:

1. What does RDBMS stand for?

A) Relational Data Management System
B) Relational Database Management System
C) Regional Database Management System
D) Random Data Management System

Answer: B) Relational Database Management System

2. In RDBMS, data is organized in which format?

A) Tree Structure
B) Key-Value Pairs
C) Tables (Rows & Columns)
D) Graphs

Answer: C) Tables (Rows & Columns)

3. What is a Primary Key?

A) A key that allows duplicate values
B) A key that uniquely identifies each record in a table
C) A key that connects two tables
D) A key that is always NULL

Answer: B) A key that uniquely identifies each record in a table

4. Which SQL command is used to retrieve data from a database?

A) INSERT
B) DELETE
C) SELECT
D) UPDATE

 Answer: C) SELECT

5. What is the role of a Foreign Key in RDBMS?

A) Uniquely identifies a row in a table
B) Ensures referential integrity by linking two tables
C) Automatically generates values
D) Stores NULL values only

Answer: B) Ensures referential integrity by linking two tables

6. Which of the following is an example of an RDBMS?

A) MongoDB
B) MySQL
C) Redis
D) Neo4j

Answer: B) MySQL

7. What does ACID stand for in RDBMS?

A) Atomicity, Consistency, Isolation, Durability
B) Access, Control, Integrity, Data
C) Automated, Consistent, Indexed, Data
D) Allocation, Compilation, Integrity, Distribution

Answer: A) Atomicity, Consistency, Isolation, Durability

8. What is the purpose of normalization in RDBMS?

A) To speed up queries
B) To reduce data redundancy
C) To store large data in a single table
D) To increase storage space

Answer: B) To reduce data redundancy

9. Which SQL statement is used to remove a table from a database?

A) DROP TABLE
B) DELETE TABLE
C) REMOVE TABLE
D) CLEAR TABLE

Answer: A) DROP TABLE

10. What is the term used for a row in an RDBMS table?

A) Attribute
B) Record
C) Column
D) Field

Answer: B) Record

11. Which of the following relationships exist in an RDBMS?

A) One-to-One
B) One-to-Many
C) Many-to-Many
D) All of the above

Answer: D) All of the above

12. Which normal form ensures that there are no partial dependencies?

A) First Normal Form (1NF)
B) Second Normal Form (2NF)
C) Third Normal Form (3NF)
D) Boyce-Codd Normal Form (BCNF)

Answer: B) Second Normal Form (2NF)

13. Which of the following is NOT a feature of RDBMS?

A) Data stored in tables
B) Provides ACID compliance
C) Supports NoSQL structure
D) Uses SQL for data manipulation

Answer: C) Supports NoSQL structure

14. What type of JOIN returns only matching rows from both tables?

A) INNER JOIN
B) LEFT JOIN
C) RIGHT JOIN
D) FULL OUTER JOIN

Answer: A) INNER JOIN

15. Which SQL clause is used to filter records?

A) WHERE
B) GROUP BY
C) ORDER BY
D) HAVING

Answer: A) WHERE

 

 

Congratulation for reading this post

See U in next post on new topic.

Stay tuned.

Dhanwant Singh BCA, MCA MBA (Finance)

Comments

Popular posts from this blog

ਰੁਜਗਾਰ ਯੋਗਤਾ ਦੇ ਤੌਰ time Management ਤੇ ਕਿਉ ਜ਼ਰੂਰੀ ਹੈ?

How can you become a good technician?

Employability (ਪੰਜਾਬੀ ਵਿੱਚ ਅਰਥ) ਰੁਜ਼ਗਾਰ ਯੋਗਤਾ