Professional Documents
Culture Documents
EmployeeId
EmployeeHobby
EmployeePassword
Part 2
Part 3
(PLO 3)
Instructions to Student:
Please Note: Work presented in an assessment must be your own. Plagiarism is where a
student copies work from another source, published or unpublished (including the work of
another student) and fails to acknowledge the influence of another’s work or to attribute
quotes to the author. Plagiarism is an academic offence and the penalty can be serious. To
detect possible plagiarism we may submit your work to the national plagiarism detection
facility. This searches the Internet and an extensive database of reference material including
other students’ work to identify.
I have read the above information and I confirm that this work is my own and
that it may be processed and stored in the manner described.
Part 1
Institute of Southern Punjab
Department of Computer Science & IT
Classify the following attributes of an Entity type EMPLOYEE
ANSWER
Attributes in ER Diagram-
Attributes are the descriptive properties which are owned by each entity of
an Entity Set.
There exist a specific domain or set of values for each attribute from where the
attribute can take its values.
Types of Attributes-
In ER diagram, attributes associated with an entity set may be of the following types-
1. Simple attributes
2. Composite attributes
3. Single valued attributes
4. Multi valued attributes
5. Derived attributes
6. Key attributes
1. Simple Attributes-
Simple attributes are those attributes which can not be divided further.
Institute of Southern Punjab
Department of Computer Science & IT
Example-
Here, all the attributes are simple attributes as they can not be divided further.
2. Composite Attributes-
Composite attributes are those attributes which are composed of many other simple
attributes.
Example-
Here, the attributes “Name” and “Address” are composite attributes as they are
composed of many other simple attributes.
Example-
Here, all the attributes are single valued attributes as they can take only one specific
value for each entity.
Example-
Here, the attributes “Mob_no” and “Email_id” are multi valued attributes as they can take
more than one values for a given entity.
Institute of Southern Punjab
Department of Computer Science & IT
5. Derived Attributes-
Derived attributes are those attributes which can be derived from other attribute(s).
Example-
Here, the attribute “Age” is a derived attribute as it can be derived from the attribute
“DOB”.
6. Key Attributes-
Key attributes are those attributes which can identify an entity uniquely in an entity set.
Example-
Here, the attribute “Roll_no” is a key attribute as it can identify any student uniquely.
Classification of attributes
Institute of Southern Punjab
Department of Computer Science & IT
key
simple
stored
EmployeeId
require
d
single
Non-
key
simple
stored
EmployeeHobby
optiona
l Multi
valued
Non-
key
Institute of Southern Punjab
Department of Computer Science & IT
simple
stored
Employeepassword
require
d Single
valued
Part 3
Is it possible to further transform the following abovecreated ERD in Part 2 as per Logical
Data Modeling?
If Yes; Than Design a transformed ERD in Information Engineering Standard
Answer
A logical data model (LDM) is a type of data model that describes data elements in
detail and is used to develop visual understandings of data entities, attributes, keys, and
relationships. This kind of model is uniquely independent from a specific database in order
to establish a foundational structure for components of the semantic layer in data
management systems. Think of an LDM as a blueprint:
It represents the definitions and characteristics of data elements that stay the same
throughout technological changes.
defines how a system has to be implemented and is not specific to
a database
Users who generally create LDMs are data architects and business analysts. These models
are used as a foundation for physical data models because they distinguish the relationships
and attributes for each entity.
Institute of Southern Punjab
Department of Computer Science & IT
Dates: can include day of the week, month, quarter, year, and more
Institute of Southern Punjab
Department of Computer Science & IT
Facts: numerical values or pieces of data
https://www.gooddata.com/blog/how-build-logical-data-models-
scale-analytical-applications/
part 2
Design/Draw an ERD in Information Engineering Style as per Conceptual Data Modeling of
the following above Entity type along with the given Attributes in Part 1?
This model does not have technical details, such as attributes, data types,
etc
EmployeeHOBBY_Employee: : A one-mandatory-to-many-mandatory
relationship.
EmployeeID_Employee : : A optional-mandatory-to-one-mandatory
relationship.
Employeepassword_Employee : A one-mandatory-to-one-mandatory
relationship
https://vertabelo.com/blog/conceptual-data-model/
BEST OF LUCK!!!
Institute of Southern Punjab
Department of Computer Science & IT