/
Fundamentals of UML Diagrams
Save to my account
Sign up
Fundamentals of UML Diagrams
Fundamentals of UML Diagrams
Study
1
Question
What does the acronym UML stand for in software engineering?
Page 4
Answer
Unified Modeling Language, a modeling language most often used for visualizing software through diagrams.
2
Question
Who created the Unified Modeling Language according to the course material?
Page 4
Answer
Three software engineers at the company Rational Software for their projects.
3
Question
What is the primary purpose of UML in software development?
Page 5
Answer
To provide a standard way to visualize the design of a system, both structurally and behaviorally.
4
Question
How many UML diagrams are there in the current version?
Page 6
Answer
Thirteen UML diagrams, up from the original nine in earlier versions.
5
Question
What are the two main categories into which UML diagrams are divided?
Page 6
Answer
Structural diagrams and behavioral diagrams.
6
Question
What does static modeling in UML primarily show?
Page 4
Answer
Things like classes, objects, interfaces, and the relationships between them.
7
Question
Name two examples of UML diagrams used for static modeling.
Page 4
Answer
Class diagrams and object diagrams.
8
Question
What does dynamic modeling in UML illustrate about a system?
Page 4
Answer
The behavior of static aspects, including workflow, passage of time, and different states where something changes.
9
Question
Provide three examples of UML diagrams for dynamic modeling.
Page 4
Answer
Interaction diagrams, object diagrams, and activity diagrams.
10
Question
What is forward design in the context of UML diagrams?
Page 5
Answer
Modeling and design done before coding the software application to help developers visualize the system.
11
Question
Describe the purpose of backward design using UML diagrams.
Page 5
Answer
Modeling done after code is written, where diagrams act as documentation for the project workflow to improve future development.
12
Question
How does UML support visualization in projects regardless of design timing?
Page 5
Answer
UML diagrams provide a way to visualize many aspects of a project and identify who is responsible for each activity.
13
Question
What are the four problem-solving model categories in computer science mentioned?
Page 6
Answer
Imperative, functional, declarative, and object-oriented.
14
Question
In object-oriented programming, how are algorithms expressed?
Page 6
Answer
By defining objects and having those objects interact with each other.
15
Question
Why do object-oriented languages dominate programming according to the material?
Page 6
Answer
Because they model real-world objects like buildings, desktop widgets, or human beings.
16
Question
What three object-oriented notations combine to form UML?
Page 6
Answer
Object-Oriented Design, Object Modeling Technique, and Object-Oriented Software Engineering.
17
Question
What is a class diagram in UML and why is it the most common?
Page 7
Answer
The most common documentation diagram for software, showing classes with attributes and behaviors connected by lines for relationships.
18
Question
What are the three fields in a UML class diagram?
Page 7
Answer
The class name, its attributes, and behaviors or operations.
19
Question
How does an object diagram differ from a class diagram?
Page 7
Answer
Object diagram is a subset showing a particular instance of a class, like 'Customer 1' with specific attributes.
20
Question
What does a composite structure diagram depict in UML?
Page 7
Answer
The internal structure of a class, breaking it into components and showing how they relate and communicate.
21
Question
Why is the composite structure diagram used less frequently?
Page 7
Answer
It is extremely specific, especially less common in business environments compared to other class subsets.
22
Question
What is the main function of a package diagram in UML?
Page 8
Answer
To organize system elements into groups called packages, sorted into related groups showing relationships or interactions.
23
Question
When is a package diagram particularly helpful?
Page 8
Answer
For showing complex systems and behaviors that are hard to visualize in detail.
24
Question
What distinguishes structural diagrams from behavioral diagrams in UML?
Page 7
Answer
Structural diagrams break down the project by setup and components; behavioral by system behavior and actor involvement.
25
Question
How does UML extend beyond software development?
Page 5
Answer
To applications like process flow in manufacturing and other business processes.
26
Question
What role does UML play in object-oriented modeling and design?
Page 6
Answer
Combines strengths of object-oriented notations for consistent methodology in building and documenting software systems.
27
Question
Why is the class diagram essential for showing relationships in software?
Page 7
Answer
Different types of lines connect classes to illustrate relationships between them in the first, attribute, and behavior fields.
28
Question
In what scenario would you use an object diagram over a class diagram?
Page 7
Answer
To display a particular instance of a class and check if the class-based system is viable in practice.
29
Question
What real-world entities can object-oriented models represent?
Page 6
Answer
Buildings, widgets on a desktop, or human beings as manipulable objects.
30
Question
Define a UML diagram's role in forward versus backward design.
Page 5
Answer
Forward: pre-coding visualization; Backward: post-coding documentation for workflow improvement.