Thursday 5 February 2015

unified modeling language uml interview questions Part2

6. Explain all elements of a State-chart diagram.
a. Initial State: The first or the default state the object is in. It is denoted by a solid circle.
b. State: All the states an object can go in are mentioned in this. It is represented by a rectangle with rounded edges.
c. Transitions: depicted by arrow from the source state to destination state.
d. Final State: Depicts the end of the. It is shown by a bull's eye symbol.

7. What are the elements in State Chart diagrams?
? Initial State: This state shows the first activity of the flow.
? State: A state represents the state of an object at a particular given point of time.
? Transition: The transition from one state to another state of objects is represented by an arrow.
? Event and Action: A trigger that causes a transition to occur.
? Signal: When a message or a trigger caused by an event to a state, which causes a transition, this message is called as a signal.
? Final State: The state diagram ends with a diagram that depicts a bull?s eye is known as Final State.

8. What are the parts of a deployment diagram?
? Nodes: A node represents any hardware component. The configuration of hardware is represented by attributes of nodes.
? Components: A component represents software. Each component straightly represents a class or object that in turn represents methods.
? Dependencies: The reliability of one component with that of another is depicted by dependencies.
? Links: To tie up tow nodes, the links are utilized. The links are implemented by using nodes and their associations.

9. What are the various components in sequence diagrams?
? Actor: Actor represents an external user / end user who interact with the system.
? Object: Object is represented by one of components of the system.
? Unit: A unit is a subsystem, or a sub component or other entity within the system.
? Separator: Separator represents a boundary among sub systems, components or units.
? Group: Represents different header elements in the subsystem.

10. What is component diagrams in UML?
A component diagram is particularly useful with teams of larger size. UML components are great to perform architectural landscape for a specific system. The component diagram allows to model high level software components and interfaces to those components. The sub team?s effort is very less, once the interfaces are perfectly designed and accepted by the team members.
More Questions & Answers :-
Part1  Part2  Part3  Part4  Part5  Part6

No comments:

Post a Comment