Podcast
Questions and Answers
What is the purpose of a package in UML?
What is the purpose of a package in UML?
- To represent collaborations, partitions, and layers (correct)
- To group use cases together
- To implement folders in programming languages
- To create a diagram composed only of packages
What is the relationship between packages and classes in a class diagram?
What is the relationship between packages and classes in a class diagram?
- Packages are implemented as folders
- Packages represent groupings of classes (correct)
- Packages participate in dependency relationships
- Packages are a general construct
What is the purpose of a dependency relationship in a package diagram?
What is the purpose of a dependency relationship in a package diagram?
- To create a diagram composed only of packages
- To implement folders in programming languages
- To group use cases together
- To portray a modification dependency between two packages (correct)
What is the relationship between the foundation layer and other layers in a package diagram?
What is the relationship between the foundation layer and other layers in a package diagram?
What is the difference between a package diagram and a class diagram?
What is the difference between a package diagram and a class diagram?