You are on page 1of 7

Jaspreet Kaur Reg No- 1070070114 Roll No- RB27T1A06 Que 1.

Elaborate architecture diagram concept with a suitable example? Answer:

And the centre is the Use Case view which connects all these four. A Use case represents the functionality of the system. So the other perspectives are connected with use case.

Design of a system consists of classes, interfaces and collaboration. UML provides class diagram, object diagram to support this. Implementation defines the components assembled together to make a complete physical system. UML component diagram is used to support implementation perspective. Process defines the flow of the system. So the same elements as used in Design are also used to support this perspective. Deployment represents the physical nodes of the system that forms the hardware. UML deployment diagram is used to support this perspective.

Que 2. How to depict a message in collaboration diagrams? Explain with any example diagram. Answer:

To depict a message, we draw a small arrow from the sender object to the target object; this shows the direction of communication: with the arrow is the operation name we desire to execute, along with all arguments. the arrow is parallel to a line, which depicts there is a link between the objects (usually by a class association, but not necessarily)

Suppose we wanted to verify the angle first, and then set it, how do we depict the order in which the calls should be made. We simply need to add numbers to the messages to show the sequence of the calls.

Explain through an example:

Que 3. Difference and similarities between state chart and flow diagram. Draw the state machine for ATM system for transfer money? Answer: State chart diagrams: Member of the Behavioural group Graph of states and transitions showing the response of an object to external stimuli attached to a class or a method

State charts vs. Scenarios:

State charts are constructive can be used to fully generate code as the entire state

space of a system is provided. Scenarios are semi-constructive They provide typical paths through the state space as the system is used. They can add operations and event handling to a state model. A statechart diagram shows the behavior of classes in response to external stimuli. This diagram models the dynamic flow of control from state to state within a system. Basic Statechart Diagram Symbols and Notations States: States represent situations during the life of an object. You can easily illustrate a state in Smart Draw by using a rectangle with rounded corners.

Transition: A solid arrow represents the path between different states of an object. Label the transition with the event that triggered it and the action that results from it.

Initial State: A filled circle followed by an arrow represents the object's initial state.

Final State: An arrow pointing to a filled circle nested inside another circle represents the object's final state.

Synchronization and Splitting of Control: A short heavy bar with two transitions entering it represents a synchronization of control. A short heavy bar with two transitions leaving it represents a splitting of control that creates multiple states.

Data Flow Diagramming is a means of representing a system at any level of detail with a graphic network of symbols showing data flows, data stores, data processes, and data sources/destinations. The purpose of data flow diagrams is to provide a semantic bridge between users and systems developers. The diagrams are:

graphical, eliminating thousands of words; logical representations, modeling WHAT a system does, rather than physical models showing HOW it does it; hierarchical, showing systems at any level of detail; and jargonless, allowing user understanding and reviewing.

Data Flow Diagrams are composed of the four basic symbols shown below.

The External Entity symbol represents sources of data to the system or destinations of data from the system. The Data Flow symbol represents movement of data. The Data Store symbol represents data that is not moving (delayed data at rest). The Process symbol represents an activity that transforms or manipulates the data (combines, reorders, converts, etc.). Any system can be represented at any level of detail by these four symbols. State machine for ATM system for transfer money

Que 4. Draw a activity diagram for lift control system. Answer:

You might also like