Document 33
Document 33
Data refers to raw, unprocessed facts and figures without any context or meaning. Data can come in
various forms, such as numbers, text, images, or sounds, and is often collected from different sources. In
its raw state, data is not useful or meaningful until it is processed and analyzed.
Characteristics of Data:
Information
Information is data that has been processed, organized, and interpreted to provide meaning and context.
Information is useful because it answers questions such as who, what, where, when, and how. By
analyzing data and extracting relevant insights, it is transformed into information that can be used for
decision-making and problem-solving.
Characteristics of Information:
Data Processing: The process of converting the facts into meaningful information is known as data
processing. Data processing is also known as information processing.
Metadata
Metadata is data that provides information about other data. It helps to describe, manage, and utilize data
more effectively by giving context and additional details. Metadata is essential for organizing, finding, and
understanding data, especially in large datasets or databases.
1. Banking: For customer information, accounts, and loans, and banking transactions.
2. Airlines: For reservations and schedule information. Airlines were among the first to use databases in a
geographically distributed manner
5. Telecommunication: For keeping records of calls made, generating monthly bills, maintaining balances
on prepaid calling cards, and storing information about the communication networks.
6. Finance: For storing information about holdings, sales, and purchases of financial instruments such as
stocks and bonds.
8. Manufacturing: For the management of supply chain and for tracking the production of items in factories,
inventories of items in warehouses / stores, and orders for items.
9. Human resources: For information about employees, salaries, payroll taxes and benefits, and for a
generation of paychecks.
5. Data Dependence:
• Application programs are tightly coupled with data files. Any change in the data format or structure
requires modifications to all associated programs, leading to high maintenance costs.
Database Management Systems (DBMS) offer numerous advantages over traditional file processing
systems. Here are some key benefits:
A Database Management System (DBMS) consists of several key components that work together to
manage and facilitate access to data. Here are the main components:
1. Hardware:
a. The physical devices that store and run the database, such as servers, hard drives, and
network devices. This infrastructure provides the necessary environment for the DBMS
software to operate efficiently.
2. Software:
a. The actual DBMS software that provides the tools and functionalities to create, manage, and
interact with the database. This includes the database engine, the query processor, and
administrative tools.
3. Data:
a. The actual content stored in the database. This includes raw data, metadata, and other
related data. The data component also encompasses the database schema, which defines
the structure of the data, such as tables, fields, and relationships.
4. Procedures:
a. The instructions and rules that govern the design, use, and maintenance of the database.
These procedures ensure data integrity, security, and efficient operation of the DBMS. They
can include backup and recovery processes, user access protocols, and data migration
guidelines.
5. Database Access Languages:
a. The languages used to interact with the database. The most common is SQL (Structured
Query Language), which allows users to query, update, and manage the data. Other
languages and APIs may also be used for more complex database interactions.
6. Users:
a. The individuals and applications that interact with the database. Users can be categorized
into different types, such as:
i. Database Administrators (DBAs): Responsible for managing and maintaining the
database.
ii. Application Programmers: Develop applications that interact with the database.
iii. End Users: Use the database to retrieve and analyze data
A data model in a Database Management System (DBMS) is a conceptual framework for organizing and
structuring data. It defines how data is stored, accessed, and manipulated in the database. Data models
provide a systematic way to describe the data, its relationships, and constraints, helping to ensure
consistency and clarity in how data is represented and used.
Entity-Relationship Model
The Entity-Relationship (ER) Model is a conceptual framework used to describe and design data
relationships within a database. It uses entities, attributes, and relationships to represent the data and its
interactions. The ER model helps in understanding the structure and organization of data in a clear and
systematic manner.
1. Entities:
a. Entities are objects or things in the real world that have an independent existence and are
distinguishable from other objects. They can be physical objects, such as Person or Car, or
conceptual objects, such as Project or Course.
b. Example: In a university database, entities might include Student, Professor, Course,
and Department.
2. Attributes:
a. Attributes are the properties or characteristics of an entity. Each entity can have multiple
attributes that provide additional information about it.
b. Example: The Student entity might have attributes like StudentID, Name, DateOfBirth,
and Email.
3. Relationships:
a. Relationships define the associations between entities. They describe how entities interact
with each other.
b. Example: A Student can be Enrolled in a Course, forming an Enrollment relationship
between the Student and Course entities.
Example ER Diagram
(StudentID) (CourseID)
(Name) (Title)
(Email) (Credits)
In this example:
The ER model helps in organizing and representing data in a systematic way, ensuring that the database
design is efficient and comprehensible.