School Revise · Class 11 Computer Science · Chapter 7
Code 083, Class 12. A database stores data in tables so it is easy to keep and find. Here we meet the relational model and its keys.
|
|
A database is an organised store of data. A DBMS (Database Management System) is the software that manages it. In the relational model, data is kept in tables.
A relation is a table. A tuple is a row (one record). An attribute is a column (one field). The number of columns is the degree and the number of rows is the cardinality.
A primary key is a column whose value is unique for each row and identifies it. A candidate key can serve as a primary key. An alternate key is a candidate key not chosen as the primary key. A foreign key links to the primary key of another table.
A DBMS reduces repeated data, keeps data consistent and secure, and lets many users share it, which a simple file cannot do well.
Explore the idea by tapping. The interactive opens right here in the lesson.
tuple.
attribute.
The primary key.
cardinality.
Software that stores and manages a database.
Degree is the number of columns; cardinality is the number of rows.
A column that links to the primary key of another table.
|
A database is an organised store of data, managed by a DBMS. In the relational model, data is in tables (relations); a row is a tuple, a column is an attribute. Degree is the number of columns, cardinality the number of rows. A primary key identifies each row, and a foreign key links tables. A DBMS reduces repetition and keeps data consistent, secure and shareable. |
| Open the Virtual Lab |
These free Class 12 Computer Science notes explain database concepts, the relational model, tuples and attributes, degree and cardinality, and primary candidate alternate and foreign keys with worked examples and practice, for CBSE students across India and the Gulf including the UAE, Saudi Arabia, Qatar, Oman, Kuwait and Bahrain.
© 2026 School Revise. All rights reserved. Original content aligned to the CBSE and NCERT Class 12 Computer Science syllabus. Unauthorised copying is not permitted.