Sadunit 1
Sadunit 1
The word System is derived from Greek word Systema, which means an organized
relationship between any set of components to achieve some common cause or
objective.
Constraints of a System
Properties of a System:
A system has the following properties –
Organization
Interaction
It is defined by the manner in which the components operate with each other.
For example, in an organization, purchasing department must interact with
production department and payroll with personnel department.
Interdependence
Integration
Central Objective
The users must know the main objective of a computer application early in the
analysis for a successful design and conversion.
Elements of a System:
The following diagram shows the elements of a system –
The main aim of a system is to produce an output which is useful for its user.
Inputs are the information that enters into the system for processing.
Output is the outcome of processing.
Processor(s)
Feedback
Environment
A system should be defined by its boundaries. Boundaries are the limits that
identify its components, processes, and interrelationship when it interfaces
with another system.
Each system has boundaries that determine its sphere of influence and
control.
The knowledge of the boundaries of a given system is crucial in determining
the nature of its interface with other systems for successful design.
Types of Systems:
The systems can be divided into the following types –
Physical System
Physical systems are tangible entities. We can touch and feel them.
Physical System may be static or dynamic in nature. For example, desks and
chairs are the physical parts of computer center which are static. A
programmed computer is a dynamic system in which programs, data, and
applications can change according to the user's needs.
Abstract System
Abstract systems are conceptual on non-physical entities. They may be
formulas of relationships among sets of variables or models- the abstract
conceptualization of physical situations. For example : A model is a
representation of a real or planned system. The utilization of models makes
it simpler for the analyst to visualize relationships in the system under study.
Open System
An open system is one which has several interfaces with its environment. It
allows interface across its boundary. It receives inputs and delivers outputs
to the outside. The library system falls into this category, since it must adapt
to the changing demands of the user.
Closed System
A closed system is one that is isolated from environmental influences. In
actual, a closed system is uncommon. In system analysis, organizations,
applications, and computers are invariably open, dynamic systems
influenced by their environment. The concept of closed system is more
relevant to scientific systems than to social systems. A completely closed
system is rare in reality.
Phases of SDLC:
Planning for the quality assurance requirements and identification of the risks
associated with the project is also done in the planning stage. The outcome of the
technical feasibility study is to define the various technical approaches that can be
followed to implement the project successfully with minimum risks.
SRS is the reference for product architects to come out with the best architecture
for the product to be developed. Based on the requirements specified in SRS,
usually more than one design approach for the product architecture is proposed
and documented in a DDS - Design Document Specification.
This DDS is reviewed by all the important stakeholders and based on various
parameters as risk assessment, product robustness, design modularity, budget and
time constraints, the best design approach is selected for the product.
A design approach clearly defines all the architectural modules of the product
along with its communication and data flow representation with the external and
third party modules (if any). The internal design of all the modules of the
proposed architecture should be clearly defined with the minutest of the details in
DDS.
In this stage of SDLC the actual development starts and the product is built. The
programming code is generated as per DDS during this stage. If the design is
performed in a detailed and organized manner, code generation can be
accomplished without much hassle.
Developers must follow the coding guidelines defined by their organization and
programming tools like compilers, interpreters, debuggers, etc. are used to
generate the code. Different high level programming languages such as C, C++,
Pascal, Java and PHP are used for coding. The programming language is chosen
with respect to the type of software being developed.
This stage is usually a subset of all the stages as in the modern SDLC models, the
testing activities are mostly involved in all the stages of SDLC. However, this
stage refers to the testing only stage of the product where product defects are
reported, tracked, fixed and retested, until the product reaches the quality
standards defined in the SRS.
Once the product is tested and ready to be deployed it is released formally in the
appropriate market. Sometimes product deployment happens in stages as per the
business strategy of that organization. The product may first be released in a
limited segment and tested in the real business environment (UAT- User
acceptance testing).
Then based on the feedback, the product may be released as it is or with suggested
enhancements in the targeting market segment. After the product is released in the
market, its maintenance is done for the existing customer base.
SDLC Models
There are various software development life cycle models defined and designed
which are followed during the software development process. These models are
also referred as Software Development Process Models". Each process model
follows a Series of steps unique to its type to ensure success in the process of
software development.
Following are the most important and popular SDLC models followed in the
industry −
Waterfall Model
Iterative Model
Spiral Model
V-Model
Prototyping Model
Other related methodologies are Agile Model, RAD Model, Rapid Application
Development and Prototyping Models.
Like other SDLC models, Iterative and incremental development has some
specific applications in the software industry. This model is most often used in the
following scenarios −
Requirements of the complete system are clearly defined and understood.
Major requirements must be defined; however, some functionalities or
requested enhancements may evolve with time.
There is a time to the market constraint.
A new technology is being used and is being learnt by the development
team while working on the project.
Resources with needed skill sets are not available and are planned to be used
on contract basis for specific iterations.
There are some high-risk features and goals which may change in the future.
This phase starts with gathering the business requirements in the baseline spiral.
In the subsequent spirals as the product matures, identification of system
requirements, subsystem requirements and unit requirements are all done in this
phase.
This phase also includes understanding the system requirements by continuous
communication between the customer and the system analyst. At the end of the
spiral, the product is deployed in the identified market.
Design
The Design phase starts with the conceptual design in the baseline spiral and
involves architectural design, logical design of modules, physical product design
and the final design in the subsequent spirals.
Construct or Build
The Construct phase refers to production of the actual software product at every
spiral. In the baseline spiral, when the product is just thought of and the design is
being developed a POC (Proof of Concept) is developed in this phase to get
customer feedback.
Then in the subsequent spirals with higher clarity on requirements and design
details a working model of the software called build is produced with a version
number. These builds are sent to the customer for feedback.
SDLC - V-Model
The V-model is an SDLC model where execution of processes happens in a
sequential manner in a V-shape. It is also known as Verification and Validation
model.
The V-Model is an extension of the waterfall model and is based on the
association of a testing phase for each corresponding development stage. This
means that for every single phase in the development cycle, there is a directly
associated testing phase. This is a highly-disciplined model and the next phase
starts only after completion of the previous phase.
V-Model - Design
Under the V-Model, the corresponding testing phase of the development phase is
planned in parallel. So, there are Verification phases on one side of the ‘V’ and
Validation phases on the other side. The Coding Phase joins the two sides of the
V-Model.
The following illustration depicts the different phases in a V-Model of the SDLC.
There are several Verification phases in the V-Model, each of these are explained
in detail below.
This is the first phase in the development cycle where the product requirements
are understood from the customer’s perspective. This phase involves detailed
communication with the customer to understand his expectations and exact
requirement. This is a very important activity and needs to be managed well, as
most of the customers are not sure about what exactly they need. The acceptance
test design planning is done at this stage as business requirements can be used as
an input for acceptance testing.
System Design
Once you have the clear and detailed product requirements, it is time to design the
complete system. The system design will have the understanding and detailing the
complete hardware and communication setup for the product under development.
The system test plan is developed based on the system design. Doing this at an
earlier stage leaves more time for the actual test execution later.
Architectural Design
Module Design
In this phase, the detailed internal design for all the system modules is specified,
referred to as Low Level Design (LLD). It is important that the design is
compatible with the other modules in the system architecture and the other
external systems. The unit tests are an essential part of any development process
and helps eliminate the maximum faults and errors at a very early stage. These
unit tests can be designed at this stage based on the internal module designs.
Coding Phase
The actual coding of the system modules designed in the design phase is taken up
in the Coding phase. The best suitable programming language is decided based on
the system and architectural requirements.
The coding is performed based on the coding guidelines and standards. The code
goes through numerous code reviews and is optimized for best performance
before the final build is checked into the repository.
Validation Phases
Unit Testing
Unit tests designed in the module design phase are executed on the code during
this validation phase. Unit testing is the testing at code level and helps eliminate
bugs at an early stage, though all defects cannot be uncovered by unit testing.
Integration Testing
System Testing
System testing is directly associated with the system design phase. System tests
check the entire system functionality and the communication of the system under
development with external systems. Most of the software and hardware
compatibility issues can be uncovered during this system test execution.
Acceptance Testing
Acceptance testing is associated with the business requirement analysis phase and
involves testing the product in user environment. Acceptance tests uncover the
compatibility issues with the other systems available in the user environment. It
also discovers the non-functional issues such as load and performance defects in
the actual user environment.
V- Model ─ Application
V- Model application is almost the same as the waterfall model, as both the
models are of sequential type. Requirements have to be very clear before the
project starts, because it is usually expensive to go back and make changes. This
model is used in the medical development field, as it is strictly a disciplined
domain.
The following pointers are some of the most suitable scenarios to use the V-Model
application.
Requirements are well defined, clearly documented and fixed.
Product definition is stable.
Technology is not dynamic and is well understood by the project team.
There are no ambiguous or undefined requirements.
The project is short.
This step involves understanding the very basics product requirements especially
in terms of user interface. The more intricate details of the internal design and
external aspects like performance and security can be ignored at this stage.
The initial Prototype is developed in this stage, where the very basic requirements
are showcased and user interfaces are provided. These features may not exactly
work in the same manner internally in the actual software developed. While, the
workarounds are used to give the same look and feel to the customer in the
prototype developed.
The prototype developed is then presented to the customer and the other important
stakeholders in the project. The feedback is collected in an organized manner and
used for further enhancements in the product under development.
The feedback and the review comments are discussed during this stage and some
negotiations happen with the customer based on factors like – time and budget
constraints and technical feasibility of the actual implementation. The changes
accepted are again incorporated in the new Prototype developed and the cycle
repeats until the customer expectations are met.
Prototypes can have horizontal or vertical dimensions. A Horizontal prototype
displays the user interface for the product and gives a broader view of the entire
system, without concentrating on internal functions. A Vertical prototype on the
other side is a detailed elaboration of a specific function or a sub system in the
product.
The purpose of both horizontal and vertical prototype is different. Horizontal
prototypes are used to get more information on the user interface level and the
business requirements. It can even be presented in the sales demos to get business
in the market. Vertical prototypes are technical in nature and are used to get
details of the exact functioning of the sub systems. For example, database
requirements, interaction and data processing loads in a given sub system.
Software prototyping is used in typical cases and the decision should be taken
very carefully so that the efforts spent in building the prototype add considerable
value to the final software developed. The model has its own pros and cons
discussed as follows.
The advantages of the Prototyping Model are as follows −
Increased user involvement in the product even before its implementation.
Since a working model of the system is displayed, the users get a better
understanding of the system being developed.
Reduces time and cost as the defects can be detected much earlier.
Quicker user feedback is available leading to better solutions.
Missing functionality can be identified easily.
Confusing or difficult functions can be identified.
The Disadvantages of the Prototyping Model are as follows −
Risk of insufficient requirement analysis owing to too much dependency on
the prototype.
Users may get confused in the prototypes and actual systems.
Practically, this methodology may increase the complexity of the system as
scope of the system may expand beyond original plans.
Developers may try to reuse the existing prototypes to build the actual
system, even when it is not technically feasible.
The effort invested in building prototypes may be too much if it is not
monitored properly.
SDLC - RAD Model:
What is RAD?
In the RAD model, the functional modules are developed in parallel as prototypes
and are integrated to make the complete product for faster product delivery. Since
there is no detailed preplanning, it makes it easier to incorporate the changes
within the development process.
RAD projects follow iterative and incremental model and have small teams
comprising of developers, domain experts, customer representatives and other IT
resources working progressively on their component or prototype.
The most important aspect for this model to be successful is to make sure that the
prototypes developed are reusable.
RAD model distributes the analysis, design, build and test phases into a series of
short, iterative development cycles.
Business Modelling
The business model for the product under development is designed in terms of
flow of information and the distribution of information between various business
channels. A complete business analysis is performed to find the vital information
for business, how it can be obtained, how and when is the information processed
and what are the factors driving successful flow of information.
Data Modelling
Process Modelling
The data object sets defined in the Data Modelling phase are converted to establish
the business information flow needed to achieve specific business objectives as per
the business model. The process model for any changes or enhancements to the
data object sets is defined in this phase. Process descriptions for adding, deleting,
retrieving or modifying a data object are given.
Application Generation
The actual system is built and coding is done by using automation tools to convert
process and data models into actual prototypes.
The overall testing time is reduced in the RAD model as the prototypes are
independently tested during every iteration. However, the data flow and the
interfaces between all the components need to be thoroughly tested with complete
test coverage. Since most of the programming components have already been
tested, it reduces the risk of any major issues.
The traditional SDLC follows a rigid process models with high emphasis on
requirement analysis and gathering before the coding starts. It puts pressure on the
customer to sign off the requirements before the project starts and the customer
doesn’t get the feel of the product as there is no working build available for a long
time.
The customer may need some changes after he gets to see the software. However,
the change process is quite rigid and it may not be feasible to incorporate major
changes in the product in the traditional SDLC.
The RAD model focuses on iterative and incremental delivery of working models
to the customer. This results in rapid delivery to the customer and customer
involvement during the complete development cycle of product reducing the risk
of non-conformance with the actual user requirements.
The following pointers describe the typical scenarios where RAD can be used −
• RAD SDLC model should be chosen only if domain experts are available
with relevant business knowledge.
• Should be used where the requirements change during the project and
working prototypes are to be presented to customer in small iterations of 2-3
months.
RAD model enables rapid delivery as it reduces the overall development time due
to the reusability of the components and parallel development. RAD works well
only if high skilled engineers are available and the customer is also committed to
achieve the targeted prototype in the given time frame. If there is commitment
lacking on either side the model may fail.