


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























IEEE software engineering definition: Software engineering is the application of a systematic disciplined quantifiable approach to the development, operation and maintenance of software; the application of engineering to software. Software engineering can be defined as “The establishment and use of sound engineering principles in order to obtain economically software that is reliable and woks efficiently on real time machines.” Software engineering is the technological and managerial discipline concerned with systematic production and modified on time and in cost estimates
Software Engineering deals with the engineering problems, opportunities and needs associated with the development and utilization of computer software. The discipline also addresses the design of computers, computer science and the integration of software into computer systems, as well as the applications of software systems. The software industry is growing rapidly and of increasing importance to our economy and standard of living.
Software Engineering and Software Paradigms The term "software engineering" was coined in about 1969 to mean "the establishment and use of sound engineering principles in order to economically obtain software that is reliable and works efficiently on real machines".
This view opposed uniqueness and "magic" of programming in an effort to move the development of software from "magic" (which only a select few can do) to "art" (which the talented can do) to "science" (which supposedly anyone can do!). There have been numerous definitions given for software engineering (including that above and below).
Software Engineering is not a discipline; it is an aspiration, as yet unachieved. Many approaches have been proposed including reusable components, formal methods, structured
methods and architectural studies. These approaches chiefly emphasize the engineering product; the solution rather than the problem it solves. Software engineering employs a variety of methods, tools, and paradigms. Paradigms refer to particular approaches or philosophies for designing, building and maintaining software. Different paradigms each have their own advantages and disadvantages which make one more appropriate in a given situation than perhaps another (!).
A method (also referred to as a technique) is heavily depended on a selected paradigm and may be seen as a procedure for producing some result. Methods generally involve some formal notation and process(es). Tools are automated systems implementing a particular method. Thus, the following phases are heavily affected by selected software paradigms Design
Implementation Integration
Maintenance
The Waterfall Model Communicat ion project init iat ion Planning requirement gat hering estimating (^) Modeling scheduling tracking analysis Const ruct ion design code Deployment t est delivery support f eedback
Many people dismiss the waterfall as obsolete and it certainly does have problems. But this model can still be used in some situations.
Among the problems that are sometimes encountered when the waterfall model is applied are:
A Real project rarely follows the sequential flow that the model proposes. Change can cause confusion as the project proceeds.
increment # n C o m m u n i c a t i o n P l a n n i n g M o d e l i n g analy s is des ign C o n s t r u c t i o n c ode t es t D e p l o y m e n td e l i v e r y f e e d b a c k deliv ery of increment # 2 n t h increment C o m m u n i c a t i o n P l a n n i n g M o d e l i n g analy s is des ign C o n s t r u c t i o n c ode D e p l o y m e n t increment # 1 t es t^ d e l i v e r y^ f e e d^ b a c k^ deliv ery of 2nd increment C o m m u n i c a t i o n P l a n n i n g M o d e l i n g analy s is des ign C o n s t r u c t i o n c odet es t D e p l o y m e n td e l i v e r y deliv ery of f e e d b a c k 1st increment
project calendar t ime
The RAD Model
Rapid Application Development ( RAD ) is an incremental software process model that emphasizes a short development cycle. RAD is a “high-speed” adaptation of the waterfall model, in which rapid development is achieved by using a component based construction approach. If requirements are well understood and project scope is constrained, the RAD process enables a development team to create a fully functional system within a short period of time.
What are the drawbacks of the RAD model?
Team # n Mo d e lin g business modeling data modeling process modeling
Co n st ru ct io n Team # 2 component^ reuse Communication automatic code generation Modeling testing business modeling dat a modeling process modeling Planning Team # 1 Construction^ Deployment component reuse int egrat ion aut omat ic code generat ion^ delivery Modeling (^) t est ing feedback business modeling dat a modeling process modeling
Construction component reuse aut omat ic code generat ion t est ing
60 - 90 days
The prototyping paradigm begins with communication where requirements and goals of Software are defined. Prototyping iteration is planned quickly and modeling in the form of quick design occurs. The quick design focuses on a representation of those aspects of the Software that will be visible to the customer “Human interface”. The quick design leads to the Construction of the Prototype. The prototype is deployed and then evaluated by the customer. Feedback is used to refine requirements for the Software. Iteration occurs as the prototype is tuned to satisfy the needs of the customer, while enabling the developer to better understand what needs to be done. The prototype can serve as the “first system”. Both customers and developers like the prototyping paradigm as users get a feel for the actual system, and developers get to build Software immediately. Yet, prototyping can be problematic:
The key is to define the rules of the game at the beginning. The customer and the developer must both agree that the prototype is built to serve as a mechanism for defining requirements.
planning estimation scheduling risk analysis communication modeling analysis design start
deployment (^) construction delivery (^) code feedback (^) test
Component Based Development
Commercial off-the-shelf (COTS) Software components, developed by vendors who offer them as products, can be used when Software is to be built. These components provide targeted functionality with well-defined interfaces that enable the component to be integrated into the Software.
The component-based development model incorporates many of the characteristics of the spiral model.
The component-based development model incorporates the following steps:
Available component-based products are researched and evaluated for the application
domain in question. ^ Component integration issues are considered. ^ Software architecture is designed to accommodate the components.
^ Components are integrated into the architecture. Comprehensive testing is conducted to ensure proper functionality.
The component-based development model leads to Software reuse, and reusability provides Software engineers with a number of measurable benefits.
The Unified Process
A “use-case driven, architecture-centric, iterative and incremental” software process closely aligned with the Unified Modeling Language (UML). The UP is an attempt to draw on the best features and characteristics of conventional software process models, but characterize them in a way that implements many of the best principles of agile software development.
The UP recognizes the importance of customer communication and streamlined methods for describing the customer‟s view of a system. It emphasizes the important role of software architecture and “helps the architect focus on the right goals, such as understandability, reliance to future changes, and reuse.”
were developed as part of the inception phase and expands the architectural representation to include five different views of the software - the use-case model, the analysis model, the design model, the implementation model, and the deployment model.
The construction phase of the UP is identical to the construction activity defined for the generic software process. Using the architectural model as input, the construction phase develops or acquires the software components that will make each use-case operational for end-users.
The transition phase of the UP encompasses the latter stages of the generic construction activity and the first part of the generic deployment activity. Software is given to end-users for beta testing, and user feedback reports both defects and necessary changes. At the conclusion of the transition phase, the software increment becomes a usable software release “user manuals, trouble-shooting guides, and installation procedures.)
The production phase of the UP coincides with the development activity of the generic process. The on-going use of the software is monitored, support for the operating environment is provided and defect reports and requests for changes are submitted and evaluated.
A Software Engineering workflow is distributed across all UP phases.
UP Phases Incept ion Elaborat ion Const ruct ion Transit ion Product ion Workflows Requirements Analysis Design Implementation Test Suppor t Iter ations #1 #2 #n- 1#n
Design Modeling Principles
The software design model is the equivalent of an architect‟s plans for a house.
Set of principles used:
Design must be traceable to the analysis model. The analysis model describes the information domain of the problem, user visible functions, system behavior, and a set of analysis classes that package business objects with the methods that service them. The design model translates this information into an architecture: a set of subsystems that implement major functions, and a set of component-level designs that are the realization of analysis class.
Always consider architecture. S/W architecture is the skeleton of the system to be built. Only after the architecture is built should the component-level issues should be considered.
Focus on the design of data as it is as important as a design. Data design is an essential element of t architectural design.
Interfaces (both user and internal) must be designed. A well designed interface makes integration easier and assists the tester in validating component functions.
User interface design should be tuned to the needs of the end-user. “Ease of use.”
Component-level design should exhibit functional independence. The functionality that is delivered by a component should be cohesive - that is, it should focus on one and only one function.
Components should be loosely coupled to one another and to the external environment. Coupling is achieved in many ways – via a component interface, by messaging through global data. Coupling should be kept as low as is reasonable. As the level of coupling increases, error propagation also increases and the overall maintainability of the system decreases.
The interface design describes how the software communicates with systems that interpolate with it, and with humans who use it. An interface implies a flow of information (data, and or control) and a specific type of behavior. The component-level design transforms structural elements of the software architecture into a procedural description of software components.
The importance of software design can be stated with a single word – quality. Design is the place where quality is fostered in software engineering. Design provides us with representations of software that can be assessed for quality. Design is the only way that we can accurately translate a customer‟s requirements into a finished software product or system.
Design Process and Design Quality
Software design is an iterative process through which requirements are translated into a “ blueprint ” for constructing the software. Initially, the blueprint depicts a holistic view of software, i.e. the design is represented at a high-level of abstraction. Throughout the design process, the quality of the evolving design is assessed with a series of formal technique reviews or design walkthroughs.
Three characteristics serve as a guide for the evaluation of a good design:
The design must implement all of the explicit requirements contained in the analysis model, and it must accommodate all of the implicit requirements desired by the customer. The design must be a readable, understandable guide for those who generate code and for those who test and subsequently support the software. The design should provide a complete picture of the software, addressing the data, functional, and behavioral domains from an implementation perspective.
Quality Guidelines
In order to evaluate the quality of a design representation, we must establish technical criteria for good design.
Quality Attributes
Hewlett-Packard developed a set of software quality attributes that has been given the acronym FURPS. The FURPS quality attributes represent a target for all software design:
(^) Functionality : is assessed by evaluating the features set and capabilities of the program, the generality of the functions that are delivered, and the security of the overall system. (^) Usability : is assessed by considering human factors, overall aesthetics, consistency, and documentation.
(^) Reliability : is evaluated by measuring the frequency and severity of failure, the accuracy
of output results, the mean-time-to-failure, the ability to recover from failure, and the predictability of the program. (^) Performance : is measured by processing speed, response time, resource consumption, throughput, and efficiency. Supportability : combines the ability to extend the program extensibility, adaptability, serviceability ^ maintainability. In addition, testability, compatibility, configurability, etc.
Design Concepts
This section discusses many significant design concepts (abstraction, refinement, modularity, architecture, patterns, refactoring, functional independence, information hiding, and OO design concepts).
Abstraction
At the highest level of abstraction, a solution is stated in broad terms using the language of the problem environment. At lower levels of abstraction, a more detailed description of the solution is provided.
As we move through different levels of abstraction, we work to create procedural and data abstractions. A procedural abstraction refers to a sequence of instructions that have a specific and limited function. An example of a procedural abstraction would be the word open for a door.
A data abstraction is a named collection of data that describes a data object. In the context of the procedural abstraction open, we can define a data abstraction called door. Like any data object, the data abstraction for door would encompass a set of attributes that describe the door (e.g. door type, swing direction, weight).
Architecture
Software architecture alludes to the “overall structure of the software and the ways in which the structure provides conceptual integrity for a system.”
In its simplest from, architecture is the structure of organization of program components (modules), the manner in which these components interact, and the structure of data that are used by the components.
Te goal of software design is to derive an architectural rendering of a system. This rendering serves as a framework from which detailed design activities are constructed.
A set of architectural patterns enable a software engineer to reuse design-level concepts.
The architectural design can be represented using one or more of a number of different models.
Structural models represent architecture as an organized collection of program components.
Framework models increase the level of design abstraction by attempting to identify repeatable architectural design frameworks that are encountered in similar types of applications.
Dynamic models address the behavioral aspects of the program architecture, indicating how the structure or system configuration may change as a function of external events.
Process models focus on the design of business or technical process that the system must accommodate.
Functional models can be used to represent the functional hierarchy of a system.
Architectural design will be discussed in Chapter 10.