Explain about executable UML? Executable does not use full functionality and standards as present in UML. Although there are many constructs present in UML all of them are not used for designing, executable UML uses only limited number of constructs. Explain about the difficulties of interchange format of UML?
Portability of the language from one format to another format is not possible and lack of information can be possible in the course. It also lacks sufficient details which make it impossible for interchange between modeling tools. State some benefits of iterative development? Some of the benefits offered by iterative development are as follows: —. Your email address will not be published. Difference between Activity and Sequence Diagram. Activity diagram: captures the process flow.
They are used for functional modeling. Sequence diagram: the track the interaction between the objects. They are used for dynamic modeling. An activity diagram depicts the operational workflows. A sequence diagram is focused to represent interactions between different objects. Activity diagram shows the actions for various objects.
The following are the elements of the use case diagrams: Actors: An actor is one of the entities who perform certain actions. These roles are the actual business roles of the users in given system. An actor interacts with a use case of the system. For example, for a banking system, a customer is one of the actors. Use Case: A use case is a use case diagram of UML represents a business functionality that is distinct. The use case should list the discrete business functionality that is specified in the problem statement.
Every business functionality is a potential use case. System boundary: A system boundary defines the scope of the system. The systems that use cases also need to be defined in the limits of the system. The system boundary is shown as a rectangle that spans all use cases of the system. Brief explanation of all elements in activity diagrams Activities: An activity indicates an action that performed in the system.
Transitions: Transitions are represented by open arrow heads. Transitions are used to indicate the flow among elements in the diagram. Decision Points: The logical branching is depicted by the decision points.
States: A state is shown in a rounded rectangle. States are indicated to mention the mile stones of processing in the activity diagrams. What are the different elements of a collaboration diagram? Object: The interaction between objects takes place in a system. An object is depicted by a rectangle with the name of the object, preceded by a colon and underline. The cardinality can be depicted by placing qualifiers on either ends. Messages: An arrow that commencing from one object to the destination object.
This depicts the interaction between objects. The sequence or order of the interaction is depicted by the number.
Explain all elements of a State-chart diagram. Initial State: The first or the default state the object is in. It is denoted by a solid circle. State: All the states an object can go in are mentioned in this. It is represented by a rectangle with rounded edges. Transitions: depicted by arrow from the source state to destination state. Final State: Depicts the end of the. 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.
A structural. C non-behavioral. D non structural. A qualified. B non-qualified. C non-qualified. A ordination. A non-behavioral. B non-structural. A activity. C collaboration. D object lifeline. A deployment. D collaboration. A sequence. Answer: interaction. A Letters. C Punctuation Characters. D All of the mentioned. Answer:All of the mentioned. A Delimiter. B Simple names. A Set of the objects.
Current Affairs Quiz November Current Affairs Quiz October Current Affairs Quiz September Current Affairs Quiz August Current Affairs Quiz July Current Affairs Quiz June Current Affairs Quiz May Current Affairs Quiz April Current Affairs Quiz March Current Affairs Quiz February Current Affairs Quiz January It defines the effective specification of operations and assertions. This represents the possible sequence of state change from one state to another.
The transition is the change in state from one to another. This can have very complex design and it represent the state of the object from start till end.
It captures the information about the business and the system on which it is implemented. The use case model is used to define the state model in which there is always a start state and an end state. The transactions are represented by the communication that is happening in between.
What are the roles played by packages, modules and wrappers in UML? It uses modelling to describe the system with less complexity and provide many strategies to incorporate in the model.
The unit of package as the classes in the same package are closely related. These keeps all the classes together that are related to each other and uses the association and different use cases to create models. Modules are used to hold the packages together in one and can be used together. It deploys client-server or architectural layers that are connected using the API that are predefined. Wrappers use the components that consists of object and allow fall back on standard UML model.
The objectives or the steps that are involved in object-oriented analysis and design are: - Create use cases to find the ways that a system can interact with the environment.
Elaborational approach treat a passage separating their specification from the implementation to create a new initial model and then adding more details to it till the code is not compiled. Elaborational approach ellaborate the object model such that there is no requirement left and all the requirements gets clarified at first go. The ellaboration happens in many phases and when the stages are final than the model gets ready. Why are attributes used in UML? Attributes are declared as a state variable that represents the total number of states that an object may occupy.
The attributes can have many types like: variable: the value changes according the requirement. Different instances can have different values.
Common: it requires the instances to have same value without knowing the value of it unique: Each instance will have a unique values as these uniquely identify the processes that are running and each will have a different storage point. There are three approaches that are used to store the knowledge and they are as follows: If the knowledge is separated from the class then there should be system to return back to the previous classes like first class or second class as used in semantic data modeling.
The knowledge can be placed inside any object types, and there we can do preservation of the code. The knowledge can be stored in both the objects and this will lead to the problem of maintaining two copies of the same thing. UML modeling - Model is a simplification of reality, it is Blueprint of the actual system What is the difference between uses and extends? This tells that for A to go towards completion first the task Y has to be completed.
How do we represent private, public and protected in class diagrams? Private, public and protected are the visibility properties in class diagrams that control the visibility options for a particular diagram.
A symbol has to be represented with each property and method. What does associations, aggregation and composition in a class diagram mean? To represent the whole module as one, you need to group them and have relationships between them. Aggregation allows the object to exist without an aggregated object.
For example: if the professor leaves the department still the department continues. How the object diagrams gets represented in UML? Object diagrams give a pictorial representation of class diagram.
Object diagrams are represented with objects only and the relationships gets defined between them. This is a way to represent overall information in a tidy manner. UML use case diagram is used to represent the entire functionality of the system. It uses actors, arrows and use cases to represent the system.
They are very different from sequence diagrams or flow charts. How to identify the actors in a UCD? To identify the actors in Use Case Diagram first of all, you have to identify the actions that has to be taken by the actors. Actors in most of the cases will be in human form as you will be interacting with the system. If the system of yours will be interacting with other systems then make actors that are good to be used in there.
Example: Interaction with the database system- interactions with the inventory management system has to be formulated and the actors to be decided just for interaction purpose with this existing system. Who maintains the UML specification and how is it updated?
The revisions take place according to the suggestions being passed from all around. On what basis I will select or choose an UML modeling tool? You should have your own requirement for the modeling tool, to determine the type of support you require. There are few things, which has to be considered for choosing the UML modeling tool and it is as follows: - Tool that includes the support for compliance with UML specification - Tool that provides support for both notation and semantics of UML - Tool that includes model simulation and code-generation - Tool that includes model interchange with other UML tools - Tool that includes tool customization properties.
UML interview questions and answers What is the difference between uses and extends?
0コメント