Showing posts with label System Modeling. Show all posts
Showing posts with label System Modeling. Show all posts

Monday, February 27, 2012

What are the three types of abstract system model that are recommended by the MDA method?

What are the three types of abstract system model that are recommended by the MDA method?
Answer: 1. A computation independent model (CIM) that models the important domain abstractions used in the system. CIMs are sometimes called domain models. You may develop several different CIMs, reflecting different views of the system.
2. A platform independent model (PIM) that models the operation of the system without reference to its implementation. The PIM is usually described using UML models that show the static system structure and how it responds to external and internal events.
3. Platform specific models (PSM) which are transformations of the platform independent model with a separate PSM for each application platform.

What are the claimed benefits of model-driven engineering?

What are the claimed benefits of model-driven engineering?
Answer: Model-based engineering allows engineers to think about systems at a high level of abstraction, without concern for the details of their implementation. This reduces the likelihood of errors, speeds up the design and implementation process, and allows for the creation of reusable, platform-independent application models. By using powerful tools, system implementations can be generated for different platforms from the same model. Therefore, to adapt the system to some new platform technology, it is only necessary to write a translator for that platform. When this is available, all platform-independent models can be rapidly rehosted on the new platform.

What is the basic assumption that underlies event-driven modeling?

What is the basic assumption that underlies event-driven modeling?
Answer: Event-driven modeling is based on the assumption that a system has a finite number of states and that events (stimuli) may cause a transition from one state to another. For example, a system controlling a valve may move from a state ‘Valve open’ to a state ‘Valve closed’ when an operator command (the stimulus) is received. Event-driven modeling shows how a system responds to external and internal events.

How is generalization used to simplify the models of a system with many similar objects?

How is generalization used to simplify the models of a system with many similar objects?
Answer: Generalization is an everyday technique that we use to manage complexity. It is often useful to examine the classes in a system to see if there is scope for generalization. This means that common information will be maintained in one place only. This is good design practice as it means that, if changes are proposed, then you do not have to look at all classes in the system to see if they are affected by the change. In object-oriented languages, such as Java, generalization is implemented using the class inheritance mechanisms built into the language. In a generalization, the attributes and operations associated with higher-level classes are also associated with the lower-level classes.

What is illustrated in a UML sequence diagram?

What is illustrated in a UML sequence diagram?
Answer: Sequence diagrams in the UML are primarily used to model the interactions between the actors and the objects in a system and the interactions between the objects themselves. A sequence diagram shows the sequence of interactions that take place during a particular use case or use case instance. The UML has a rich syntax for sequence diagrams, which allows many different kinds of interaction to be modeled. The objects and actors involved are listed along the top of the diagram, with a dotted line drawn vertically from these. Interactions between objects are indicated by annotated arrows.

What are the principal components of a textual use-case description?

What are the principal components of a textual use-case description?
Answer: Name: The name of the use case.
Brief Description: A brief description of the role and purpose of the use case.
Flow of events: A textual description of what the system does in regard to the use case (not how specific problems are solved by the system). The description is understandable by the customer.
Special requirements: A textual description that collects all requirements, such as non-functional requirements, on the use case, that are not considered in the use-case model, but that need to be taken care of during design or implementation.
Preconditions: A textual description that defines a constraint on the system when the use case may start.
Post conditions: A textual description that defines a constraint on the system when the use cases have terminated.
Extension points: A list of locations within the flow of events of the use case at which additional behavior can be inserted using the extend-relationship.

How are activity diagrams used in describing the context of use of a system?

How are activity diagrams used in describing the context of use of a system?
Answer: Activity diagrams are intended to show the activities that make up a system process and the flow of control from one activity to another. The start of a process is indicated by a filled circle and the end by a filled circle inside another circle. In a UML activity diagram, arrows represent the flow of work from one activity to another. A solid bar is used to indicate activity coordination.

What is described in a context model?

What is described in a context model?
Answer: Context models show what lays outside the system boundaries by illustrating the operational context of a system. This involves working with system stakeholders to decide what functionality should be included in the system and what is provided by the system’s environment. Social and organisational concerns may affect the decision on where to position system boundaries. Context models normally show that the environment includes several other automated systems. However, they do not show the types of relationships between the systems in the environment and the system that is being specified. Architectural models show the system and its relationship with other systems.

What UML diagram types may be used to represent the essential features of a system?

What UML diagram types may be used to represent the essential features of a system?
Answer: (a) Activity diagrams, which show the activities involved in a process or in data processing.
(b) Use case diagrams, which show the interactions between a system and its environment.
(c) Sequence diagrams, which show interactions between actors and the system and between system components.
(d) Class diagrams, which show the object classes in the system and the associations between these classes.
(e) State diagrams, which show how the system reacts to internal and external events.

What perspectives may be used for system modeling?

What perspectives may be used for system modeling?
Ans: (a) An external perspective, where you model the context or environment of the system.
(b) An interaction perspective where you model the interactions between a system and its environment or between the components of a system.
(c) A structural perspective, where you model the organization of a system or the structure of the data that is processed by the system.
(d) A behavioral perspective, where you model the dynamic behavior of the system and how it responds to events.