Docsity

Software Engineering: Introduction to Computing - Chapter 7, Exercises of Computer Science

Partial preview of the text

Download Software Engineering: Introduction to Computing - Chapter 7 and more Exercises Computer Science in PDF only on Docsity!

SOFTWARE ENGINEERING

Introduction to Computing

CHAPTER

Software Engineering

Software engineering (SE) is an intellectual activity and thus human-intensive

Software is built to meet a certain functional goal and satisfy certain qualities

Software processes also must meet certain qualities

Software qualities are sometimes referred to as “ilities”

What does a Software Engineer Do?

Software engineers should  (^) adopt a systematic and organised approach to all aspects of software development  (^) use appropriate tools and techniques depending on  (^) the problem to be solved  (^) the development constraints and  (^) the resources available

Understand and communicate processes for improved software development within their organization  (^) Be effective team members and/or leaders  (^) Can be very technical or more managerial depending on organizational need

Software Product

Different from traditional types of products

intangible  (^) difficult to describe and evaluate

malleable  (^) human intensive  (^) involves only trivial “manufacturing” process

Software Development Stages

  1. Requirements Analysis & Specification
  2. Design a. Conceptual/System/Architectural Design b. Detailed/Program Design
  3. Implementation/Coding
  4. Testing a. Unit & Integration Testing b. System Testing/Validation
  5. System Delivery/Deployment
  6. Maintenance

Software Lifecycle Model

A software lifecycle model is a standardized format for planning organizing, and running a new development project  Hundreds of different kinds of models are known and used  Many are minor variations on just a small number of basic models

Software Lifecycle Model (Waterfall)

Requirement^ Requirement Design^ Design Implementation^ Implementation Verification^ Verification Maintenance^ Maintenance

Software Qualities

Critical Quality Attributes  (^) Correctness  (^) Maintainability  (^) Dependability  (^) Usability  (^) Reliability

Other Attributes  (^) Completeness  (^) Compatibility  (^) Portability  (^) Internationalization  (^) Understandability  (^) Scalability  (^) Robustness  (^) Testability  (^) Reusability  (^) Customizability  (^) Efficiency

Internal vs. External Qualities

External qualities are visible to the user  (^) reliability, usability, efficiency (maybe), robustness, scalability  Internal qualities are the concern of developers  (^) they help developers achieve external qualities  (^) verifiability, maintainability, extensibility, evolvability, adaptability, portability, testability, reusability  Internal qualities affect external qualities

Product vs. Process Qualities

Product qualities concern the developed artifacts  (^) maintainability, performance, understandability  Process qualities deal with the development activity  (^) products are developed through process  (^) maintainability, productivity, predictability  Process quality affects product quality

Reliability

It is informally, user can rely on it

It can be defined mathematically as “probability of absence of failures for a certain time period”

If specs are correct, all correct software is reliable, but not vice-versa

It is a statistical property

Robustness

Software behaves “reasonably” even in unforeseen circumstances (e.g., incorrect input, hardware failure)

“Reasonable” behavior in unforeseen circumstances

A specified requirement is an issue of correctness

whereas an unspecified requirement is an issue of robustness

Usability

Ability of end-users to easily use software

Expected users find the system easy to use

Other term: user-friendliness

Extremely subjective, difficult to evaluate

Affected mostly by user interface  (^) e.g., visual vs. textual

Verifiability

How easy it is to verify properties

mostly an internal quality

can be external as well (e.g., security critical application)

It is performed by formal analysis or testing