Skip to content
← Informatics Practices

Informatics Practices · Class 11 Optional

Ch 6Database Concepts — Class 11 Informatics Practices, concept-first.

Data is valuable only if it can be stored, found, updated and summarised without error. Having seen why data matters, the natural next question is how to keep it — and the answer this chapter builds towards is: electronically, using proper data-management methods.

14

Q&A

9

Concepts

Not available

Exam weightage

Start learning — read this chapter →

Key concepts

Hover a concept to preview it and jump to its most relevant Q&A.

Manual Record Limitations

Think about keeping a diary by hand. You write in it every day, but over time the pages get smudged, your handwriting becomes harder to read, and if you lose the diary, all that effort is gone.

Start with this concept →

Chapter contents

The NCERT structure, section by section. Open a section to see its questions, then read the concept-first solution.

7.1

Introduction

Data is valuable only if it can be stored, found, updated and summarised without error. Having seen why data matters, the natural next question is how to keep it — and the answer this chapter builds t…

7.2

File System

Every program that shows you information — a report on a website, a bill at a shop counter — has to read that information from somewhere on the computer.

7.2.1

Limitations of a File System

A file system serves a school or an office well enough while the data is small. The trouble starts as the number of files increases and the volume of data grows — the arrangement becomes progressively…

7.3

Database Management System

Each limitation of the file system traces back to one root: files hold data but do not relate or manage it.

7.3.1

File System to DBMS

A file system stores each department's data in its own separate file; a database stores all of it in one place as a set of related tables.

7.3.2

Key Concepts in DBMS

Managing data efficiently with a DBMS requires a small vocabulary of core ideas. Each term below answers a different question about a database: what is its design (schema), what data is allowed in (co…

7.4

Relational Data Model

Every DBMS is built on some underlying data model — a description of how the database is structured: how data are defined and represented, what relationships exist among the data, and what constraints…

7.4.1

Three Important Properties of a Relation

A relation looks like an ordinary table, but it is not merely a table — the relational data model binds it with rules that a data file or a simple table never has to obey.

7.5

Keys in a Relational Database

The relational model insists that the tuples within a relation be distinct: no two rows of a table may carry the same values for all their attributes.

7.5.1

Candidate Key

A relation may contain not one but several attributes whose values are always distinct — and any one of them, on its own, is enough to uniquely identify the tuples.

7.5.2

Primary Key

Every tuple in a relation must be distinguishable from every other — the relational model requires at least one attribute whose values are unique and never NULL, so that each row can be picked out wit…

7.5.3

Composite Primary Key

Sometimes a relation offers no single attribute that can tell all its tuples apart — every individual column contains repeated values.

7.5.4

Foreign Key

A primary key identifies tuples within one relation; a foreign key is what ties two relations together.

Summary

- A file in a file system is a container used to store data in a computer; data files can be created, searched, modified and deleted, but each file stands on its own.

Exercises

+Show 13 questions13 questions
  1. Q1Give the terms for each of the following: a) Collection of logically related records. b) DBMS creates a file that contains description about…Free
  2. Q2Why foreign keys are allowed to have NULL values? Explain with an example.Free
  3. Q3Differentiate between: a) Database state and database schema b) Primary key and foreign key c) Degree and cardinality of a relationFree
  4. Q4Compared to a file system, how does a database management system avoid redundancy in data through a database?Preview
  5. Q5What are the limitations of file system that can be overcome by a relational DBMS?Preview
  6. Q6A school has a rule that each student must participate in a sports activity. So each one should give only one preference for sports activity…Preview
  7. Q7In another class having 2 sections, the two respective class representatives have prepared 2 separate Sports Preferences tables, as shown be…Preview
  8. Q8The school canteen wants to maintain records of items available in the school canteen and generate bills when students purchase any item fro…Preview
  9. Q9An organisation wants to create a database EMP-DEPENDENT to maintain following details about its employees and their dependent. EMPLOYEE(Aad…Preview
  10. Q10School uniform is available at M/s Sheetal Private Limited. They have maintained SCHOOL_UNIFORM Database with two relations viz. UNIFORM and…Preview
  11. Q11In a multiplex, movies are screened in different auditoriums. One movie can be shown in more than one auditorium. In order to maintain the r…Preview
  12. Q12For the above given database STUDENT-PROJECT, answer the following: Student Project Database Table: STUDENT | Roll No | Name | Class | Secti…Preview
  13. Q13For the above given database STUDENT-PROJECT, can we perform the following operations? (Refers to the Student Project Database printed with…Preview