Which of the following statement(s) is true about interaction diagrams ?

Which of the following statement(s) is true about interaction diagrams ?

A. Interaction diagrams are at their best when they deal with one main design flow and not multiple variants that can happen
B. Interaction diagrams are good at designing part or all of one use case’s functionality across multiple objects
C. Interaction diagrams allow the analyst to show iteration and conditional execution for messaging between objects
D. All of the mentioned

Explanation: Interaction diagram is used to describe some type of interactions among the different elements in the model. So this interaction is a part of dynamic behaviour of the system.

At Conceptual level Class diagrams should include_____________________?

At Conceptual level Class diagrams should include_____________________?

A. operations only
B. attributes only
C. both operations and attributes
D. none of the mentioned

Explanation: In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system’s classes, their attributes, operations, and the relationships among objects.

What is an object________________?

What is an object________________?

A. An object is an instance of a class
B. An object includes encapsulation of data
C. An object is not an instance of a class
D. All of the mentioned

Explanation: An object is an instance of a class.

What is an abstract class ?

What is an abstract class ?

A. A class that has direct instances, but whose descendants may have direct instances
B. A class that has direct instances, but whose descendants may not have direct instances
C. A class that has no direct instances, but whose descendants may have direct instances
D. All of the mentioned

Explanation: An abstract type is a type in a nominative type system which cannot be instantiated directly.

Select the statement true for activity diagrams ?

Select the statement true for activity diagrams ?

A. They can be used to discover parallel activities
B. They are used to depict workflow for a particular business activity
C. Activity diagram do not tell who does what and are difficult to trace back to object models
D. All of the mentioned

Explanation: Activity diagrams are graphical representations of workflows of step wise activities and actions with support for choice, iteration and concurrency.

UML interfaces are used to_____________________?

UML interfaces are used to_____________________?

A. specify required services for types of objects
B. program in Java, but not in C++ or Smalltalk
C. define executable logic to reuse across classes
D. define an API for all classes

Explanation: An interface is like a template design for a class that contains no data or implementation; only definitions for methods, properties etc