These are flashcards an notes made by students on topics like 'diagram', 'field' and 'frame', originating from:

- Michael Jesse Chonoles
ISBN-10 0128096403 ISBN-13 9780128096406
1335 Flashcards & Notes
  • This + 400k other summaries, also in PDF!
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Study Cards on diagram, field, frame

Often in UML, we surround a UML diagram by a boundary box called a..?
FRAME.
Report
For some diagram types, the frame has semantic meaning.

In these diagram types, diagram elements may be placed on the frame or across the frame boundary for different meanings.

In these diagram types, using the frame may be necessary to indicate ...?
some specific feature.

However, except for this purpose, eliminating the frame is generally at the modeler’s option.
Report
Without the frame, the diagram often does not feel complete.

In the OCUP 2 exams, as we often omit the frame because of space reasons, we usually refer to the remainder as a
DIAGRAM FRAGMENT.
Report
When the diagram frame appears, we are required to have a diagram HEADER,.

What is a Header?
The Header serves as the name for the diagram.
Report
Based on the UML Specification of Annex A, the diagram header is contained in a ...?
name tag, a rectangle with a cutoff corner (the lower right corner) forming an irregular pentagon (Fig. 4.10).
Report
What is the format of the heading (in BNF) ?
The format for the <heading>, given in BNF, is the following.

[<kind>]<name>[<parameters>]

<kind> ::= ‘activity’ | ‘act’ | ‘class’ | ‘component’ | ‘cmp’ | ‘deployment’ | ‘dep’ | ‘interaction’ | ‘sd
| ‘package’ | ‘pkg’ | ‘state machine’ | ‘stm’ | ‘use case’ | ‘uc
Report
This syntax in BNF is subject to many rules; the example above has the following rules:


1.  The angle brackets, “<>”, indicate a field that the user can supply the contents.



2.  Fields surrounded by square brackets, “[ ]”, indicate that the field is optional.



3.  The “::=” is an assignment statement defining a field by lower level fields for substitution.



4.  Fields separated by vertical bars “|” are alternatives.




5.  Terms surrounded by quotes are literals, and must be supplied as is. In the example, the literals are all bold face.



Therefore, the <kind> field is optional, but if used, it may be any one of the 15 listed possibilities. The <name> field is required, and the <parameters> field is optional.
Report
The heading of a diagram represents the ...?
The heading of a diagram represents the <kind>, <name>, and <parameters> of the namespace enclosing or the model element owning or containing the element in the diagram’s <contents area>.
Report
Many tools and users get confused and believe the bold <kind> field indicates the Diagram Kind.

Thus, a diagram containing use cases and actors would be given the <kind> of uc based on this misconception. Unfortunately, this is wrong.


What is the <kind> field for the use case?
Usually, a set of use cases would be kept in a package, so the correct <kind> field would be pkg.
Report
What are the <kind>  field for:

  • Structure Diagrams
  • Behavior diagrams
  • Interaction diagrams 
  • The majority of structure diagrams and use case diagrams would have <kind> field of pkg.


  • Because behavior diagrams work a bit differently, the <kind> of owning or containing model element tends to match the diagram type.


  • There is still the confusion that interaction diagrams (sequence diagram, timing diagram, interaction overview diagrams, and communication diagrams) all use the <kind> field of sd.
Report
  • Higher grades + faster learning
  • Don't study anything twice
  • 100% sure, 100% understanding
Discover Study Smart