Wa0026.
Wa0026.
Data:
Definition: Data refers to raw facts and figures that alone have no meaning.
Example: A list of numbers like 25, 30, 40, 50 or names like John, Emily, Mike, and Sarah are
data.
Characteristics of Data:
o It can be in any form: numbers, text, images, etc.
o It does not provide context or meaning on its own.
Information:
Definition: Information is processed or organized data that has meaning and is useful for
decision-making.
Example: "John, 25 years old, works in the IT department," is information because it gives
context to the raw data.
Characteristics of Information:
o It is data that has been processed and structured to provide meaning.
o It helps in making decisions.
Database:
Definition: A Database Management System (DBMS) is software that enables the creation,
management, and manipulation of databases. It provides an interface for users to interact
with the data stored in the database, allowing for tasks like storing, retrieving, updating, and
deleting data in an efficient and organized manner.
Functions of a DBMS:
o Data Storage: Storing data in an organized way.
o Data Retrieval: Retrieving data as required.
o Data Manipulation: Modifying or updating data.
o Data Security: Ensuring the protection of data.
o Backup and Recovery: Ensuring data can be recovered if lost.
Examples of DBMS: LibreOffice Base, MySQL, Oracle, MS Access.
Advantages of Database Management System (DBMS)
1. Data Security:
Explanation: With DBMS, the data is stored and managed in a structured format, making it
easier to retrieve, modify, and delete.
Example: In a library management system, a DBMS helps manage the books' information
efficiently—book title, author, availability status, etc.
Explanation: DBMS reduces the unnecessary duplication of data. Data is stored in one
place and can be accessed from different locations.
Example: In a student database, rather than storing the student's address with every course
record, the address can be stored once and linked to the student's ID.
4. Data Consistency:
Explanation: DBMS helps ensure that data is accurate and consistent across all
applications.
Example: A change in a student’s contact number in one part of the database will be
reflected across all related records, ensuring consistency.
5. Multi-User Access:
Explanation: DBMS allows multiple users to access and work with the database
simultaneously without conflicts.
Example: A bank's customer database allows employees to update account details, while
customers can check balances without interfering with each other.
Explanation: DBMS has built-in mechanisms for backing up data and recovering it in case
of failure.
Example: If a power failure occurs, DBMS ensures that the data is backed up and can be
recovered without loss.
Data Models
Data models define the structure of the database, how data is stored, and how relationships
between data are maintained.
Explanation: Data is organized in a tree-like structure where each record has a parent-child
relationship.
Example: A company database where the hierarchy is as follows: Company → Department
→ Employee.
o The Company is the root, each department is a branch, and each employee is a leaf.
Limitations: The structure is rigid, and relationships are limited to parent-child only.
Explanation: Similar to the hierarchical model but allows more complex relationships. Data
is represented in a graph structure where each record can have multiple parent and child
records.
Example: A university database where students can enroll in multiple courses and each
course can have multiple students.
Advantages: Allows more complex relationships than the hierarchical model.
Limitations: More complex to implement and manage.
Explanation: Data is stored in tables (relations) with rows (records) and columns (fields).
Example: A school database with:
o A table for Students with columns for Name, Roll Number, Address and Course Code.
o A table for Courses with columns for Course Code, Course Name and Fees.
Advantages: Very flexible, easy to use and manage.