HomeQuestions and Answers

DBMS previous year question paper questions

Like Tweet Pin it Share Share Email

Database Management Systems (DBMS) is a crucial subject in computer science and IT courses, providing essential knowledge for managing data effectively. Here is a comprehensive collection of previous year DBMS questions and answers, covering key concepts, theories, and problem-solving approaches to prepare you thoroughly for exams.


DBMS Concepts

Question: What is a Database Management System (DBMS)?
Answer:
A DBMS is software that allows users to store, retrieve, and manage data in databases efficiently and securely.

Question: Explain the difference between DBMS and RDBMS.
Answer:
DBMS manages data as files, while RDBMS uses a relational model where data is organized into tables.

Question: What is a primary key in a database?
Answer:
A primary key is a unique identifier for a record in a table, ensuring no duplicate entries.

Question: Define foreign key with an example.
Answer:
A foreign key is a column that creates a relationship between two tables, referencing the primary key of another table.

Advertisements

Question: What is normalization in DBMS?
Answer:
Normalization is the process of organizing data to reduce redundancy and improve data integrity.

Question: Describe the ACID properties in transactions.
Answer:
ACID stands for Atomicity, Consistency, Isolation, and Durability, ensuring reliable database transactions.

Question: What is a view in DBMS?
Answer:
A view is a virtual table based on the result of an SQL query, providing a subset of data from one or more tables.

Question: Explain the term “indexing” in DBMS.
Answer:
Indexing improves the speed of data retrieval by creating an ordered structure for specific columns in a table.

Question: What is a composite key?
Answer:
A composite key is a combination of two or more columns used to uniquely identify a row in a table.

See also  Unseen Poems with Questions & Answers PDF for Students

Question: What are the different types of relationships in DBMS?
Answer:
The three types are one-to-one, one-to-many, and many-to-many relationships.

Question: Define a transaction in DBMS.
Answer:
A transaction is a sequence of operations performed as a single unit of work, ensuring consistency and integrity.

Question: What is the difference between DELETE and TRUNCATE commands?
Answer:
DELETE removes specific rows, while TRUNCATE removes all rows and resets the table.

Question: What is a deadlock in DBMS?
Answer:
A deadlock occurs when two or more transactions block each other, waiting for resources held by the others.

Question: Explain the concept of database schemas.
Answer:
A schema is a logical structure defining the organization of data in a database.

Question: What is data integrity?
Answer:
Data integrity ensures accuracy, consistency, and reliability of data stored in a database.

Question: What are the different types of SQL commands?
Answer:
The types include DDL, DML, DCL, and TCL commands.

Question: What is a stored procedure in DBMS?
Answer:
A stored procedure is a precompiled set of SQL statements stored in the database for reuse.

Question: What is meant by database concurrency?
Answer:
Database concurrency refers to the simultaneous access of the database by multiple users while maintaining data consistency.

Question: What are the advantages of DBMS over traditional file systems?
Answer:
Advantages include reduced data redundancy, enhanced data security, improved data integrity, and easier data access.

Advertisements

DBMS Exam Questions: Advanced Topics

Question: What is a distributed database?
Answer:
A distributed database is a collection of data stored in multiple locations, connected via a network.

Question: Explain the difference between OLTP and OLAP.
Answer:
OLTP focuses on real-time transactional processing, while OLAP supports analytical queries and data warehousing.

See also  B.Ed Question Paper 2021 PDF with Questions & Answers

Question: What is a trigger in DBMS?
Answer:
A trigger is a database object that automatically executes specified actions in response to certain events.

Question: What is the purpose of normalization?
Answer:
Normalization eliminates data redundancy and ensures data dependency is logical.

Question: Define denormalization.
Answer:
Denormalization is the process of combining normalized tables to improve database performance.

Question: What are integrity constraints in DBMS?
Answer:
Integrity constraints are rules that ensure valid data entry into the database.

Question: What is the difference between INNER JOIN and OUTER JOIN?
Answer:
INNER JOIN returns rows with matching values, while OUTER JOIN includes unmatched rows from one or both tables.

Question: Explain the term “query optimization.”
Answer:
Query optimization refers to enhancing SQL query performance by selecting the most efficient execution plan.

Question: What is a cluster index?
Answer:
A cluster index determines the physical order of data in a table based on indexed columns.

Question: Define functional dependency in DBMS.
Answer:
Functional dependency describes a relationship between attributes where one attribute uniquely determines another.

Question: What are the types of data models in DBMS?
Answer:
The types include hierarchical, network, relational, and object-oriented data models.

Question: What is the purpose of the LOCK command in DBMS?
Answer:
The LOCK command prevents concurrent access to a resource during a transaction.

Question: What is the significance of checkpointing in DBMS?
Answer:
Checkpointing ensures database consistency by saving changes periodically to prevent data loss.

Question: Explain multiversion concurrency control (MVCC).
Answer:
MVCC allows multiple versions of data for concurrent transactions, avoiding conflicts.

Question: What is a surrogate key?
Answer:
A surrogate key is a unique identifier generated by the system, not derived from data.

See also  10000 GK Questions in Hindi PDF Download

Question: Describe cascading in referential integrity.
Answer:
Cascading allows automatic propagation of changes in parent table records to related child records.

Question: What is a bitmap index?
Answer:
A bitmap index uses bitmaps for efficient indexing of columns with low cardinality.

Question: Define partitioning in databases.
Answer:
Partitioning divides a database table into smaller, more manageable pieces for improved performance.

Question: What is the purpose of a database catalog?
Answer:
A database catalog stores metadata about the database structure, objects, and users.

Question: What are phantom reads in DBMS?
Answer:
Phantom reads occur when new rows are added during a transaction, causing inconsistent results.


DBMS covers key concepts essential for academic and professional success in data management. From fundamental to advanced questions, understanding these answers helps clarify doubts and strengthens subject knowledge. Use this compilation for comprehensive preparation and to boost your confidence for exams and interviews.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *