Tutorial 1 Extra
Tutorial 1 Extra
Question 1:
i. Real-world entity: A modern DBMS uses real-world entities to design its architecture, making
it more realistic. It uses behaviour and attributes. School databases may use students as
entities and age as attributes.
ii. Relation-based tables: DBMS lets entities and relations form tables. Table names reveal a
database's architecture.
iii. Isolation of data and application: Databases and data are completely different. A database
works and organises on passive data. It stores metadata, or data about data, to simplify its
process.
iv. Less redundancy: DBMS normalises relations by splitting them when attributes have
duplicate values. Data redundancy is reduced by mathematically rich and scientific
normalisation.
v. Consistency: Database consistency means every relation is consistent. There are methods to
detect database inconsistency. A DBMS is more consistent than file-processing systems.
vi. Query language: DBMS query language speeds up data retrieval and manipulation. User can
apply as many and different filtering options as needed to retrieve data. In traditional file-
processing systems, it was impossible.
Question 2:
i. Administrators: Administrators are in charge of managing the database and maintaining the
DBMS. They are in charge of monitoring how it should be used and by whom. In order to
enforce security and maintain isolation, they create access profiles for users and set
restrictions. Additionally, administrators take care of DBMS resources like system licences,
necessary tools, and other hardware and software-related upkeep.
ii. Designers: The group of people who actually work on designing the database is known as
the designers. They closely monitor what information needs to be stored and in what
format. The entire set of entities, relations, constraints, and views are identified and
designed by them.
iii. End users: End users are the ones who actually use a DBMS and benefit from it. End users
can be as basic as viewers who focus on the logs or market prices or as complex as business
analysts.
Question 3:
i. Data Tier in a database - The database and its query processing languages are located at this
tier. At this level, we also have the relations that define the data and their limitations.
ii. The application server and the programmes that use the database are located in the
application (middle) tier. This application tier displays an abstracted view of the database to
the user. Beyond the application, end users are unaware that the database even exists. The
database tier, on the other hand, is not aware of any users past the application tier. As a
result, the application layer serves as a bridge between the database and the end user.
iii. (Presentation) User End users only interact with this layer, and they are unaware that the
database extends beyond it. The application can offer various views of the database at this
layer. Applications that are housed in the application tier produce all views.