Академический Документы
Профессиональный Документы
Культура Документы
Encapsulation
Objects
The Advantages of Object Oriented Software Development are: Reduced Maintenance: The primary goal of object-oriented
development is the assurance that the system will enjoy a longer life
while having far smaller maintenance costs. Because most of the
processes within the system are encapsulated, the behaviors may be
reused and incorporated into new behaviors.
1
The prototype does not always hold the exact logic used in the actual
software application and is an extra effort to be considered under
effort estimation.
Prototyping is used to allow the users evaluate developer proposals
and try them out before implementation.
It also helps understand the requirements which are user specific and
may not have been considered by the developer during product
design.
Diagram of Prototype model:
Classification of prototypes:1. Analysis Prototype: - This kind of prototype helps the user to
interact with a partial developed part of the system. It helps in
clarifying users requirements and may simulate the proposed
interface. For designing the system requirements, prototypes can be
considered as documents.
2. Design Prototype: - This kind of a prototype explores the
architecture or the system during the elaboration phase of
development. This prototype helps in finding out flaws in the system. It
proves that the implementation is feasible will be successful in
producing a deliverable product. System performance is also focused
here.
3. Feasibility Prototype: - Successful implementation of a portion of
the system can be identified using this prototype.
4. Vertical Prototype: - This kind of a prototype examines smaller parts
and identifies problems in a system. This is necessary when the
complete implementation of a portion of the system is required.
#3.
What are the four phases of Object Modeling
Technique? Explain.
Analysis: The analysis phase starts with a problem statement, and its
purpose is to develop the initial problem statement by providing a list
of requirements for developers, managers and users. The initial
problem statement is expanded into three models, known as an object
model, a dynamic model and a functional model.
The object model represents the static elements of the field of
activity being modeled and includes classes of object,
associations, attributes and operations.
The dynamic model represents interactions between elements
and includes states, transitions between states and events that
trigger transitions.
The functional model represents the flow of data through the
system.
System Design: The purpose of the system design phase is to
establish the overall architecture, or high-level structure, of the
system. The system is divided into subsystems, each of which is
allocated to processes and tasks, taking into account the need for the
simultaneous occurrence of events, known as concurrency, and cooperation, or collaboration, between processes. During the system
design phase, strategies for implementing permanent data storage and
software controls are established.
Object Design: The purpose of the object design phase is to
establish the implementation plan for the system. This involves fully
defining the details of classes, associations, attributes and operations,
along with data structures and internal objects needed to specify how
the system will be implemented. The end product of object design is a
design document, in which the fundamental, dynamic and object
models produced by the analysis phase are revised and kept current.
The object design phase can be likened to the detailed design stage in
a traditional software lifecycle.
Implementation: Theoretically, the implementation phase is the
Object Flow
Object flow refers to the creation and modification of objects by activities. An
object flow arrow from an object to an action indicates that the action state
uses the object.
6
Guards
In UML, guards are a statement written next to a decision diamond that must
be true before moving next to the next activity. These are not essential, but
are useful when a specific answer, such as "Yes, three labels are printed," is
needed before moving forward.
Synchronization
A fork node is used to split a single incoming flow into multiple concurrent
flows. It is represented as a straight, slightly thicker line in an activity
diagram.
A join node joins multiple concurrent flows back into a single outgoing flow.
A fork and join mode used together are often referred to as synchronization.
7
Time Event
This refers to an event that stops the flow for a time; an hourglass depicts it.
Merge Event
A merge event brings together multiple flows that are not concurrent.
Swim-lanes
Swim-lanes group related activities into one column.
Interrupting Edge
An event, such as a cancellation, that interrupts the flow denoted with a
lightning bolt.
#5. What are the models of DMBS? Explain any two models.
ANSWER A Database model defines the logical design of data. The model describes the
relationships between different parts of the data. Historically, in database design, three models
are commonly used. They are
Hierarchical Model - In this model each entity has only one parent
but can have several children. At the top of hierarchy there is only one
entity which is called Root.
Network Model - In the network model, entities are organized in a
graph, in which some entities can be accessed through several path
Relational Model - In this model, data is organized in twodimensional tables called relations. The tables or relation are related to
each other.
The most popular data model in DBMS is the Relational Model. It is more
scientific a model than others. This model is based on first-order predicate
logic and defines a table as an n-ary relation.
The main highlights of this model are
11
12