← RGPV CS-502 DBMS December 2024 solved question paper
← RGPV CS-502 DBMS November 2023 solved question paper
← RGPV CS-502 DBMS June 2026 solved question paper
← RGPV CS-502 DBMS May 2024 solved question paper
RGPV Previous Year Examination Question
B.Tech. V Semester | CS-502 (GS) | December 2024 | 1(a)
Question (restated): Draw a detailed DBMS system architecture and describe its components.
Answer

Introduction
A database management system (DBMS) is a collection of software components that allows users to define, manipulate and retrieve persistent data while enforcing integrity, security and consistency. Its internal architecture separates logical query processing from physical storage. This separation enables applications to use SQL without knowing how records are organized on disk.
Query processor
The DDL interpreter processes commands such as CREATE TABLE and ALTER TABLE and records schema information in the system catalog. The DML compiler parses statements such as SELECT and UPDATE, checks their validity and translates them into an internal representation. The query optimizer examines alternative execution plans using statistics, available indexes and estimated I/O costs. The query evaluation engine executes the selected plan and returns results.
Storage manager
The authorization and integrity manager verifies privileges and checks constraints. The transaction manager coordinates concurrent transactions and ensures atomicity and isolation. The recovery component uses logs to restore consistency following failures. The file manager allocates disk space and organizes records into pages. The buffer manager transfers pages between persistent storage and main memory, retaining frequently accessed pages to reduce disk operations.
Physical storage
Data files store actual records. Indexes provide efficient access paths. The data dictionary stores schema definitions, constraints and privileges. Statistical information, such as relation cardinality and value distributions, assists the optimizer. Recovery logs record changes needed for undo and redo.
Working example
SELECT name FROM Student WHERE marks > 75;
Suppose Student contains (101, Amit, 82), (102, Priya, 68) and (103, Rahul, 91). The parser validates the table and attributes. The optimizer chooses between scanning the table and using an index on marks. The execution engine requests pages through the storage manager, applies the condition and returns Amit and Rahul. If the query modifies data, transaction and recovery mechanisms also participate.
Thus, the architecture provides efficient access, controlled sharing and reliable persistence through cooperation between the query processor and storage manager.
Further reading
Silberschatz, Korth and Sudarshan, Database System Concepts; Elmasri and Navathe, Fundamentals of Database Systems.
RGPV CS-502 (GS) | November 2023 | Q1(b) | 7 marks
Question (restated): Describe DBMS structure and identify components affected by new operating-system file durability functions.
Additional examination answer
A new operating-system primitive that forces bytes to stable storage primarily affects the physical storage interface: the file manager and buffer manager. The file manager may expose the new primitive to higher layers, while the buffer manager may use it to flush dirty pages. The recovery and log manager must also be reviewed because write-ahead logging requires log records to become durable before corresponding data pages, and commit requires the relevant log to be durable.
For example, after updating a balance, the DBMS writes the log record, forces the log when required, and only then permits the corresponding data page to reach disk. A force operation must not be assumed to guarantee atomic multi-page writes. The query parser, optimizer, relational model and application interfaces generally need no changes if the storage abstraction preserves its contract. This illustrates physical data independence.
Further reading: Silberschatz, Korth and Sudarshan, Database System Concepts; Elmasri and Navathe, Fundamentals of Database Systems.
June 2026 examination: additional answer
RGPV CS-502 (GS) | June 2026 | Q1(b) | 7 marks (inferred)
Question (restated): Discuss database architecture and why data independence matters.
Answer

The three-schema architecture separates external user views, the conceptual database schema and the internal storage schema. External views expose only relevant information, such as a student marks view. The conceptual schema defines relations and constraints for the entire university. The internal schema specifies pages, indexes and record placement. Mappings translate requests between levels.
Physical data independence means changing storage structures without changing the conceptual schema. Adding an index to Student(RollNo, Name) leaves SQL queries unchanged. Logical data independence means changing the conceptual schema while preserving external interfaces where possible. Splitting Student and Department into separate tables can preserve an existing view through a join. Logical independence is harder because applications depend on the meaning of attributes.
Deployment architecture is a separate concept. In a two-tier system a client communicates directly with a database server; in a three-tier system an application server mediates requests, authentication and business rules. A centralized database can still implement the three-schema abstraction.
Data independence reduces maintenance costs, enables performance tuning, supports multiple views and allows controlled schema evolution. It cannot preserve an interface when essential information is removed. Views, stable APIs and schema mappings are practical mechanisms for maintaining compatibility.
May 2024 — Q1(a)
Question (restated): Define a DBMS and explain its major components.
Answer
A DBMS is software for defining, storing, querying and protecting shared persistent data. The query processor parses SQL, validates names and types, chooses a physical plan and executes it. The storage manager translates requests into page and record operations. Its buffer manager caches disk pages; its file and index managers organize records and access paths. The transaction manager coordinates concurrent work, while the recovery manager uses logs to restore consistency after failure. The authorization and integrity managers enforce privileges and constraints. The catalog stores metadata such as schemas, indexes and statistics. Users, application programs, hardware, data and operating procedures form the wider database system. For example, a student marks query is parsed, optimized, executed through the buffer manager and returned only if the user has permission.

← RGPV CS-502 DBMS December 2024 solved question paper
← RGPV CS-502 DBMS November 2023 solved question paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion