Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach Software Engineering for Students A Programming Approach

web.firat.edu.tr
from web.firat.edu.tr More from this publisher
21.08.2013 Views

2.2 The tasks 25 An important example of a validation activity is acceptance testing. This happens at the end of the project when the software is deemed complete, is demonstrated to its client and accepted by them as satisfactory. The inputs to acceptance testing are the client and the apparently complete software. The products are either a sign-off document and an accepted system or a list of faults. The outcome is that the system complies with the requirements of the client or it does not. Current evidence suggests that many computer systems do not meet the needs of their users, and that therefore successful validation is a major problem in software engineering today. It is a common experience that users think they have articulated their needs to the software engineer. The engineer will then spend months or even years developing the software only to find, when it is demonstrated, that it was not what the user wanted. This is not only demoralizing for both users and developers, but it is often massively costly in terms of the effort needed to correct the deficiencies. As an extreme alternative the system is abandoned. It is too easy to blame the requirements analysis stage of development, when in reality the basic problem is the quality of the communication between users and developers. Users do not know (and usually do not care) about technicalities, whereas the software engineer expects detailed instructions. Worst of all is the problem of some common language for accurately describing what the user wants. The users are probably happiest with natural language (e.g. English), whereas the software engineer would probably prefer some more rigorous language that would be incomprehensible to the users. There is a cultural gap. Production The system is put into use. (This is sometimes, confusingly, termed implementation.) The users may need training. Maintenance When the software is in use, sooner or later it will almost certainly need fixing or enhancing. Making these changes constitutes maintenance. Software maintenance often goes on for years after the software is first constructed. The product of this activity is the modified software. Documentation Documentation is required for two types of people – users and the developers. Users need information about how to install the software, how to de-install the software and how to use it. Even in the computer age, paper manuals are still welcome. For general purpose software, such as a word processor, a help system is often provided. User documentation concentrates on the “what” (the external view) of the software, not the “how” (the internal workings). Developers need documentation in order to continue development and to carry out maintenance. This typically comprises the specification, the architectural design, the

26 Chapter 2 ■ The tasks of software development detailed design, the code, annotation within the code (termed comments), test schedules, test results and the project plan. The documentation is typically large and costly (in people’s time) to produce. Also, because it is additional to the product itself, there is a tendency to ignore it or skimp on it. Project management Someone needs to create and maintain plans, resolve problems, allocate work to people and check that it has been completed. Database design Many systems use a database to store information. Designing the database is a whole subject in its own right and is not normally considered to be part of software engineering. Consequently, we don’t tackle this topic within this book. SELF-TEST QUESTION 2.1 Which stages of software development, if any, can be omitted if the required software is only a small program? We will see that, in dividing the work into a series of distinct activities, it may appear that the work is carried out strictly in sequence. However, it is usual, particularly on large projects, for many activities to take place in parallel. In particular, this happens once the large-scale (or architectural) design is complete. It is at this stage that the major software components have been identified. Work on developing the components can now proceed in parallel, often undertaken by different individuals. 2.3 ● Process models We have seen (Chapter 1) that software systems are often large and complex. There is a clear need to be organized when embarking on a development. What do you need when you set about a software project? You need: ■ a set of methods and tools ■ an overall plan or strategy. The plan of action is known as a process model. It is a plan of what steps are going to be taken as the development proceeds. This term is derived as follows: a process is a step or a series of steps; a process model is a model in the sense that it is a representation of

2.2 The tasks 25<br />

An important example of a validation activity is acceptance testing. This happens at<br />

the end of the project when the software is deemed complete, is demonstrated to its<br />

client and accepted by them as satisfactory. The inputs to acceptance testing are the<br />

client and the apparently complete software. The products are either a sign-off document<br />

and an accepted system or a list of faults. The outcome is that the system complies<br />

with the requirements of the client or it does not.<br />

Current evidence suggests that many computer systems do not meet the needs of their<br />

users, and that there<strong>for</strong>e successful validation is a major problem in software engineering<br />

today. It is a common experience that users think they have articulated their needs to the<br />

software engineer. The engineer will then spend months or even years developing the<br />

software only to find, when it is demonstrated, that it was not what the user wanted. This<br />

is not only demoralizing <strong>for</strong> both users and developers, but it is often massively costly in<br />

terms of the ef<strong>for</strong>t needed to correct the deficiencies. As an extreme alternative the system<br />

is abandoned.<br />

It is too easy to blame the requirements analysis stage of development, when in<br />

reality the basic problem is the quality of the communication between users and<br />

developers. Users do not know (and usually do not care) about technicalities, whereas<br />

the software engineer expects detailed instructions. Worst of all is the problem of<br />

some common language <strong>for</strong> accurately describing what the user wants. The users are<br />

probably happiest with natural language (e.g. English), whereas the software engineer<br />

would probably prefer some more rigorous language that would be incomprehensible<br />

to the users. There is a cultural gap.<br />

Production<br />

The system is put into use. (This is sometimes, confusingly, termed implementation.)<br />

The users may need training.<br />

Maintenance<br />

When the software is in use, sooner or later it will almost certainly need fixing or<br />

enhancing. Making these changes constitutes maintenance. <strong>Software</strong> maintenance often<br />

goes on <strong>for</strong> years after the software is first constructed. The product of this activity is<br />

the modified software.<br />

Documentation<br />

Documentation is required <strong>for</strong> two types of people – users and the developers.<br />

Users need in<strong>for</strong>mation about how to install the software, how to de-install the software<br />

and how to use it. Even in the computer age, paper manuals are still welcome. For<br />

general purpose software, such as a word processor, a help system is often provided.<br />

User documentation concentrates on the “what” (the external view) of the software,<br />

not the “how” (the internal workings).<br />

Developers need documentation in order to continue development and to carry out<br />

maintenance. This typically comprises the specification, the architectural design, the

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!