Applicants ask for a downloadable PDF receipt after every online EMI payment. Show what each of the four process activities produces for this change.
Every software process performs four core activities — specification, design and implementation, validation and evolution. CASE tools automate parts of them, from diagram editors (upper CASE) to compilers, testers and version control (lower CASE).
Whatever life-cycle model a team follows, four fundamental activities must happen: the software is specified, designed and implemented, validated and evolved. Models differ only in how they arrange them — as strictly separate phases in the waterfall, interleaved in incremental development, or as tiny repeated cycles inside every agile sprint.
| Activity | Key question | Main outputs |
|---|---|---|
| Software specification | What must the system do, and under which constraints? | Feasibility report, system models, user and system requirements, requirements document |
| Design and implementation | How will the system be structured, and how is it built? | Architecture, interface, component and database specifications; source code |
| Validation | Does the system conform to its specification and meet the customer's real needs? | Test plans, test results, review reports, an accepted system |
| Evolution | How will the system change as needs and technology change? | Change proposals, modified system, new releases |
These activities are linked by documents and models: the requirements document drives design, the design drives code, both drive the tests, and every change in evolution re-enters the cycle at specification. Keeping these artefacts consistent as they change is exactly what CASE tools and configuration management help with.
Software specification — also called requirements engineering — is the process of understanding and defining what services the system must provide and the constraints on its operation and development. It is a particularly critical stage: errors made here pass silently into design and code, and the later they are found, the more they cost to fix.
The activities are not strictly sequential: analysis continues while the specification is written, and new requirements surface during validation. In agile processes the 'document' may be a backlog of user stories elaborated just before each sprint. The requirements group of this module covers each step in depth.
A software design describes how the software will be organised: its structure, its data, the interfaces between its parts and, where it matters, its algorithms. Designers do not arrive at a finished design at once; they develop it iteratively, adding formality and detail and correcting earlier choices. Design inputs are the platform information (the environment the software runs in), the requirements specification and a data description.
| Design activity | What is decided | Output |
|---|---|---|
| Architectural design | The overall structure: principal components (sub-systems, modules), their relationships and how they are distributed | System architecture |
| Interface design | Precise, unambiguous interfaces between components, so a component can be used — and built in parallel — without knowing its implementation | Interface specification |
| Component design | How each component will operate — from a statement of its functionality to a detailed design model; possibly a reused component | Component specification |
| Database design | The system's data structures and how they are represented in a database (new or reused) | Database specification |
Design methods give the process structure. Structured methods of the 1970s–80s (Yourdon, SSADM and others) produced data-flow, entity-relationship and structure models; object-oriented methods unified in the 1990s into UML-based design with class, sequence and state models; model-driven engineering goes further and generates code from models. Whatever the method, its output is a set of models plus rules and guidelines for applying them.
Implementation turns the design into an executable program. There is no standard way to program — each developer works differently: some begin with the components they understand best, others tackle the hardest ones first. Programmers normally test their own code as they write it, which reveals defects that must be removed: that is debugging.
Software validation — more broadly verification and validation (V&V) — sets out to demonstrate two things: that the system matches its specification, and that it does what the customer actually expects. It includes checking processes such as inspections and reviews at every stage, but most validation effort goes into testing — running the system with test data derived from the specification of the real data it will process.
| Testing stage | What is tested | Who usually tests | HLAMS example |
|---|---|---|---|
| Component (unit) testing | Individual components — functions, classes or groups of them — tested independently | The developer | EMI calculator returns the right instalment for every interest rate and tenure |
| System testing | Components integrated into the complete system; finds errors from unanticipated interactions and checks functional and non-functional requirements | Independent test team | End-to-end application → sanction → disbursement under a 5,000-user load |
| Acceptance testing | The system tested with data supplied by the customer rather than simulated test data; reveals requirement errors and omissions | Customer / users | Board officers run a month's real cases before go-live |
For a bespoke system developed for one client, acceptance testing is sometimes called alpha testing: it continues until developer and client agree the system is an acceptable implementation of the requirements. When a system is marketed as a product to many customers, beta testing is used: a pre-release is given to a group of real customers who use it in their own environment and report problems. (Sommerville's older editions break testing into five stages — unit, module, sub-system, system and acceptance testing.)
Because software can be changed far more easily than hardware, more and more of the functionality of large systems is placed in software. Historically there was a sharp split between development (creative, interesting) and maintenance (dull, after delivery). Today that split is increasingly irrelevant: few systems are completely new, and it makes more sense to see development and maintenance as one continuum in which software evolves throughout its life.
Change is inevitable, and change usually means rework — re-analysing requirements, redesigning, re-implementing and re-testing. Sommerville identifies two complementary ways to reduce its cost: change avoidance — building in activities that reveal likely changes early, before much rework would be needed (for example, a prototype that shows key features to customers) — and change tolerance — organising the process so that changes can be absorbed at low cost (normally incremental development, so a change affects only an increment not yet built; refactoring keeps the code easy to change).
Organisations also improve the process itself. Process improvement follows a cycle of measure → analyse → change: measure attributes of the current process, analyse them to find weaknesses and bottlenecks, then introduce changes. Two broad approaches exist: the process-maturity approach (e.g. the SEI's CMM/CMMI, ISO/IEC 15504 'SPICE'), which focuses on improving project management and introducing good engineering practice, and the agile approach, which focuses on iterative development and reducing overheads. CMMI levels are covered in the project-management topic.
CASE (Computer-Aided Software Engineering) means using software tools to support the activities of the software process — requirements engineering, design, programming, testing and so on. CASE tools include design editors, data dictionaries, compilers, debuggers, system-building tools and so on. CASE technology grew in the 1980s around structured methods, whose diagrams could be drawn, checked and turned into skeleton code by machine.
Integrated CASE (I-CASE) links upper and lower CASE through a shared repository, so a change to a design model can be traced into code and tests. CASE systems can be classified from three perspectives: a functional perspective (by the specific function a tool performs), a process perspective (by the process activities it supports) and an integration perspective (by how tools are organised into integrated units that support one or more activities).
| Tool type (functional view) | Classic examples | Modern examples |
|---|---|---|
| Planning tools | PERT tools, estimation tools, spreadsheets | MS Project, Jira plans, COCOMO calculators |
| Editing tools | Text editors, diagram editors, word processors | VS Code, draw.io |
| Change management tools | Requirements-traceability tools, change-control systems | Jira, Bugzilla, Redmine |
| Configuration management tools | Version-management systems, system-building tools | Git, Subversion, Maven, Gradle, Jenkins |
| Prototyping tools | Very high-level languages, user-interface generators | Figma, low-code platforms |
| Method-support tools | Design editors, data dictionaries, code generators | Enterprise Architect, Rational Rose, StarUML |
| Language-processing tools | Compilers, interpreters | javac, gcc, the Python interpreter |
| Program-analysis tools | Cross-reference generators, static analysers, dynamic analysers | SonarQube, SpotBugs, profilers |
| Testing tools | Test-data generators, file comparators | JUnit, Selenium, JMeter |
| Debugging tools | Interactive debugging systems | gdb, IDE debuggers |
| Documentation tools | Page-layout programs, image editors | Javadoc, Doxygen |
| Re-engineering tools | Cross-reference systems, program-restructuring systems | Language converters, IDE refactoring tools |
The integration perspective (Fuggetta, 1993) groups CASE technology into three levels. A tool helps with one task — checking a design for consistency, compiling a program, comparing test outputs — and may stand alone or sit inside a workbench. A workbench bundles several tools, more or less integrated, to support one phase or activity such as design or programming: today's IDEs are programming workbenches, and there are analysis-and-design and testing workbenches too. An environment spans the whole software process, or most of it, usually by integrating several workbenches.
Try the problem first, then reveal the working one step at a time.
Applicants ask for a downloadable PDF receipt after every online EMI payment. Show what each of the four process activities produces for this change.
Classify each tool used on HLAMS by function and as upper or lower CASE, and say whether it is a tool, workbench or environment: StarUML, Eclipse IDE, Git, Jira, JUnit, Jenkins, SonarQube.
A clerk reports that HLAMS shows an EMI of ₹10,624 while the bank's statement shows ₹10,625 for the same loan. Apply the four-step debugging process.
Put the requirements-engineering sub-activities in order and name the main output of each.
Which design activity produces each output: (a) database specification, (b) system architecture, (c) interface specification, (d) component specification? Which output allows teams to build components in parallel?
HLAMS is bespoke software for KSHB. A software house also sells a housing-loan package to dozens of co-operative banks. Which of alpha and beta testing suits each, and why?
Classify by Fuggetta's integration levels: (a) the javac compiler; (b) the Eclipse IDE; (c) a suite sharing one repository that covers requirements, UML modelling, code generation and test management; (d) an environment that, from a process model, tells each engineer which tool to use next.
Give two reasons, according to Sommerville, why CASE technology produced only modest improvements, and one practical way a team can still benefit from it.
10 questions. 70 % passes the topic quiz (+30 XP, +20 more for 100 %). Exam scoring: +1 correct, −⅓ wrong.