Professional Documents
Culture Documents
Assignment Set – 1
Ans:
1
Fig:-One element of concurrent process model
The concurrent process model is often used as the paradigm for the
development of client/server applications. A client/server system is
composed of a set of functional components. When applied to
client/server, the concurrent process model defines activities in two
dimensions a system dimension and component dimension. System
level issues are addressed using three activities, design assembly, and
use. The component dimension addressed with two-activity design and
realization. Concurrency is achieved in two ways; (1) System and
component activities occur simultaneously and can be modeled using
the state – oriented approach (2) a typical client server application is
implemented with many components, each of which can be designed
and realized concurrently.
Hacking
Ans:-
Architectural Design:-
3
(3) Modular decomposition: Each identified sub-system is
decomposed into modules. The architect must decide on the types of
module and their interconnections.
System structuring
(1) All shared data is held in a central database that can be accessed
by all sub systems. A system model based on a shared database is
sometimes called a repository model.
(2) A set of clients that call on the services offered by servers. These
are normally sub-systems in their own right. There may be several
instances of a client program executing concurrently.
6
large amounts of data are exchanged. However, as faster networks are
developed, this problem is becoming less significant.
Control models
The models for structuring a system are concerned with how a system
is decomposed into sub-systems. To work as a system, sub-systems
must be controlled so that their services are delivered to the right place
at the right time. Structural models do not (and should not) include
control information. Rather, the architect should organize the sub-
systems according to some control model, which supplements the
structure model is used. Control models at the architectural level are
concerned with the control flow between sub-systems.
8
(2) Event-based control: Rather than control information being
embedded in a sub-system, each sub-system can respond to externally
generated events. These events might come from other sub-systems
or from the environment of the system.
Centralized control
Event-driven systems
The distinction between an event and a simple input is that the timing
of the event is outside the control of the process which handless that
event.
A sub-system may need to access state information to handle these
9
events but this state information does not usually determine the flow of
control.
Modular decomposition
(2) It is intuitive in that many people think of their work in terms of input
and output processing.
Domain-specific architectures
(2) Reference models, which are more, abstract and describe a larger
class of systems. They provide a means of informing system architects
about that class of system.
Ans:-
Data-flow models
12
Fig. 4.1: Data flow diagrams of Order processing
The model shows how the order for the goods moves from process to
process. It also shows the data stores that are involved in this process.
13
Fig: Notations for semantic data models.
Object models
This Model also called as the Classic life cycle or the Waterfall model.
The Linear sequential model suggests a systematic sequential
approach to software development that begins at the system level and
progresses through analysis, design, coding, testing, and support.
15
Figure 2.1 shows the linear sequential model for software engineering
Modeled after a conventional engineering cycle, the linear sequential
model has the following activities:
Design
Code Generation
Testing
Once code has been generated, program testing begins. The testing
process focuses on the logical internals of the software, ensuring that
16
all statements have been tested, and on the functional externals; that
is, conducting tests to uncover errors and ensure that defined input will
produce actual results that agree with required results.
Support
The second reason is the one that is now under debate. For many
projects the linear ordering of these phases is clearly the optimum way
to organize these activities. However some argue that for many
projects this ordering of activity is unfeasible or suboptimal. Still
waterfall model is conceptually the simplest process model for software
development that has been used most often.
Incremental Model:-
18
Iterative Development Model
In the first step of this model, a simple initial implementation is done for
a subset of the overall problem. This subset is one that contains some
of the key aspects of the problem that are easy to understand and
implement and which form a useful and usable system. A project
control list is created that contains, in order, all the tasks that must be
performed to obtain the final implementation. This project control list
gives an idea of how far the project is at any given step from the final
system.
Each step consists of removing the next task from the list, designing
the implementation for the selected task, coding and testing the
implementation, performing an analysis of the partial system obtained
after this step, and updating the list as a result of the analysis. These
three phases are called the design phase, implementation phase and
analysis phase. The process is integrated until the project control list is
empty, at which time the final implementation of the system will be
available. The iterative enhancement process model is shown in figure
2.2.
The project control list guides the iteration steps and keeps track of all
tasks that must be done. Based on the analysis, one of the tasks in the
list can include redesign of defective components or redesign of the
19
entire system. Redesign of the system will occur only in the initial
steps. In the later steps, the design would have stabilized and there is
less chance of redesign. Each entry in the list is a task that should be
performed in one step of the iterative enhancement process and should
be completely understood. Selecting tasks in this manner will minimize
the chance of error and reduce the redesign work. The design and
implementation phases of each step can be performed in a top-down
manner or by using some other technique.
Ans:-
21
Typically, the specification aspect of requirements engineering has
been done using a structured approach based on data flow diagrams
and structure charts. However, this can also be done using an object-
oriented approach (Dawson & Swatman 1999). An object-oriented
problem analysis is first performed to understand the real-world
problem domain. A domain model is created to give a visual description
of the partitioning of the application domain into conceptual objects,
which can be determined, for example, from use cases. The emphasis
on objects as opposed to functions distinguishes object-oriented
analysis from structured analysis; the focus of the latter is on the
identification of system functions rather than domain objects. The
purpose of the object analysis is to discover the objects in the
application domain and the information and behaviors needed by the
objects to meet the requirements. Blank observes that object-oriented
analysis and design depend critically on correctly “assigning
responsibilities to objects.”
System sequence diagrams show the system events that the so-called
actors generate (see the RUP discussion for further details), their order
during a scenario, and the system responses to the events and their
order. A system sequence diagram is a visual illustration for the system
responses in the use case for a scenario; it describes the system
operations triggered by a use case (Blank 2004). UML activity
22
diagrams are used to understand the logic of use cases and business
processes. Traditional state machine diagrams illustrate the behavior of
an object in response to events and as a function of its internal state.
For a further discussion of UML modeling, refer to the section on the
Rational Unified Process. Larman (2001) provides an important
treatment of UML and object-oriented analysis and design. Incidentally,
Liu et al. (1998) describe the application of SOFL (Structured Object-
Oriented Formal Language) for integrating structured and object-
oriented methodologies. SOFL combines static and dynamic modeling
and may potentially overcome some of the problems with formal
methods that have limited their use.
23
2. Specify the DRAGOON syntax for each model object
· The inception phase defines the vision of the actual user end-product
and the scope of the project.
· The construction phase builds the product, modifying the vision and
the plan as it proceeds.
26
Que. 6. Describe productivity driven dynamic process modeling.
Ans:-
30