Core9X
Log inSign up

MBOSE Class XI Informatics Practices · Chapter 7

Database Concepts

Opening soon

Why we store data in a database instead of files, what a DBMS does, and how a relational database arranges data in tables with keys.

13 lessons · 68 practice questions

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

What this chapter covers

  • Database concepts: introduction to database concepts and its need, Database Management System (DBMS)
  • Relational data model: concept of domain, tuple, relation, candidate key, primary key, alternate key
  • The NCERT chapter also teaches the limitations of the file system, key concepts of a DBMS (schema, instance, constraints, metadata, query), degree and cardinality, composite primary key and foreign key

Key terms

Database

Collection of logically related data

DBMS

Software to create and manage databases

RDBMS

DBMS that stores data in related tables (for example MySQL)

Schema / instance

Design of the database / data at a given moment

Metadata

Data about data (data dictionary)

Relation, attribute, tuple

Table, column, row

Domain

Set of allowed values of an attribute

Degree / cardinality

Number of columns / number of rows

NULL

Unknown or not applicable value

Candidate / primary / alternate key

Possible identifiers / the chosen one / the others

Composite key

Primary key made of several attributes

Foreign key

Attribute that refers to the primary key of another relation

Important questions with answers

10 of the 68 questions on this chapter, solved.

  1. Question 1 · Multiple choice · 1 mark

    Storing the same data in several files is called

    • (a) data isolation
    • (b) data integrity
    • (c) data dependence
    • (d) data redundancy

    Answer: (d) data redundancy

    Redundancy means duplication.

  2. Question 2 · Multiple choice · 1 mark

    Data about data is

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

    Answer: (b) metadata

    Metadata is kept in the data dictionary.

  3. Question 3 · Multiple choice · 1 mark

    A column of a relation is called an

    • (a) instance
    • (b) tuple
    • (c) attribute
    • (d) schema

    Answer: (c) attribute

    Attribute.

  4. Question 4 · Multiple choice · 1 mark

    The key that uniquely identifies tuples and cannot be NULL is the

    • (a) primary key
    • (b) foreign key
    • (c) alternate key
    • (d) none

    Answer: (a) primary key

    Primary key.

  5. Question 5 · Assertion and reason · 1 mark

    Assertion (A): A primary key cannot have a NULL value.

    Reason (R): A NULL value means the value is unknown, and an unknown value cannot identify a tuple.

    • (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.

    R explains A.

  6. Question 6 · Short answer · 1 mark

    Expand DBMS.

    Answer

    Database Management System.

  7. Question 7 · Short answer · 2 marks

    What is data redundancy? Why is it harmful?

    Answer

    Duplication of the same data in several places. It wastes storage and leads to inconsistency.

  8. Question 8 · Short answer · 3 marks

    Explain the advantages of a DBMS over a file system.

    Answer

    Less redundancy, consistency, easy access by queries, controlled sharing, integrity and security, program independence (any three).

  9. Question 9 · Long answer · 5 marks

    Explain the limitations of a file system.

    Answer

    Section 1.1.

  10. Question 10 · Long answer · 5 marks

    Explain the relational model with the terms relation, attribute, tuple, domain, degree and cardinality.

    Answer

    Section 1.3.

Study the whole chapter

13 step-by-step lessons, all 68 practice questions with hints, flashcards and mock tests for MBOSE Class XI Informatics Practices.

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