This topic follows a new computer system from start to finish: analysis, design, testing, implementation, documentation and evaluation.
7.1 Analysis
The systems life cycle
analysis → design → development and testing → implementation 实施 → documentation → evaluation 评估

Analysis: research methods
The systems analyst 系统分析员 first finds out how the current system works.
| method | advantages | disadvantages |
|---|---|---|
| observation 观察: watching staff work | sees what really happens; reliable first-hand information | staff may work differently when watched; takes time; misses tasks done at other times |
| interviews 访谈: talking to staff one to one | detailed answers; follow-up questions can be asked; body language seen | slow and expensive for many staff; staff may say what they think the analyst wants; not anonymous |
| questionnaires 问卷: forms answered by many staff | many people asked quickly and cheaply; can be anonymous, which may give more honest answers; easy to analyse | questions cannot be explained; few may be returned; answers may be careless |
| examining existing documents: invoices, forms, reports | shows the data actually used; inputs and outputs seen | documents may be out of date or confusing; time-consuming |
Recording and analysing the current system
The analyst identifies:
- the inputs, processing and outputs of the current system
- the problems with the current system
- the user requirements 用户需求 (what users need the new system to do) and information requirements 需求 (what information it must produce)
System specification
The analyst then chooses suitable hardware and software for the new system, and justifies each choice, e.g. "a bar code reader, because items are scanned quickly with no typing errors".
Worked example. A library's analyst examines its loan cards (inputs: member number, book number, date), watches the desk at busy times (problem: long queues while cards are filed), and lists a requirement: overdue books must be found automatically.
7.2 Design
Designing file and data structures
For each field 字段 the designer decides:
| example | |
|---|---|
| field name | Date_of_birth |
| data type 数据类型 | text (alphanumeric), number (integer or decimal), date/time, Boolean (yes/no), currency |
| field length 字段长度 | Postcode: 8 characters |
- coding 编码 of data: storing a short code instead of the full value, e.g. M for male and F for female, or
S,M,Lfor sizes - coding saves storage space, makes data entry faster and makes validation 有效性检查 easier; but codes must be learned, and detail can be lost
Validation routines
Validation is a check by the computer that data is reasonable and sensible; it cannot check that data is correct.
| check | what it does | example |
|---|---|---|
| range check 范围检查 | number between a lower and upper limit | mark from 0 to 100 |
| length check | correct number of characters | password at least 8 characters |
| type check | correct data type | age must be a number |
| character check | only allowed characters | name contains no digits |
| format check 格式检查 | follows a pattern | date as DD/MM/YYYY; code as two letters then four digits |
| presence check 非空检查 | field is not left empty | email address must be entered |
| check digit 校验位 | an extra digit calculated from the others; on entry it is recalculated and compared, and a mismatch shows an error | last digit of a bar code or ISBN |

Input and output formats
- data capture forms 数据采集表 (paper or on screen): a clear title; instructions; labelled boxes; one box per character for codes; drop-down lists and tick boxes so users choose rather than type; logical order of fields
- screen layouts and report layouts: what data appears and where; headings; clear fonts; sensible spacing; only the information needed
Worked example. A field Shoe_size holds whole sizes from 1 to 13. Data type: integer. Validation: a range check (1 ≤ size ≤ 13) and a type check (integer only).
7.3 Development and testing
Why test?
A new system must be tested before it is implemented, to find and fix errors and to show that it does what the users need. A fault found after implementation can lose data or stop the business.
Test designs and strategies
- test design: what will be tested: the data structures, file structures, input formats, output formats and validation routines
- test strategy 测试策略: the overall approach to testing, which includes testing each module, each function (e.g. "add a record", "print a report") and the whole system working together
- test plan 测试计划: a table listing each test
| test | test data 测试数据 | expected outcome 预期结果 | actual outcome | remedial action 补救措施 |
|---|---|---|---|---|
| mark field: range 0–100 | 75 | accepted | accepted | none |
| 101 | error message | accepted | correct the range check to ≤ 100 |
Test data
For a field that accepts whole numbers from 1 to 10:
| type | meaning | example |
|---|---|---|
| normal | data that should be accepted | 5 |
| extreme | data at the limits of the range: accepted | 1 and 10 |
| abnormal (erroneous) | data that should be rejected | 11, 0, −3, ten |
- live data 实际运行数据 is real data from the business: it shows the system works with real cases, and its results may be known from the old system for comparison, but personal data must be protected
Worked example. A field Age must be from 16 to 65. Normal: 30. Extreme: 16 and 65. Abnormal: 15, 66, abc. If 66 is accepted, the remedial action is to fix the range check.

7.4 Implementation
Four methods of implementation
| method | what happens | advantages | disadvantages |
|---|---|---|---|
| direct changeover 直接转换 | the old system stops and the new one starts at once | fast; cheapest; benefits are immediate | if the new system fails, there is no backup 备份 system; staff must be trained before |
| parallel running 并行运行 | old and new systems run side by side for a time | if the new system fails, the old one is still there; outputs can be compared | expensive: twice the work and staff time; data entered twice |
| pilot running 试点运行 | the new system is used in one branch or department first, then everywhere | problems affect only one area; staff there can train others | slower to put in everywhere; if the pilot fails, that branch is affected |
| phased implementation 分阶段实施 | one part (module) of the new system is introduced at a time | problems may at first be limited to the module being introduced; staff learn gradually | takes a long time; old and new parts must work together |
Worked example. A bank with 100 branches cannot risk losing customers' money. It uses a pilot in one branch: problems are found and fixed there before the other 99 change.

7.5 Documentation
Technical and user documentation
| technical documentation 技术文档 | user documentation 用户文档 | |
|---|---|---|
| for | programmers and analysts who maintain, repair or update the system | the people who use the system |
| purpose | explains how the system works inside | explains how to use the system and solve problems |
What each contains
| technical documentation | user documentation |
|---|---|
| purpose of the system/program; limitations 局限性 | purpose of the system; limitations |
| program listing 程序清单; programming language | hardware and software requirements |
| program flowcharts/algorithms; system flowcharts 系统流程图 | how to load/run/install the software |
| hardware and software requirements | how to save a file; how to print data |
| file structures; list of variables | how to add, delete and edit records |
| input format; output format | input format; output format |
| validation routines | sample runs; error messages; error handling |
| sample runs/test runs | troubleshooting guide 故障排除指南/helpline; FAQs 常见问题解答 |
| glossary 术语表 of terms |
- items in both: purpose, limitations, hardware and software requirements, input and output formats, sample runs
- user documentation uses plain language and screenshots; technical documentation uses technical detail
Worked example. A programmer must add a new field to a school database. She reads the technical documentation for the file structures and the list of variables. A teacher who cannot print a report reads the user guide's "how to print" page and troubleshooting section.
7.6 Evaluation
Evaluating a solution
After implementation, the new system is evaluated to see how well it works.
| criterion | question asked |
|---|---|
| efficiency 效率 | is it faster? does it use fewer resources, less paper, fewer staff? |
| ease of use 易用性 | can users learn and use it easily, with few errors? |
| appropriateness 适用性 | does it suit the task and the users? |
The analyst also:
- compares the solution with the original task requirements (from the analysis): is each one met?
- identifies any limitations and the improvements 改进 needed
- evaluates the users' responses to the results of testing (e.g. through interviews or questionnaires)
Worked example. A library's requirement was "find overdue books automatically". The evaluation finds this is met, but users say the report screen is hard to read. Improvement: a clearer layout with larger text.

Words in the questions
The exercise sheets for this topic also use these words:
- systems life cycle 系统生命周期
- system specification 系统规格说明
- justify 说明理由
- normal data 正常数据
- extreme data 边界数据
- abnormal data 异常数据