Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

WORKBOOK ACTIVITY

DFC 20203 DATABASE DESIGN

Table of Contents

# TOPICS PAGES

LAB ACTIVITY 1: Fundamentals of Database 3


Management System

LAB ACTIVITY 2: Relational Data Model 11

LAB ACTIVITY 3: Entity Relationship Model & 27


Normalization

LAB ACTIVITY 4: Structured Query Language (SQL) 39

LAB ACTIVITY 5: Database Transaction Management 54

Page 2 of 57
DFC 20203 DATABASE DESIGN

LAB ACTIVITY 1: Fundamentals of Database


Management System
Duration: 2 Hours

Learning Outcomes
This activity encompasses activities 1A, 1B and 1C.

By the end of this tutorial session, you should be able to:


1. Define Database Management System (DBMS)
2. Identify various common DBMS.
3. Explain the common features of DMBS

SCENARIO

Infinity Design Solution Sdn. Bhd, an advertising company wants to automate the system of
managing Human Resources (HR) data. Miss Suria was selected to be an IT programmer for
Infinity Design Solution. En. Mohamed insist to develop a system to manage staff payroll. Miss
Suria needs to prepare preliminary research about the database management system.

INSTRUCTION:
Answer the entire questions below.

Activity 1A

Activity Outcome: Define Database Management System (DBMS).

Briefly explain in your own words the definitions below.

Database

Database is a collection of related data that is shared by the various categories of


users o meet the requirement of an organization information

Page 3 of 57
DFC 20203 DATABASE DESIGN

Database Management System

Database management system is a software system that enables users to


define, create and maintain the database and that provides controlled access to
this database

Activity A1B

Activity Outcome: Identify various common DBMS.

In group of two, list the common DMBS use in database management.

Open Source Software


MariaDB

MySql

CUBRID

PostgresSQL

Licence software
Oracle

IBM

SQL server

Microsoft access

Page 4 of 57
DFC 20203 DATABASE DESIGN

Activity 1C
Activity Outcome: Explain the common features of DBMS

Briefly explain the following common features of DBMS.

Information that is set up for easy access


Languageand andupdating.
graphical tools to definetypically
entities,
Database management
relationships,
Computer databases
store aggregations integrity constrains
of data records andcontain
or files that
definition authorization
information, such right
as sales transactionscustomer data,
financials and product information.

Once a database has been created in a DBMS using a


Nonprocedural DDL,the user accesses the data using a Data
access Manipulation Language(DML).The standard DML is
SQL.

Application Graphical tools for developing forms and


development reports using non-proceural programming.

Procedural A language that combines nonprocedural


language access with procedural programming.
interface

Transaction Perform scheduling of operation and implements


concurrency control algorithms.
Processing

Tools to monitor and improve database


Database tuning performance.

Page 5 of 57
DFC 20203 DATABASE DESIGN

Activity 1D

Activity Outcome: Identify the three-schema architecture of DBMS.

1. Three-schema architecture also known as ANSI-SPARC architecture. What does ANSI- SPARC
stand for?

The ANSI-SPARC Architecture stands for (American National Standards


Institute, Standards Planning And Requirements Committee).

2. Write the correct schema for the explanation given.

o User’s view of database.


Describes the part of the database that a particular user group Answer:
o is interested in
Hides the rest of the database from that user group. External level
o Excludes irrelevant data as well as data which the user is not
authorized to access.
o Written in the Data Definition Language
o

oThis schema concern in


Answer:
:  Storage space allocation for data and indexes Record
 description for storage Conceptual level
 Record placement
 Data compression and data encryption technique

o Community view of database. Answer:


Hides the details of physical storage structures
o Describes what data is stored in database and Internal level
relationships among the data.
o Doesn’t specify how the data is physically stored. Only
DBA define and works at this level.
o

Page 6 of 57
DFC 20203 DATABASE DESIGN

Based on the diagram given, fill in the blanks with the correct schema.

End Users

External View ... External View


External Level
External/Conceptual mapping

Conceptual Schema
Conceptual Level

Conceptual / Internal mapping

Internal Level Internal Schema

Page 7 of 57
DFC 20203 DATABASE DESIGN

Activity 1E

Activity Outcome: Describe the client-server architecture of DBMS.

In group of two, briefly explain about types of client server architecture below:

Client-Server architecture

A computing model in which the server hosts, delivers, and manages


most of the resources and services requested by the client. It is also
known as the networking computing model or client server network
as all requests and services are delivered over a network. The client-
server architecture or model has other systems connected over a
network where resources are shared among the different computers.

File-Server architecture

A central server instance in a computer network that enables connected


clients to access the server’s storage capacities. The term encompasses
both the hardware and software needed to implement such a server. As long
as they have received the corresponding authorizations, accessing users can
open, read, change, and delete files and folders on a file server as well as
even upload their own files to the server.

Database-Server architecture

A representation of DBMS design. It helps to design, develop,


implement, and maintain the database management system. A DBMS
architecture allows dividing the database system into individual
components that can be independently modified, changed, replaced,
and altered. It also helps to understand the components of a database.

Three Tier architecture

A client-server architecture in which the functional process logic, data access,


computer data storage and user interface are developed and maintained as
independent modules on separate platforms.
Three-tier architecture is a software design pattern and a well-established
software architecture.

Page 8 of 57
DFC 20203 DATABASE DESIGN

Activity 1F
Activity Outcome: Identify the two categories of DBMS.

Based on the list of database software below, you are required to identify the categories of DBMS for
each of database software.

No Database Software Categories of DBMS


Server database
1 Oracle
Desktop database
2 Microsoft Access
Desktop database
3 Paradox
Server database
4 Microsoft SQL Server
Desktop database
5 Lotus
Desktop database
6 FoxPro
Server database
7 DB2
Server database
8 IBM
Desktop database
9 FileMaker Pro

Page 9 of 57

You might also like