← RGPV CS-502 DBMS November 2023 solved question paper
RGPV CS-502 (GS) | November 2023 | Q1(a) | 7 marks
Question (restated): Explain how DDL, DML, buffer management and data models support representation of real-world information.
Answer
A database represents selected facts about real-world objects and their relationships. A data model supplies the vocabulary for describing those facts; DDL defines their structure, DML manipulates their instances, and the buffer manager makes access to persistent information efficient. These components operate at different levels of abstraction.
A data model specifies structures, relationships, constraints and operations. In the relational model, an employee is represented by a tuple, attributes describe properties such as salary, and a foreign key connects the employee to a department. Entity–relationship modelling is useful during conceptual design, before converting entities into relations.
Data Definition Language (DDL) specifies the schema, including types, primary keys and referential constraints. The DBMS records these definitions in its catalog. Data Manipulation Language (DML) retrieves and modifies instances through SELECT, INSERT, UPDATE and DELETE. Declarative SQL specifies what is required rather than how to access disk pages.
CREATE TABLE Department (dno INT PRIMARY KEY); CREATE TABLE Employee (id INT PRIMARY KEY, salary DECIMAL(10,2), dno INT REFERENCES Department(dno)); INSERT INTO Department VALUES (10); INSERT INTO Employee VALUES (1, 5000, 10); SELECT id FROM Employee WHERE salary > 4000;
The query returns employee 1. The schema prevents an employee from referencing a nonexistent department. The buffer manager maintains copies of disk pages in main memory, locates requested pages, chooses replacement victims and coordinates writing modified pages. A dirty page must be flushed consistently with the recovery protocol. For example, a second query on the same employee page may avoid a physical disk read.
Unlike the data model and DDL, the buffer manager does not define the meaning of data. It implements efficient physical access while preserving the logical abstraction. Together these components allow applications to describe, query and maintain real-world information independently of physical storage.

Further reading: Silberschatz, Korth and Sudarshan, Database System Concepts; Elmasri and Navathe, Fundamentals of Database Systems.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion