DATABASE MANAGEMENT SYSTEM Class Xi Unit 2 Exam
DATABASE MANAGEMENT SYSTEM Class Xi Unit 2 Exam
FILE SYSTEM
A file can be understood as a container to store data in a computer. Files can be stored
on the storage device of a computer system. Contents of a file can be texts, computer
program code, comma separated values (CSV), etc. Likewise, pictures, audios/videos,
web pages are also files. Files stored on a computer can be accessed directly and
searched for desired data.
What is DBMS?
A database management system (DBMS) or database system, is a software
that can be used to create and manage databases. DBMS lets users to create a
database, store, manage, update/modify and retrieve data from that database
by users or application programs.
Some examples of open source and commercial DBMS include MySQL,
Oracle, PostgreSQL, SQL Server, Microsoft Access, MongoDB.
Features of DBMS
Here, are essential features of DBMS:
Constraints are used to limit the type of data that can go into a table. This ensures
the accuracy and reliability of the data in the table. If there is any violation between
the constraint and the data action, the action is aborted. Constraints can be column
level or table level.
What is Query?
MYSQL
It is freely available open source Relational Database Management System (RDBMS) that
uses Structured Query Language(SQL). In MySQL database , information is stored in
Tables. A single MySQL database can contain many tables at once and store thousands of
individual records.
SQL is a language that enables you to create and operate on relational databases,
which are sets of relatedinformation stored in tables.
A data model refers to a set of concepts to describe the structure of a database, and certain
constraints (restrictions)
that the database should obey.
Different Data Models:
1. Relational data model
2. Network data model
3. Hierarchical data model
1. Relational data model: In this model data is organized into tabular structures
called relations. A database may contain many relations providing a better
classification of data based on its nature and use. Multiple relations are then
linked/ associated together on some common key data values (foreign key).
2. Network Data Model: In this model data is represented by collections of records
and relationships among data are represented by links. A record is collection of
fields i.e. attributes, each of which contents only one data value.
3. Hierarchical data model: In this model records are organized as trees, data is
represented by collection of records connected to one another through links.
RELATIONAL DATABASE
A relational database is a collective set of multiple data sets organized by tables, records and
columns. Relational database establish a well-defined relationship between database tables.
Tables communicate and share information, which facilitates data search ability, organization
and reporting.
A Relational database use Structured Query Language (SQL), which is a standard user
application that provides an easy programming interface for database interaction.
RELATIONAL MODEL TERMINOLOGY
• 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.