Three items of interest in use case diagrams are:

Objects, activities, and communications
Actors, messages, and activities
Objects, use cases, and activities
Actors, use cases, and communications

close window

  

Every student at TS College will be advised by one teacher. Some teachers advise many students, and some advise none. Which of the following class diagrams most clearly represents that student-teacher relationship?

 

Class diagram Class diagram
Class diagram Class diagram
  
close window

  

Which of the following statements is correct?

Classes in class diagrams may be grouped into packages in order to illustrate the overall organization of a model.
In object diagrams, names of instances are in italics or all-caps.
If package B depends on package A, then any change in A will require a change in B.
Object diagrams and class diagrams are completely interchangeable.

close window

  

Which of the following pieces of sequence diagrams represents this action:

    "Object A sends object B several messages named msg."

Sequence diagram Sequence diagram
Sequence diagram Sequence diagram
close window

  

Which of the following statements is correct?

Collaboration diagrams are dynamic models.
Sequence numbers in collaboration diagrams are optional.
Collaboration diagrams do not show iteration since that is a low-level implementation detail.
Collaboration diagrams cannot show when an object sends itself a message.

close window

  

Which of the following statements about statechart diagrams is correct?

All actions in a statechart diagram are attached to transitions.
An event may cause an object to remain in the same state it was prior to the event.
Once an object leaves a state, it cannot return to that state.
Two different transitions out of the same state may overlap (they can be triggered by the same event).

close window

  

Which of the following pseudo code implements the activity diagram above?

  

If (OK) then
  do C
else
  do A and B //either order
do D
  

do C
do A and B
do D
  

if (OK) then
  do C
else
  do A OR B //not both
do D
  

if (OK) then
  do C
else
  do A
  do B
do D

close window

  

What is the symbol for a component in a deployment diagram?

There is no symbol because components are not allowed in deployment diagrams.
A rounded rectangle, just like a state in a state diagram.
A 3-dimensional rectangular solid (like a box).
A rectangle with tabs on its left side.

close window