Unified Modeling Language (UML) Class Diagram Flashcards
A standardized general-purpose modeling language
uml
Developed (and managed) under the auspices of the Object Management
Group (OMG) for creating specifications of various components of a software
system
UML
Includes graphic notation techniques to create visual models for software-
intensive systems
UML
Describes the structure of a system by showing the system’s classes, their
attributes, operations (or methods), and the relationships among objects
UML Class Diagram
Entity types are modeled as classes An entity corresponds to an ________
OBJECT
Relationship types are called ______________; A relationship instance is called a
_______
ASSOCIATIONS, LINK
Components of a UML Class Diagram
Box that has 3 Sections
TOP: CLASSNAME
Middle: Attributes_
bottom: operations
A composite attribute is modeled as a ___________________
structured domain
ie:
Name: Name_dom
First_name
Middle_initial
Last_name
TRUE or FALSE:
Derived attributes are placed in the bottom section (methods/operations)
True
TRUE or FALSE:
Multivalued attributes are generally modeled as a
separate class
TRUE
Relationship types (in ER) are called ___________; Represented by a line
associations
Relationship instances are called
links
Relationship constraints are called
multiplicities
Relationship attributes are called
link attributes
TRUE or FALSE
Aggregation in EERD is the same with UML
FALSE, Aggregation in UML is used to represent a relationship between a whole object and its component parts, where as in EERD is used to consider a relationship as 1 entity
Recursive Relationship in EERD are called as _____________ in UML
reflexive association
Derived from functional
requirements of the application
Operations
How are Weak Entities modeled in UML
using UML construct called qualified association (or aggregation)
(Partial Key/Discriminator is attached in the aggregation link)
represented by blank triangle
Disjoint
represented by filled triangle
Overlapping