Cheat sheet · Class 12 · CBSE · Science Computer Science

Database Management System cheat sheet

The whole chapter on one page: key formulas, facts and the points to remember, for quick revision before a test.

CBSE Class 12 · Computer Science

Cheat sheet

Chapter 1Database Management System

Relation = table, tuple = row, attribute = column.

1. Why a DBMS?

  • File systems suffer from redundancy, inconsistency, poor access control and data dependence.
  • DBMS: MySQL, Oracle, PostgreSQL, SQLite.

2. Relational Model Terms

TermMeaning
Relationtable
Tuplerow (record)
Attributecolumn (field)
Domainset of allowed values
Degreenumber of attributes
Cardinalitynumber of tuples

3. Keys

KeyRole
Candidatecan uniquely identify a tuple
Primarychosen candidate key (unique, not NULL)
Alternatecandidate keys not chosen
Compositekey made of 2+ attributes
Foreignrefers to the primary key of another table

4. Key Points

  • Schema: structure; instance: data at a moment.
  • Metadata: data about data (data dictionary).
  • Referential integrity via foreign keys.
  • Order of rows/columns doesn't matter.

Remember: Relation terms | degree & cardinality | 5 keys

Database Management System: questions and notes

More Class 12 · CBSE · Science Computer Science cheat sheets

Practise Database Management System

Sign up free to practise the full chapter. Questions you get wrong come back until you've mastered them.

Start practising free

Free to start · No credit card needed