Which of the following is a design pattern?
A. Behavioral
B. Structural
C. Abstract Factory
D. All of the mentioned
Explanation: All the options are design patterns so option d.
A. Behavioral
B. Structural
C. Abstract Factory
D. All of the mentioned
Explanation: All the options are design patterns so option d.
A. Object
B. State
C. Interface
D. None of the mentioned
Explanation: In a state chart diagram, effects occur when the attribute’s value changes
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.
A. Structural things
B. Behavioral things
C. Groug things
D. Annotational things
Explanation: It include a note which is simply a symbol for rendering constraints and comments attached to an element or a collection of elements.
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.
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
A. All Statements Coverage
B. Control Structure Coverage
C. Cause-Effect Graphs
D. All Paths Coverage
Explanation: Rest are test strategies of white box testing.