240 likes | 345 Views
The Software Development Process. Systems analysis Systems design Implementation Testing Documentation Evaluation Maintenance. Systems Analysis. What is a systems analyst?
E N D
The Software Development Process • Systems analysis • Systems design • Implementation • Testing • Documentation • Evaluation • Maintenance
Systems Analysis What is a systems analyst? • A systems analyst observes, clarifies and models an existing system to assess its suitability for computerisation. In the process, the analyst could also find ways of improving the system. • The systems analyst must have a sound technical background. They may once have been programmers.
Skills and techniques of the Systems Analyst The systems analyst must • extract the clients needs • document these needs in a formal way • communicate these to the designers
Extracting the Clients Needs Extracting the clients needs is known as requirementselicitation. This is done by: • interviewing the client’s management personnel • making observation notes of the client’s business • The analyst will also inspect information sources used by the client to keep track of their business.
The requirements specification • is the end result of the requirements elicitation • is a written statement of what the design team must go on to make It is extremely important to get this document right. Mistakes made later can be very costly.
Documentation The systems analyst must document the clients needs by drafting formal reports: • requirements specification • system specification
Design Representations There are a number of commonly used forms of design representation in common use. Examples include: • structure diagrams • pseudocode
Structure Diagram A commonly used syntax for structure diagrams is as follows: A procedure A loop A decision A single task
An example: A structure diagram allows the design of a program to be drawn out in diagrammatic form. Here is an example:
An Iterative process It is important to realise that the software development process is iterative in nature. This means that the problem will be revisited a number of times getting closer and closer to the required solution on each time round.
CASE Tools CASE stands for “Computer Aided Software Engineering”. A CASE TOOL KIT is a set of integrated CASE tools that have been designed to work together and to automate (or provide automated assistance for) the entire software life cycle, including analysis, design, coding and testing. Using such a toolkit speeds up the development process in a number of important ways.
Fact Finding Analysis is a fact-finding process, and there are five key questions that need to be asked, often repeatedly. These key questions are: • WHO? • WHAT? • WHERE? • WHEN? • WHY?
Designing the Solution Once the needs of the user are clearly understood and documented, software development can move onto the next stage, involving the DESIGN of the system. • Design of the User Interface • Design of the structure of the software • Design of the detailed logic of the software
Implementation The next stage involves turning the carefully structured design into a working solution.
Choosing an Environment Before we can implement a solution we must decide on the programming environment which is most suitable. Languages are generally designed for a specific purpose.
Things to Remember... • The code should be modular, - procedures and functions should be used. Library modules should be ‘closed’ so that the variables used in them cannot disturb the code of the rest of the program. • Meaningful variable names should be used. • There should be internal commentary, explaining what each section of the code does. Where a complex algorithm has been implemented, it is helpful to comment on several lines of the code, in addition to a general description of what the module does.
Things to Remember (2) • Where parameters are being used in a module, they should be described in the commentary of the module. This is particularly important in library modules. • Parameter lists should be small and manageable. If a procedure or function requires a set of parameters which is very big, then it is likely that it is performing more than one program function. The original design needs to be revisited, and functionally decomposed.
Debugging the Solution A common technique in trying to debug a piece of software is to conduct a structured walkthrough (step through each line of logic in the code) using a structured listing, which is simply a formatted display or printout of the code. It is important that the code is written in such a way that helps the above activities.
Dry Runs To complete a dry run the programmer works through a section of program code by hand. This is very useful for locating errors in both syntax and semantics. A trace table will normally be used in this activity.
Trace Tables A trace table is constructed with a column to identify the instruction executed and a column for each variable. The programmer works through each line of the listing changing the appropriate variables.
Test Data The expected results from a test data set must be known in advance, so that they can be checked against the actual results. You should include test data to demonstrate the following: 1. “normal” operation of the software, to make sure that there are no unexpected results in ordinary work. 2. the operation limits of the software, to make sure that the boundary conditions identified in the design stage are being handled properly. 3. “exceptions” to the normal operating conditions. This set will show whether or not the software can react to unexpected inputs in an effective way, without crashing.
Documentation - The User Guide • This document should describe how to use the software. • Ideally there should also be tutorial files which can take the user through examples of a piece of work, and allow them to become familiar with the commands, and the various sections of the software.
Documentation - The Technical Guide This document should provide information on • how to install the software • hardware requirements • software requirements