IT 231: IT and Applications (BBA)
By the end of this session, you will be able to:
What is a Database? 📊
A database is a structured, organized collection of data, stored and accessed electronically. Think of it as a highly efficient digital filing cabinet.
The ability to store, manage, and retrieve data efficiently is critical for any organization, from a small startup to a global enterprise.
Before databases, data was stored in separate, application-specific files.
This led to major problems:
The database approach centralizes data, treating it as a shared organizational resource.
⚡ Key Idea: A single, integrated repository of data is managed by a controlling agent, the DBMS.
What is a DBMS? 🧠
A Database Management System (DBMS) is the software that interacts with users, applications, and the database itself to capture and analyze data.
It's the gatekeeper that manages everything related to the database.
Examples: MySQL, PostgreSQL, Oracle, Microsoft SQL Server, MongoDB
A database model defines the logical structure of a database. It determines how data is stored, organized, and manipulated.
Data in tables (rows/columns). The most common model. (e.g., MySQL)
Tree-like structure with parent-child relationships.
Flexible models for big data. (e.g., Document, Key-Value, Graph)
We will explore these in more detail later in the unit.
🔍 What is Business Intelligence?
BI refers to the technologies, applications, and practices for the collection, integration, analysis, and presentation of business information. The purpose of BI is to support better business decision-making.
Databases are the foundation of BI. They store the raw data that BI tools turn into actionable insights, reports, and dashboards.
Where do you see databases in action?
A powerful DBMS manages millions of these transactions securely and instantly.
Other examples: Your university's student information system, Daraz's product catalog, a hospital's patient records.
By the end of this session, you will be able to:
In computing, data isn't just a random mess. It's organized in a logical pyramid or hierarchy.
Think of it like building with LEGOs: you start with the smallest bricks and build up to a complete structure.
Character → Field → Record → File → Database
The most basic logical element.
S9@A group of related characters representing a characteristic of an entity.
Sita1500sita@example.comRecord: A collection of related fields that describe a single entity (a person, place, thing, or event).
Field: StudentID → Value: 10123
Field: FirstName → Value: Anjali
Field: LastName → Value: Gurung
Field: Major → Value: BSc.CSIT
A collection of related records.
Example: A `Students.csv` file would contain the records for all students in the university.
An integrated collection of related files (tables).
Example: A `UniversityDB` would contain the `Students` file, `Courses` file, and `Faculty` file, all linked together.
From a single character to an entire database.
Organizing data is the first step. The real goal is to create meaning.
This leads us to the crucial difference between three key terms...
Data ➡️ Information ➡️ Knowledge
Raw, unorganized facts. Meaningless on its own.
45
NPR
Momo
Data organized into a meaningful context.
"The price of one plate of momo is NPR 45."
Actionable insights derived from information.
"By pricing our momos at NPR 45, we are 10% cheaper than competitors, which could increase our sales volume."
Let's apply this to a real-world scenario in Nepal.
150, "Laptop Bag", "Pokhara", "2023-11-10"
On November 10th, 2023, 150 units of "Laptop Bag" were sold to customers in Pokhara.
Sales of laptop bags in Pokhara tripled during the Gandaki IT Fair. For the next fair, we should pre-stock inventory in our Pokhara hub and run targeted ads to capitalize on this trend.
Questions before we wrap this hour?
Next: Unit 8 · Session 2 — File Systems vs Databases and Models