Sim-Ais422l-Ulo A (Week 4 To 5)
Sim-Ais422l-Ulo A (Week 4 To 5)
Sim-Ais422l-Ulo A (Week 4 To 5)
2
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
3
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Penalties for Late The score for an assessment item submitted after
Assignments/Assessments the designated time on the due date, without an
approved extension of time, will be reduced by 5
points of the possible maximum score for that
assessment item for each day or part day that the
assessment item is late.
4
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
LECTURE 40%
Examinations 60%
Exam 1 10%
Exam 2 10%
Exam 3 10%
Exam 4 30%
Class Participation 40%
Assignments 5%
Quizzes 10%
Oral Recitation10%
Research 15%
TOTAL 100%
LABORATORY 60%
Examinations 50%
Exam 1 15%
Exam 2 15%
Final Exam 20%
Lab Quizzes 10%
Lab Exer/Assign/Field Work 40%
TOTAL 100%
5
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
CC’s Voice: Hello, future data analyst! Welcome to this course- AIS
422L: Management Information System. MIS will give ideas
to help you realize maximum benefit from investment in
personnel, equipment, and business processes. Learning
MIS will make you be a people-oriented field with an
emphasis on service through technology. So lets have fun
while learning.
6
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
CO To become an excellent internal auditor and risk manager, you will
need to learn not only the fundamentals of accounting, but also its
allied area of disciplines. In this course you are expected to apply
key concepts in Enterprise Risk Management, its benefits and how
it should be applied to organizations. As being part of the program
you have chosen, you are expected to be honed with the necessary
knowledge, and apply the same on the next subjects you will have
as you progress.
Let us begin!
Big Picture
Week 4-5: Unit Learning Outcomes (ULO): At the end of the unit, you are
expected to
Metalanguage
In this section, you will learn:
• Data modelling
• Information modelling
• Database management system
7
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Essential Knowledge
Information plays a vital role in decision-making. Even to take very simple decisions,
we need information. To understand the role played by information in decision-
making, we have to understand how decisions are taken.
8
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Presentation of Information for Decision-Making
To run a business you need data, records, reports, analysis, accurate information
about assets, debts, liabilities, profits; and that is why Accounting is Importance for
any business activities.
9
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
The information developed by the accountant’s information system can be useful to:
Data Modelling
Data models are built around business needs. Rules and requirements are defined
upfront through feedback from business stakeholders so they can be incorporated
into the design of a new system or adapted in the iteration of an existing one.
10
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
what is being designed.
Data modeling employs standardized schemas and formal techniques. This provides
a common, consistent, and predictable way of defining and managing data resources
across an organization, or even beyond.
Ideally, data models are living documents that evolve along with changing business
needs. They play an important role in supporting business processes and planning
IT architecture and strategy. Data models can be shared with vendors, partners,
and/or industry peers.
Like any design process, database and information system design begins at a high
level of abstraction and becomes increasingly more concrete and specific. Data
models can generally be divided into three categories, which vary according to their
degree of abstraction. The process will start with a conceptual model, progress to a
logical model and conclude with a physical model. Each type of data model is
discussed in more detail below:
- Conceptual data models. They are also referred to as domain models and
offer a big-picture view of what the system will contain, how it will be
organized, and which business rules are involved. Conceptual models are
usually created as part of the process of gathering initial project requirements.
Typically, they include entity classes (defining the types of things that are
important for the business to represent in the data model), their characteristics
and constraints, the relationships between them and relevant security and
data integrity requirements. Any notation is typically simple.
11
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
- Logical data models. They are less abstract and provide greater detail about
the concepts and relationships in the domain under consideration. One of
several formal data modeling notation systems is followed. These indicate
data attributes, such as data types and their corresponding lengths, and show
the relationships among entities. Logical data models don’t specify any
technical system requirements. This stage is frequently omitted in agile or
DevOps practices. Logical data models can be useful in highly procedural
implementation environments, or for projects that are data-oriented by nature,
such as data warehouse design or reporting system development.
12
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
- Physical data models. They provide a schema for how the data will be
physically stored within a database. As such, they’re the least abstract of all.
They offer a finalized design that can be implemented as a relational
database, including associative tables that illustrate the relationships among
entities as well as the primary keys and foreign keys that will be used to
maintain those relationships. Physical data models can include database
management system (DBMS)-specific properties, including performance
tuning.
13
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
3. Identify relationships among entities. The earliest draft of a data model
will specify the nature of the relationships each entity has with the others. In
the above example, each customer “lives at” an address. If that model were
expanded to include an entity called “orders,” each order would be shipped
to and billed to an address as well. These relationships are usually
documented via unified modeling language (UML).
4. Map attributes to entities completely. This will ensure the model reflects
how the business will use the data. Several formal data modeling patterns
are in widespread use. Object-oriented developers often apply analysis
patterns or design patterns, while stakeholders from other business domains
may turn to other patterns.
Data modeling has evolved alongside database management systems, with model
types increasing in complexity as businesses' data storage needs have grown. Here
are several model types:
• Hierarchical data models represent one-to-many relationships in a treelike
format. In this type of model, each record has a single root or parent which
maps to one or more child tables. This model was implemented in the IBM
Information Management System (IMS), which was introduced in 1966 and
rapidly found widespread use, especially in banking. Though this approach
is less efficient than more recently developed database models, it’s still used
in Extensible Markup Language (XML) systems and geographic information
systems (GISs).
• Relational data models were initially proposed by IBM researcher E.F.
Codd in 1970. They are still implemented today in the many different
relational databases commonly used in enterprise computing. Relational
data modeling doesn’t require a detailed understanding of the physical
properties of the data storage being used. In it, data segments are explicitly
joined through the use of tables, reducing database complexity.
Relational databases frequently employ structured query language (SQL) for data
management. These databases work well for maintaining data integrity and
14
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
minimizing redundancy. They’re often used in point-of-sale systems, as well as for
other types of transaction processing.
• Entity-relationship (ER) data models use formal diagrams to represent the
relationships between entities in a database. Several ER modeling tools are
used by data architects to create visual maps that convey database design
objectives.
• Object-oriented data models gained traction as object-oriented
programming and it became popular in the mid-1990s. The “objects”
involved are abstractions of real-world entities. Objects are grouped in class
hierarchies, and have associated features. Object-oriented databases can
incorporate tables, but can also support more complex data relationships.
This approach is employed in multimedia and hypertext databases as well
as other use cases.
• Dimensional data models were developed by Ralph Kimball, and they were
designed to optimize data retrieval speeds for analytic purposes in a data
warehouse. While relational and ER models emphasize efficient storage,
dimensional models increase redundancy in order to make it easier to locate
information for reporting and retrieval. This modeling is typically used
across OLAP systems.
Two popular dimensional data models are the star schema, in which data is
organized into facts (measurable items) and dimensions (reference information),
where each fact is surrounded by its associated dimensions in a star-like pattern.
The other is the snowflake schema, which resembles the star schema but includes
additional layers of associated dimensions, making the branching pattern more
complex.
Data modeling makes it easier for developers, data architects, business analysts,
and other stakeholders to view and understand relationships among the data in a
database or data warehouse. In addition, it can:
• Reduce errors in software and database development.
• Increase consistency in documentation and system design across the
enterprise.
• Improve application and database performance.
• Ease data mapping throughout the organization.
• Improve communication between developers and business intelligence
teams.
• Ease and speed the process of database design at the conceptual, logical
and physical levels.
15
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Traditionally, data was organized in file formats. DBMS was a new concept then,
and all the research was done to make it overcome the deficiencies in traditional
style of data management. A modern DBMS has the following characteristics −
16
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Normalization is a mathematically rich and scientific process that reduces
data redundancy.
Applications of DBMS
Database is a collection of related data and data is a collection of facts and figures
that can be processed to produce information.
Mostly data represents recordable facts. Data aids in producing information, which
is based on facts. For example, if we have data about marks obtained by all
students, we can then conclude about toppers and average marks.
A database management system stores data in such a way that it becomes easier
to retrieve, manipulate, and produce information. Following are the important
characteristics and applications of DBMS.
• Multiple views − DBMS offers multiple views for different users. A user who
is in the Sales department will have a different view of database than a
person working in the Production department. This feature enables the users
to have a concentrate view of the database according to their requirements.
• Security − Features like multiple views offer security to some extent where
users are unable to access data of other users and departments. DBMS
offers methods to impose constraints while entering data into the database
and retrieving the same at a later stage. DBMS offers many different levels of
security features, which enables multiple users to have different views with
different features. For example, a user in the Sales department cannot see
17
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
the data that belongs to the Purchase department. Additionally, it can also be
managed how much data of the Sales department should be displayed to the
user. Since a DBMS is not saved on the disk as traditional file systems, it is
very hard for miscreants to break the code.
Users
A typical DBMS has users with different rights and permissions who use it for
different purposes. Some users retrieve data and some back it up. The users of a
DBMS can be broadly categorized as follows −
• Designers − Designers are the group of people who actually work on the
designing part of the database. They keep a close watch on what data
should be kept and in what format. They identify and design the whole set of
entities, relations, constraints, and views.
• End Users − End users are those who actually reap the benefits of having a
DBMS. End users can range from simple viewers who pay attention to the
logs or market rates to sophisticated users such as business analysts.
The very first data model could be flat data-models, where all the data used are to be
kept in the same plane. Earlier data models were not so scientific; hence they were
prone to introduce lots of duplication and update anomalies.
18
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Entity-Relationship Model
ER Model is based on −
Mapping cardinalities −
o one to one
o one to many
o many to one
o many to many
Relational Model
The most popular data model in DBMS is the Relational Model. It is more scientific
a model than others. This model is based on first-order predicate logic and defines
a table as an n-ary relation.
19
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Database Schema
A database schema is the skeleton structure that represents the logical view of the
entire database. It defines how the data is organized and how the relations among
them are associated. It formulates all the constraints that are to be applied on the
data.
A database schema defines its entities and the relationship among them. It contains
a descriptive detail of the database, which can be depicted by means of schema
diagrams. It’s the database designers who design the schema to help programmers
understand the database and make it useful.
20
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
• Logical Database Schema − This schema defines all the logical constraints
that need to be applied on the data stored. It defines tables, views, and
integrity constraints.
Database Instance
A database instance is a state of operational database with data at any given time.
It contains a snapshot of the database. Database instances tend to change with
time. A DBMS ensures that its every instance (state) is in a valid state, by diligently
following all the validations, constraints, and conditions that the database designers
have imposed.
21
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
ER Model - Basic Concepts
The ER model defines the conceptual view of a database. It works around real-
world entities and the associations among them. At view level, the ER model is
considered a good option for designing databases.
Entity
An entity can be a real-world object, either animate or inanimate, that can be easily
identifiable. For example, in a school database, students, teachers, classes, and
courses offered can be considered as entities. All these entities have some
attributes or properties that give them their identity.
An entity set is a collection of similar types of entities. An entity set may contain
entities with attribute sharing similar values. For example, a Students set may
contain all the students of a school; likewise a Teachers set may contain all the
teachers of a school from all faculties. Entity sets need not be disjoint.
Attributes
There exists a domain or range of values that can be assigned to attributes. For
example, a student's name cannot be a numeric value. It has to be alphabetic. A
student's age cannot be negative, etc.
Types of Attributes
• Derived attribute − Derived attributes are the attributes that do not exist in
the physical database, but their values are derived from other attributes
present in the database. For example, average_salary in a department
should not be saved directly in the database, instead it can be derived. For
another example, age can be derived from data_of_birth.
22
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
These attribute types can come together in a way like −
For example, the roll number of a student makes him/her identifiable among
students.
• Candidate Key − A minimal super key is called a candidate key. An entity set
may have more than one candidate key.
• Primary Key − A primary key is one of the candidate keys chosen by the
database designer to uniquely identify the entity set.
Relationship
• Binary = degree 2
• Ternary = degree 3
• n-ary = degree
23
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Mapping Cardinalities
Cardinality defines the number of entities in one entity set, which can be
associated with the number of entities of other set via relationship set.
• One-to-one − One entity from entity set A can be associated with at most
one entity of entity set B and vice versa.
• One-to-many − One entity from entity set A can be associated with more
than one entities of entity set B however an entity from entity set B, can be
associated with at most one entity.
• Many-to-one − More than one entities from entity set A can be associated
with at most one entity of entity set B, however an entity from entity set B can
be associated with more than one entity from entity set A.
24
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
• Many-to-many − One entity from A can be associated with more than one
entity from B and vice versa.
ER Diagram Representation
Entity
Entities are represented by means of rectangles. Rectangles are named with the
entity set they represent.
Attributes
25
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
If the attributes are composite, they are further divided in a tree like structure.
Every node is then connected to its attribute. That is, composite attributes are
represented by ellipses that are connected with an ellipse.
26
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Derived attributes are depicted by dashed ellipse.
Relationship
27
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
right can be associated with the relationship. It depicts one-to-many
relationship.
• Many-to-one − When more than one instance of entity is associated with the
relationship, it is marked as 'N:1'. The following image reflects that more than
one instance of an entity on the left and only one instance of an entity on the
right can be associated with the relationship. It depicts many-to-one
relationship.
• Many-to-many − The following image reflects that more than one instance of
an entity on the left and more than one instance of an entity on the right can
be associated with the relationship. It depicts many-to-many relationship.
Participation Constraints
• Partial participation − Not all entities are involved in the relationship. Partial
participation is represented by single lines.
28
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Crow's foot diagrams represent entities as boxes, and relationships as lines between
the boxes. Different shapes at the ends of these lines represent the relative
cardinality of the relationship.
Crow’s Foot Notation is useful for illustrating the relationships and cardinality of the
entities, but it’s also difficult to remember which symbols and notations are
appropriate. Consider the following scenarios:
A gym member has one gym pass and a gym pass has one member.
A gym member attends many yoga classes and a yoga class has many members.
29
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
A gym member can have zero or many gym visits. Don’t judge…
30
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Chen and Crow’s Foot notation use different approaches to represent relationships.
Some people prefer one over the other, but they ultimately show the same
information.
Chen notation uses a diamond and connecting lines with symbols to describe
relationship and cardinality, while Crow’s Foot just uses lines with symbols on the
end. Cardinality is essential for showing the numerical relationship between entities.
Self-Help: You can also refer to the sources below to help you further
understand the lesson:
Suggested Reference:
• Sousa, K. and Oz, E. (2015) Management Information Systems 7th Edition.
Cengage Learning.
31
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Let’s Check
Answer the following questions.
1. Are the properties of entities and represented by means of ellipses in Chen
Model. Attributes
2. A cardinality on which one entity from entity set A can be associated with at
most one entity of entity set B and vice versa. One to one
3. This schema pertains to the actual storage of data and its form of storage like
files and indices. It defines how the data will be stored in a secondary storage.
Physical Database Schema
4. In DBMS, a collection of records or documents dealing with one organization,
person, area or subject is known as:
a. File
b. Table
c. Database
d. Data
5. It is an organized collection of logically related data.
a. Information
b. File
c. Database
d. Table
6. A Stored representation of objects and events that have meaning and importance
in the user’s environment.
a. Table
b. Data
c. Information
d. Data Dictionary
7. These are data that describe the properties or characteristics of end-user data
and the context of those data.
a. Data Dictionary
b. Database Management System
c. Information
d. Metadata
8. Software system used to define, create, maintain and provide controlled access
to the database and its metadata.
a. Data Dictionary
b. Database Management System
c. Metadata
d. File
9. It is a set of values for all attributes of a particular entity, also known as tuples or
rows.
a. File
b. Records
c. Enterprise
32
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
d. Primary Key
12. Age a b c d e
14. Address a b c d e
16 Email a b c d e
17. Gender a b c d e
19. Price a b c d e
33
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Let’s Analyze
Research and answer the following questions. Justify your answers by giving an
actual/real example for each of your answers.
Questions
1. What is a primary key? Do you think PK is very important?
2. How important quality of information for decision-making? Top Management
does not care about the data that comes-in and comes-out to the
organization. Agree or disagree?
3. Where do you think quality of information starts?
4. You as an Accounting information professional how vital is your work in the
decision making of the management/organization?
34
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
In a Nutshell In a Nutshell
Activity. On this part of the SIM, I am pretty much sure that you have now the
understanding of how to have a good data modelling for quality if information. Also,
the importance of identifying the correct attributes for each of the entity and their
relationships because it will literally affect how are data to be processed to become
a more useful and credible information that are used for the knowledge of the
management/organization. But before we get deeper on to these things on a
different section of this module, I want you to write anything about the topics that
has been laid down on this ULO.
35
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
1.
2.
3.
KEYWORDS INDEX
36
College of Computing Education
3rd Floor, DPT Building
Matina Campus, Davao City
Telefax: (082)
Phone No.: (082)300-5456/305-0647 Local 116
Course Schedule
Our online class scheduled is every Wednesday at 5:30PM – 7:30PM, unless otherwise postponed
due to some situations. You will be notified in advance if there are changes. You are encouraged to
read the SIM first and participate actively during these meetings. Please see schedule below for your
guidance
Date
Regular Class Session 1 August 11, 2021
Regular Class Session 2 August 16, 2021
Regular Class Session 3 August 17, 2021
First Examination
Regular Class Session 4
Regular Class Session 5
Second Examination
Regular Class Session 6
Special Class Session 7
Third Examination
Regular Class Session 8
Project Presentation
Final Examination
RYANN F. PILAPIL
AIS422L Facilitator/Faculty
37