Database Management System (DBMS)
1. Databases and DBMS: the school register, on a computer
Data = raw facts (85, Ram); information = the meaning drawn from them (“Ram got 85 in maths”). A database = an organised collection of related data (files), like a school register. A database stores information in rows and columns.
A DBMS (Database Management System) = software to create, run and protect a database: MS Access, Oracle, MySQL, SQL Server. (Excel, Word and PowerPoint are not DBMSs.)
| Term | Meaning |
|---|---|
| Redundancy | the same data in many places (extra copies) |
| Inconsistency | a change made in some lists but not all |
| Integrity | the data is correct and reliable |
Front end = the easy program the user sees (forms, apps); back end = the DBMS behind it where the data lives.
- 2. The language of tables: record, field, degree, cardinality
- 3. Data models, ER diagrams and ACID
- 4. Keys: identifying every row
- 5. RDBMS: tables that are linked to each other
- 6. SQL: the language for talking to a database
- 7. MS Access: Office's database
- 8. Data warehouses, data mining and big data
- ⚠️ Where students go wrong most
The full note, 5 try-it tools and all 158 MCQs of this chapter come with the full subject: ₹99
or ⭐ all 14 subjects + every PYQ for ₹599 a year (Full GS Pass)
How the exam asked it
- Entity set in an ER diagram? Rectangle · Attributes? Ellipse · Structure seen at how many levels? Three (Allahabad HC)
- A cause of integrity problems? Repetition of data (redundancy) · Data that is accurate and reliable? Data integrity · Not all lists updated? Data inconsistency (Allahabad HC)
- A collection of related files? Database · A database stores information in? Rows and columns · A DBMS gives? Both data independence and centralised control (Allahabad HC)
- Cardinality? The number of tuples · DBMS software? Access · Tables linked by a common field? Relational database (Allahabad HC)
- Language to get data from a database? DML · The code an RDBMS uses? SQL · A more user-friendly interface than the DBMS? Front end · A grid of rows and columns? Both worksheet and spreadsheet (Allahabad HC)
Check yourself
1. In an ER diagram, how is an entity set shown?
Answer: A. Rectangle · Rectangle = entity, ellipse = attribute, diamond = relationship.
2. In the relational model, what is cardinality?
Answer: C. The number of tuples (rows) · Cardinality = the count of rows (tuples); the count of columns = degree.
Asked in the exam (PYQ)
In an E-R diagram, an entity set is represented by :
Answer: A. rectangle · In an Entity-Relationship diagram, an entity set is drawn as a rectangle. A diamond shows a relationship and an ellipse shows an attribute.
More PYQs from this chapter
- _________ is one reason for problems of data integrity.Allahabad High Court RO/ARO · 5 January 2022 · RO
- A collection of related files is called:Allahabad High Court RO/ARO · 20 December 2021 · ARO
- DBMS helps to achieveAllahabad High Court RO/ARO · 20 December 2021 · ARO
- In the relational model, cardinality is :Allahabad High Court RO/ARO · 19 December 2021 · Shift 1
- Which database language is used to access data in existing database ?Allahabad High Court RO/ARO · 16 December 2021 · Shift 2
- In an E-R diagram, attributes are represented by :Allahabad High Court RO/ARO · 16 December 2021 · Shift 2
All 18 PYQs of this chapter are on the mind map and with the PYQ Pass.
