Introduction to
Computer Databases
Learning Objectives:
1.
2.
3.
4.
Definition of a Database
Understanding DBMS
Examples of DBMS
Importance of Databases
Define Database:
•
A database is a structured collection of data that is organized in a way that a
computer program can quickly select the desired pieces of data.
• Think of it as a digital filing system where information is stored, managed, and
retrieved efficiently.
Describe DBMS:
•
DBMS (Database Management System) is software designed to manage
databases.
• It provides an interface for interacting with the database, ensuring data integrity,
security, and efficient retrieval.
• DBMS acts as a bridge between the database and the users or application programs.
Examples of DBMS
There are several popular DBMS used worldwide, including:
• Oracle: Widely used in enterprise applications.
• MySQL: An open-source database often used with web applications.
• Microsoft SQL Server: Microsoft's database solution for various applications.
• PostgreSQL: Known for its advanced features and scalability.
• MongoDB: A NoSQL database, suitable for handling unstructured data.
USES OF DATABASES
Databases are used to:
1. Organize Data: Information is stored in a structured manner for easy
retrieval.
2. Ensure Data Integrity: Prevents duplication and inconsistencies in
data.
3. Enable Quick Retrieval: Allows fast access to specific information.
4. Facilitate Data Analysis: Supports complex queries and reporting.
5. Enhance Security: Provides user authentication and access control.
Types of Database Organization
• Relational Databases: Organize data into tables with predefined
relationships.
• NoSQL Databases: Handle unstructured or semi-structured data, suitable
for big data and real-time applications.
• Object-Oriented Databases:
Database Terms
• Table: a collection of related data entries organized in rows and columns. It is also
a collection of related records. Each table is designed for a specific purpose and
represents a particular entity, such as customers or products.
• Field: Each column in a database table. It is also a single data element within a
table. For example, in a 'Customers' table, fields could include 'Name,' 'Address,' and
'Phone Number.'
• Record: Each row in a database table. It is a complete set of fields that represent a
specific entity, such as a single customer's information.
• Primary Key: A unique identifier for each record. It ensures that each record can
be uniquely identified and accessed quickly.
Real-Life Applications
• Examples:
• Database in Healthcare: Storing patient records, treatment history, and
medication details for accurate diagnosis.
• Database in Schools: Storing student and staff records, their examination
records, their performance and assessment records.
Student Evaluation
• Multiple-Choice Questions:
• 1. What is the primary purpose of a Database Management System (DBMS)?
• 2. Give an example of a popular DBMS.
• 3. What is a Primary Key in a database?
• 4. What are some key uses of database systems?
• 5. Describe a real-life scenario where maintaining data integrity is critical.
Correct Answers
• 1. b) To store and manage data efficiently
• 2. c) MySQL
• 3. b) A unique identifier for each record in a table
• 4. b) To ensure data is accurate, consistent, and unaltered
• 5. (Student's response will vary)
Thank You!
• Thank you for participating and engaging in today's lesson!
• If you have any further questions, feel free to ask.
• Have a great day!