Nepal Police2082 BSQuestion 7 of 8
Explain the concept of Database Management System. Describe the types of DBMS and write SQL commands for data manipulation.
10 marks
Question source
- Exam year
- 2082 BS / 2025 AD
- Level
- Level 5
- Paper
- Technical – Subjective
- Section
- Section B: Long Answer Questions (2 × 10 = 20 marks)
Model answer
A Database Management System (DBMS) is software that provides an interface for users and applications to interact with databases. It manages data storage, retrieval, updating, and administration.
Types of DBMS:
- Hierarchical DBMS — Data organized in tree-like structure with parent-child relationships. Example: IBM IMS.
- Network DBMS — Extension of hierarchical, allows many-to-many relationships. Example: Integrated Data Store (IDS).
- Relational DBMS (RDBMS) — Data stored in tables (relations) with rows and columns. Most widely used. Example: MySQL, PostgreSQL, Oracle.
- Object-Oriented DBMS — Data stored as objects, similar to OOP. Example: db4o, ObjectDB.
SQL Commands for Data Manipulation (DML):
- SELECT — Retrieve data:
SELECT Name, Salary FROM Employee WHERE Department = 'IT';
- INSERT — Add new records:
INSERT INTO Employee (EmpID, Name, Department) VALUES (1, 'Sita Thapa', 'HR');
- UPDATE — Modify existing records:
UPDATE Employee SET Salary = 55000 WHERE EmpID = 1;
- DELETE — Remove records:
DELETE FROM Employee WHERE EmpID = 5;