Docsity

Sociology software engineering, Lecture notes of Sociology

Toggle sidebar
bg1
UNIT- I
Introduction to Software Engineering: The evolving role of software, changing nature
of software, software myths.
A Generic view of process: Software engineering-a layered technology, a process
framework, the capability maturity model integration (CMMI).
Process models: The waterfall model, Spiral model and Agile methodology
INTRODUCTION:
Software Engineering is a framework for building software and is an engineering
approach to software development. Software programs can be developed without S/E
principles and methodologies but they are indispensable if we want to achieve good
quality software in a cost effective manner.
Software is defined as:
Instructions + Data Structures + Documents
Engineering is the branch of science and technology concerned with the design, building,
and use of engines, machines, and structures. It is the application of science, tools and
methods to find cost effective solution to simple and complex problems.
SOFTWARE ENGINEERING is defined as a systematic, disciplined and quantifiable
approach for the development, operation and maintenance of software.
Dept. of CSE
1|
P a g e
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f

Partial preview of the text

Download Sociology software engineering and more Lecture notes Sociology in PDF only on Docsity!

UNIT- I

Introduction to Software Engineering : The evolving role of software, changing nature of software, software myths. A Generic view of process : Software engineering-a layered technology, a process framework, the capability maturity model integration (CMMI). Process models : The waterfall model, Spiral model and Agile methodology INTRODUCTION: Software Engineering is a framework for building software and is an engineering approach to software development. Software programs can be developed without S/E principles and methodologies but they are indispensable if we want to achieve good quality software in a cost effective manner. Software is defined as: Instructions + Data Structures + Documents Engineering is the branch of science and technology concerned with the design, building, and use of engines, machines, and structures. It is the application of science, tools and methods to find cost effective solution to simple and complex problems. SOFTWARE ENGINEERING is defined as a systematic, disciplined and quantifiable approach for the development, operation and maintenance of software.

The Evolving role of software The dual role of Software is as follows:

  1. A Product-Information transformer producing, managing and displaying information.
  2. A Vehicle for delivering a product-Control of computer(operating system),the communication of information(networks) and the creation of other programs. Characteristics of software
  • Software is developed or engineered, but it is not manufactured in the classical sense.
  • Software does not wear out, but it deteriorates due to change.
  • Software is custom built rather than assembling existing components. THECHANGINGNATUREOFSOFTWARE
  • The various categories of software are
  • System software
  • Application software
  • Engineering and scientific software
  • Embedded software
  • Product-line software
  • Web-applications
  • Artificial intelligence software
  • System software. System software is a collection of programs written to service other programs
  • Embedded software —resides in read-only memory and is used to control products and systems for the consumer and industrial markets.
  • Artificial intelligence software. Artificial intelligence (AI) software makes use of non numeric algorithms to solve complex problems that are not amenable to computation or straightforward analysis
  • Engineeringandscientificsoftware. Engineeringandscientificsoftwarehavebeencharact erized

Fig: Software Engineering-A layered technology SOFTWAREENGINEERING-ALAYEREDTECHNOLOGY

  • Quality focus – Bedrock that supports Software Engineering.
  • Process-Foundation for software Engineering
  • Methods-Provide technical How-to’s for building software
  • Tools-Provide semi-automatic and automatic support to methods APROCESSFRAMEWORK
  • Establishes the foundation for a complete software process
  • Identifies a number of frame work activities applicable to all software projects
  • Also include a setofumbrellaactivitiesthatareapplicableacrosstheentiresoftwareprocess. A PROCESS FRAME WORK comprises of: Common process frame work Umbrella activities Framework activities Tasks, Milestones, deliverables SQA points

A PROCESS FRAME WORK

Used as a basis for the description of process models Generic process activities

  • Communication
  • Planning
  • Modeling
  • Construction
  • Deployment APROCESSFRAMEWORK Genericviewofengineeringcomplimentedbyanumberofumbrellaactivities  Software project tracking and control  Formal technical reviews  Software quality assurance  Software configuration management  Document preparation and production  Reusability management  Measurement  Risk management CAPABILITY MATURITY MODEL INTEGRATION (CMMI)
  • Developed by SEI (Software Engineering institute)
  • Assess the process model followed by an organization and rate the organization with different levels
  • A set of software engineering capabilities should be present as organizations reach
  • Quantitatively Managed-Metrics and indicators are available to measure the process and quality
  • Optimized-Continuous process improvement based on quantitative feedback from the user
  • Use of innovative ideas and techniques, statistical quality control and other methods for process improvement. CMMI-Staged model
  • This model is used if you have no clue of how to improve the process for quality software.
  • It gives a suggestion of what things other organizations have found helpful to work first
  • Levels are called maturity levels PROCESS MODELS
  • Help in the software development
  • Guide the software team through a set of frame work activities
  • Process Models may be linear, incremental or evolutionary THE WATERFALL MODEL
  • Used when requirements are well understood in the beginning
  • Also called classic life cycle
  • A systematic, sequential approach to Software development
  • Begins with customer specification of Requirements and progresses through planning, modeling, construction and deployment. This Model suggests a systematic, sequential approach to SW development that begins at the system level and progresses through analysis, design, code and testing PROBLEMS IN WATER FALL MODEL
  • Real projects rarely follow these sequential flow since they are always iterative
  • The model requires requirements to be explicitly spelled out in the beginning, which is often difficult Modeling Deployment Construction Planning Communication
  • A working model is not available until late in the project time plan. THE SPIRAL MODEL An evolutionary model which combines the best feature of the classical lifecycle and The iterative nature of prototype model. Include new element: Risk element. Starts in middle and continually visits the basic tasks of communication, planning, modeling, construction and deployment THE SPIRAL MODEL
  • Realistic approach to the development of large scale system and software
  • Software evolves as process progresses
  • Better understanding between developer and customer
  • The first circuit might result in the development of a product specification
  • Sub sequent circuits develop a prototype
  • And sophisticated version of software
  1. Construction/iteration
  2. Testing/Quality assurance
  3. Deployment
  4. Feedback 1. Requirements gathering: In this phase, you must define the requirements. You should explain business opportunities and plan the time and effort needed to build the project. Based on this information, you can evaluate technical and economic feasibility. 2. Design the requirements: When you have identified the project, work with stakeholders to define requirements. You can use the user flow diagram or the high- level UML diagram to show the work of new features and show how it will apply to your existing system. 3. Construction/ iteration: When the team defines the requirements, the work begins. Designers and developers start working on their project, which aims to deploy a working product. The product will undergo various stages of improvement, so it includes simple, minimal functionality. 4. Testing: In this phase, the Quality Assurance team examines the product's performance and looks for the bug. 5. Deployment: In this phase, the team issues a product for the user's work environment. 6. Feedback: After releasing the product, the last step is feedback. In this, the team receives feedback about the product and works through the feedback. Advantages:
  5. Frequent Delivery
  6. Face-to-Face Communication with clients.
  7. Efficient design and fulfils the business requirement.
  8. Any time changes are acceptable.
  9. It reduces total development time. Disadvantages:
  10. Due to the shortage of formal documents, it creates confusion and crucial decisions taken throughout various phases can be misinterpreted at any time by different team members.
  11. Due to the lack of proper documentation, once the project completes and the developers allotted to another project, maintenance of the finished project can

become a difficulty. Other process models of Agile Development and Tools  Crystal  Scrum Scrum Scrum is aimed at sustaining strong collaboration between people working on complex products, and details are being changed or added. It is based upon the systematic interactions between the three major roles: Scrum Master, Product Owner, and the Team.  Scrum Master is a central figure within a project. His principal responsibility is to eliminate all the obstacles that might prevent the team from working efficiently.  Product Owner , usually a customer or other stakeholder, is actively involved throughout the project ,conveying the global vision of the product and providing timely feedback on the job done after every sprint.  Scrum Team is a cross-functional and self-organizing group of people that is responsible for the product implementation. It should consist of up to 7 team members, in order to stay flexible and productive. Crystal Crystal is an agile methodology for software development. It places focus on people over processes, to empower teams to find their own solutions for each project rather than being constricted with rigid methodologies.

UNIT-II SOFTWAREREQUIREMENTS : Functional and non- functional requirements, user requirements, system requirements, interface specification, the software requirements document. Requirements engineering process : Feasibility studies, requirements elicitation and analysis, requirements validation, requirements management. Software Requirements: IEEE defines Requirements:

  1. A condition or capability needed by a user to solve a problem or achieve an objective
  2. A condition or capability that must be met or possessed by a system or a system component to satisfy construct, standard, specification or formally imposed document
  3. A documented representation of a condition nor capability as in 1 or 2 SOFTWARE REQUIREMENTS
  • Encompasses both the User’s view of the requirements( the external view)and the Developer’s view( inside characteristics) User’s Requirements --Statements in a natural language plus diagram, describing the services the system is expected to provide and the constraints
  • System Requirements—Describe the system’s function ,services and operational condition SOFTWARE REQUIREMENTS
  • System Functional Requirements --Statement of services the system should provide --Describe the behavior in particular situations --Defines the system reaction to particular inputs
  • Non functional Requirements
  • Constraints on the services or functions offered by the system --Include timing constraints ,constraints on the development process and standards --Apply to system as a whole
  • Domain Requirements --Requirements relate to specific application of the system --Reflect characteristics and constraints of that system

FUNCTIONALREQUIREMENTS

  • Should be both complete and consistent
  • Completeness --All services required by the user should be defined
  • Consistent --Requirements should not have contradictory definition
  • Difficult to achieve completeness and consistency for large system NON-FUNCTIONAL REQUIREMENTS Types of Non-functional Requirements 1. Product Requirements
  • Specify product behavior
  • Include the following
  • Usability
  • Efficiency
  • Reliability
  • Portability 2. Organizational Requirements --Derived from policies and procedures --Include the following:
  • Delivery
  • Implementation
  • Standard 3. External Requirements --Derived from factors external to the system and its development process --Includes the following
  • Interoperability
  • Ethical
  • Legislative PROBLEMSFACEDUSINGTHENATURALLANGUAGE
  1. Lack of clarity—Leads to misunderstanding because of ambiguity of natural language
  2. Confusion—Due to over flexibility, some time difficult to find whether requirements are same or distinct.
  3. Amalgamation problem—Difficult to modularize natural language requirements STRUCTURED LANGUAGE SPECIFICATION
  • Requirements are written in a standard way
  • Ensures degree of uniformity
  • Provide templates to specify system requirements
  • Include control constructs and graphical highlighting to partition the specification
  • Communication between the Customer, Analyst, system developers,

maintainers

  • Firm foundation for the design phase
  • Support system testing activities
  • Support project management and control
  • Controlling the evolution of the system IEEE requirements standard Defines a generic structure for a requirements document that must be instantiated for each specific system.
  • Introduction.
  • General description.
  • Specific requirements.
  • Appendices.
  • Index. IEEE requirements standard
    1. Introduction :
    2. Purpose
    3. Scope
    4. Definitions,
    5. Acronyms and Abbreviations
    6. References
    7. Overview
    8. General Description
    9. Product perspective
    10. Product function summary
    11. User characteristics
    12. General constraints
    13. Assumptions and dependencies
    14. Specific Requirements
    15. Functional requirements
  • External interface requirements
  • Performance requirements
  • Design constraints
  • Attributeseg.security,availability,maintainability,transferability/conversion
  • Other requirements
  • Appendices
  • Index REQUIREMENTS ENGINEERING PROCESS To create and maintain a system requirement document .The overall process includes four high level requirements engineering sub-processes: Feasibility study:--Concerned with assessing whether the system is useful to the business
    1. Elicitation and analysis:-- Discovering requirements

FEASIBILITYSTUDIES

Starting point of the requirements engineering process

  • Input :Set of preliminary business requirements, an outline description of the system and how the system is intended to support business processes
  • Output : Feasibility report that recommends whether or not it is worth carrying out further Feasibility report answers a number of questions:
  1. Does the system contribute to the overall objective
  2. Can the system be implemented using the current technology and with in given cost and schedule
  3. Can the system be integrated with other system which is already in place. REQUIREMENTS ELICITATION ANALYSIS Involves a number of people in an organization. Stakeholder definition—Refers to any person or group who will be affected by the system directly or indirectly i.e. End users, Engineers, business managers, domain experts.  Reasons why eliciting is difficult  Stakeholder often don’t know what they want from the computer system  A stakeholder expression of requirements in natural language is sometimes difficult to understand.  Different stakeholders express requirements differently  Influences of political factors, Change in requirements due to dynamic environments. REQUIREMENTS ELICITATION PROCESS Process activities
  4. Requirement Discovery—Interaction with stakeholder to collect their requirements including domain and documentation
  5. Requirements classification and organization—Coherent clustering of requirements from unstructured collection of requirements
  6. Requirements prioritization and negotiation—Assigning priority to requirements --Resolves conflicting requirements through negotiation
  7. Requirements documentation—Requirements be documented and placed in the next round of spiral

The spiral representation of Requirements Engineering REQUIEMENTSDICOVERYTECHNIQUES

  1. Viewpoints – Based on the viewpoints expressed by the stakeholder --Recognizes multiple perspectives and provides a framework for discovering conflicts in the requirements proposed by different stakeholders Three Generic types of viewpoints  Inter actor viewpoint—Represents people or other system that interact directly with the system  Indirect viewpoint—Stakeholders who influence the requirements ,but don’t use the system  Domain viewpoint—Requirements domain characteristics and constraints that influence the requirements.  Inter viewing--Puts questions to stakeholders about the system that they use and the system to be developed.