Database Concepts Final
Database Concepts Final
syllabus
2024-25
Database
Concepts
Computer Science
Class XII ( As per CBSE Board)
DATABASE CONCEPTS
Advantages of a DBMS
❖ Database reduces Redundancy
It removes duplication of data because all data is kept at one place and all the
applications refer to the centrally maintained database.
❖ Database controls Inconsistency
When two copies of the same data do not match with each other, then it is called
Inconsistency. By controlling redundancy, the inconsistency is also controlled.
❖ Database facilitates Sharing of Data
Data stored in the database can be shared amongst several users.
❖ Database ensures Security
Data is protected against accidental or intentional disclosure to unauthorized
person or unauthorized modification.
❖ Database maintains Integrity
It enforces certain integrity rules to insure the validity or correctness of data. For
ex. A date can’t be like 31/31/2000.
DATABASE CONCEPTS
3.DBMS: Software that allows the user to define,create,access and manage the database.
Disadvantages of using Relational Model- Requires substantial hardware and system software
overheads
Complex relational database systems may lead to isolated databases where the information cannot be shared from one system to
another.
DATABASE CONCEPTS
RELATIONAL DATABASE
In this model data is organized into Relations or Tables comprising of Rows n
Coloumns,where columns represent fields/attributes of an entity and rows
represent records/tuples. A row in a table represents a relationship of data to
each other and also called a Tuple or Record.
Field: It represents the attributes of an entity.It refers to a coloumn in a relation.For example, the various fields of
the record of a student are : ROLL, NAME, AGE, MARKS.
Record/Tuple: A set of related data items of a particular person, or place is known as a record. It refers to a row in
a relation and is a collection of fields.For example, the record of student may comprise the following data items:
25 GAGAN 11 97
File: A group of related records is called file. For example, the entire information of a class of students consisting of
25 records is kept in a file ( say stud-file)
Database: It is a collection of files that acts as a single centralized databank for many data processing
applications. For example, the files of all the classes of a school stored in a centralized place such as Hard disk of
a computer can be termed as student database.
DATABASE CONCEPTS
RELATIONAL DATABASE - KEY TERMS
❖ Relation (Table)
A Relation or Table is a Matrix like structure arranged in the form of Rows and
Columns,where coloumns represent Fields and rows represent Records. It has the
following properties-
❖ Atomicity : Each column assigned a unique name and must have atomic(indivisible)
value i.e. a value that can not be further subdivided.
❖ No duplicity: No two rows of relation will be identical i.e. in any two rows
value in at least one column must be different.
All items in a column are homogeneous i.e.same data type
❖ Entity- Entity is a uniquely identifiable object.Entity is a real time object that can be distinguised
from other objects and can be represented independently. An entity comprises of attributes.For
Eg:Employee,Student etc.
❖ Domain :It is the range of values which a particular field can take OR collection of values
from which the value is derived for a column.
❖ Tuple / Record - Row in a relation is called a Tuple or Record.It is a collection of fields.
❖ Attribute/ Field- Column in a relation is called Attribute or Field.It represents an attribute of
an entity.
❖ Degree - Number of columns (attributes) in a relation/table.
❖ Cardinality - Number of rows (Records) in a relation/table.
DATABASE CONCEPTS
Thnx:)