DBMS_Assignment
DBMS_Assignment
Sub: DBMS
Subcode: BCS304
(a) Database
A database is an organized collection of data, generally stored and accessed electronically
from a computer system. It allows for efficient retrieval, insertion, and deletion of data, and
it is managed by a Database Management System (DBMS).
(c) Entity
An entity is an object or thing in the real world that is distinguishable from other objects. In
the context of databases, an entity represents a single object or concept, and it is typically
modeled as a table where each row represents a unique instance of the entity.
(d) Degree of a relationship
The degree of a relationship in a database refers to the number of entities involved in a
relationship. For example:
- Unary relationship involves one entity.
- Binary relationship involves two entities.
- Ternary relationship involves three entities.
3. Explain the three-schema architecture with a neat diagram and describe the
different schemas involved in DBMS
Three-Schema Architecture:
The three-schema architecture is a framework for database systems that separates the
database into three levels:
- Internal Schema: This level defines the physical storage structure of the database. It
includes details on data storage, file organization, and access paths.
- Conceptual Schema: This level provides a unified view of the entire database without
considering the physical aspects. It describes what data is stored in the database and the
relationships among those data.
- External Schema: This level involves multiple user views. It defines how different users see
the data in the database. Each user view is tailored to meet the specific needs of a group of
users.
Diagram:
External Schema (User Views)
/ | \
View 1 View 2 View 3
\ | /
Conceptual Schema
|
Internal Schema