Khurasan University Database.1
Khurasan University Database.1
UNIVERSITY
Lecturer:
Abdul Manan Ahmadzai (MSCS)
www.Khurasan.edu.af- [email protected]
Chapter 1
Lecturer: Abdul Manan Ahmadzai
(MSCS)
Database Concept
• Numeric Data,
• Alphabetic Data,
• Alphanumeric Data,
• Image Data,
• Audio Data,
• Video data.
Data Information
• Data consists of unprocessed raw • Information is the processed
form of data.
and facts.
• Information is the output of
• Data is used as input in the
computer.
computer.
• Information is meaningful.
• Data is Not meaningful.
• Information is easy and also
• Data is Not used in decision very important for decision
Making. making.
• when you create a table, you specify the datatype, size format and
other constraints for entering data in different fields of the table.
This is metadata of the data. It describes the properties of the data to
be stored in the table.
Database Management System
Continue…
Example of Metadata:
• Using the database, you can easily retrieve, insert, and delete the
information
It provides the facility to insert, delete, modify, update and retrieve
data to generate reports.
• In the file system, the same data may be duplicated in several files.
Suppose there are two file “students” and “library”. The file “
students” contains the roll No, name, address and telephone number
and other detail of a student in university. The file “ library” contains
roll no and name of the students who get a book from library along
with the information about rented books. The data of one student
appears in the two files. This is known as data redundancy.
Database Management System
Continue…
• Inconsistency:
• This situation can also result in data inconsistency. Inconsistency
means that two files may contain different data of the same student.
For example if the address of a student is changed, it must be
changed in both files. There is possibility that it is changed in the
“students” file and not from “library “ file. The data becomes
inconsistent in this situation.
• Reduction of Redundancies:
• Reduction of Redundancies mean that we can store data together in
single smile place, that solve the inconsistence problem, it mean we do
not need to change the record on different files.
• Shared Data:
• Shared Data mean that, In the help of DBMS we can shared the data to
the different users.
Continue…
• Improved Integrity:
• Improved Integrity mean that we can apply some roles on the database
for the entering data. Like we want to give admission to those students
that his or her age is greater than 18, so the user can only add students
that his or her age is grater than 18 only.
www.Khurasan.edu.af- [email protected]