Core9X
Log inSign up

MBOSE Class XII Computer Science · Chapter 8

Database Concepts

Opening soon

Why databases replaced paper records and plain files, and how the relational model organises data into tables linked by keys.

13 lessons · 56 practice questions · unit "Database Management" carries 20 marks

See classes open nowLog inMBOSE Class XII opens to new students soon.

What this chapter covers

  • Manual record keeping
  • File system and its limitations
  • DBMS — concepts (schema, constraints, metadata, instance, query, manipulation, engine), applications and limitations
  • Relational data model — relation, attribute, tuple, domain, degree, cardinality
  • Properties of a relation
  • Keys — candidate, primary, composite primary, alternate, foreign
  • NULL

Key terms

Database

Collection of logically related data

DBMS

Software to create and manage databases

Schema

Design/structure of a database

Instance

Data in the database at a given moment

Relation

Table

Attribute

Column

Tuple

Row

Degree

Number of attributes

Cardinality

Number of tuples

Primary key

Chosen unique, non-NULL identifier of tuples

Foreign key

Attribute referring to another table's primary key

Alternate key

Candidate key not chosen as primary key

Important questions with answers

10 of the 56 questions on this chapter, solved.

  1. Question 1 · Multiple choice · 1 mark

    The same data duplicated in several files is called

    • (a) redundancy
    • (b) isolation
    • (c) security
    • (d) integrity

    Answer: (a) redundancy

    It wastes space and causes inconsistency.

  2. Question 2 · Multiple choice · 1 mark

    Data about data stored by a DBMS is the

    • (a) tuple
    • (b) query
    • (c) key
    • (d) data dictionary (metadata)

    Answer: (d) data dictionary (metadata)

    Kept in the database catalog.

  3. Question 3 · Multiple choice · 1 mark

    The set of values an attribute may take is its

    • (a) domain
    • (b) degree
    • (c) tuple
    • (d) instance

    Answer: (a) domain

    Usually given by the data type.

  4. Question 4 · Multiple choice · 1 mark

    A candidate key that is not chosen as the primary key is

    • (a) an alternate key
    • (b) a foreign key
    • (c) a composite key
    • (d) a master table

    Answer: (a) an alternate key

    It could also identify tuples.

  5. Question 5 · Assertion and reason · 1 mark

    Assertion (A): A DBMS reduces data redundancy.

    Reason (R): Related data is stored once in linked tables.

    • (a) Both A and R are true, and R is the correct explanation of A.
    • (b) Both A and R are true, but R is not the correct explanation of A.
    • (c) A is true, but R is false.
    • (d) A is false, but R is true.

    Answer: (a) Both A and R are true, and R is the correct explanation of A.

    Keys connect the tables.

  6. Question 6 · Short answer · 2 marks

    Define a database.

    Answer

    A collection of logically related data organised for easy access and management.

  7. Question 7 · Short answer · 2 marks

    What is a data constraint?

    Answer

    A restriction on the values allowed in a column, e.g. NOT NULL.

  8. Question 8 · Short answer · 3 marks

    Why are foreign keys important?

    Answer

    They link tables and ensure that related data refers to existing records.

  9. Question 9 · Long answer · 5 marks

    Explain the limitations of the file system.

    Answer

    Section 1.1; Exercise Q5.

  10. Question 10 · Long answer · 5 marks

    Explain the relational data model and the properties of a relation.

    Answer

    Section 1.3; Exercise Q7.

Study the whole chapter

13 step-by-step lessons, all 56 practice questions with hints, flashcards and mock tests for MBOSE Class XII Computer Science.

See classes open nowLog inMBOSE Class XII opens to new students soon.
Database Concepts: MBOSE Class 12 Computer Science notes, important questions and answers · Core9X