SOFTWARE ENGINEERING

SOFTWARE DESIGN

OBJECT ORIENTED DESIGN

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is a lifeline?
A
It is a frame consisting of a rectangle with a pentagon in its upper left-hand corner
B
It is a rectangle containing an identifier with a dashed line extending below the rectangle
C
It is a name compartment; the interaction is represented inside the rectangle
D
None of the mentioned
Explanation: 

Detailed explanation-1: -Explanation: Lifeline is a rectangle containing an identifier with a dashed line extending below the rectangle. Take Software Architecture and Design Mock Tests-Chapterwise! 6.

Detailed explanation-2: -Lifeline represents the existence of an object over a period of time. A vertical dotted line extending from the object is used to denote a lifeline. • Activation represents the time during which an object is performing an operation. Thin rectangles placed on lifelines are used to denote activations.

Detailed explanation-3: -An object is shown as a vertical dashed line called a lifeline. Lifeline represents the existence of object at a particular time. An object symbol is drawn at the head of the life line. Name of object & its class are separated by a colon & underlined.

There is 1 question to complete.