0417 · 7.3Development and testing
Cambridge IGCSE Information and Communication Technology (0417) · Topic 7, The systems life cycle · 9:37
Practise this topic
Real past-paper questions on development and testing, with their mark schemes. Free with an account.
57 more Information and Communication Technology videos like this one
With a CIE Buddy account: every video in syllabus order, past-paper practice on each topic, and an AI tutor for anything unclear.
In this video
- 0:00Purpose and planning of testing. Explains why systems are tested before implementation and how test designs, strategies and plans record expected and actual outcomes.
- 1:59Testing structures, formats and validation. Covers tests for data and file structures, input and output formats, and validation routines in a school results system.
- 3:34Test scope and test data. Explains module, function and whole-system testing, plus normal, abnormal and extreme test data.
- 5:59Worked example: testing mark limits. Demonstrates recording outcomes, correcting an upper-boundary fault, retesting, and using live data alongside selected test data.
- 7:49Exam answers and recap. Shows how to answer testing questions and summarises key testing concepts, data categories and retesting.
Transcript: Development and testing
Purpose and planning of testing
0:00A teacher enters a mark of one hundred, and the school’s new results system rejects it. Other marks have worked correctly, so the fault has remained hidden until someone tries the highest permitted value. Discovering this during development gives the team time to correct it. If it appears during everyday use instead, teachers are interrupted and reports are delayed. Testing is checking a system against expected results to identify errors and establish whether it meets requirements.
0:25Before implementation, developers need evidence that the system performs its intended tasks correctly. Errors can cause incorrect calculations, lost records or unusable reports. Testing allows faults to be found and corrected before users depend on the new system. Development turns a system design into a working solution. Data is facts or values that a computer can process. Our example is a school results system that stores student details and marks.
0:52Its requirements include accepting whole-number marks from zero to one hundred, storing them correctly and producing accurate reports. A test design specifies what will be checked and how it will be checked. The approach and sequence used to check the system are set out in a test strategy. Finally, a test plan records the tests, test data, expected outcomes, actual outcomes and remedial action. Together, these provide a deliberate method for finding faults and recording what happened.
1:20The expected outcome is the result that should occur when a test is performed. The actual outcome, in contrast, is the result obtained when the test runs. When a test reveals a fault, the correction made is called remedial action. Decide expected outcomes before running tests, because these provide an independent standard against which to judge the results. Test designs cover data structures, file structures, input formats, output formats and validation routines.
1:46Each area can contain faults even when other parts work correctly. A calculation may produce the right total while its report hides a student’s name. Testing therefore examines both the processing and the arrangements that support it.
Testing structures, formats and validation
1:59A data structure is the way data is organised within a system. Check that fields use suitable types and lengths for their intended contents. A student name must fit completely, while a mark must support numerical processing. Testing a long name helps reveal whether the system cuts off characters when it stores the record. A file structure specifies how records and their fields are organised. Test whether the system saves records in the intended arrangement and retrieves the correct ones.
2:26After changing a mark, close the file and open it again. The updated value should remain, and other students’ records should retain their original contents. An input format specifies how data is collected and entered into a system. Test the labels, controls and available space on the entry form. A teacher should be able to identify the student and enter the mark in the correct place. Clear labels reduce entry mistakes, while suitable controls make the intended action straightforward.
2:51The way information is presented to users is set by its output format, so reports need testing too. Check that reports contain the required information, accurate calculations and readable headings. Test a report containing a long student name to check that the complete name remains visible. Printed output also needs checks for sensible page breaks and content within the page boundaries. Validation is an automatic check by the computer that data entered is sensible and reasonable.
3:19A validation routine is a programmed check that determines whether an entry meets specified rules. Test that suitable entries are accepted and unsuitable entries are rejected with a useful message. For our marks field, the rules require a whole number within the permitted range.
Test scope and test data
3:34The test strategy covers each module, each function and the whole system. A module is a separate part of a system that performs a particular task. Test the marks-entry module separately so faults can be traced to a smaller area. A failure here gives developers a more focused starting point for investigation. A function is a specific operation that a system performs. Check each required operation, such as adding a student, changing a mark and calculating an average.
4:00One module can provide several functions, so each operation needs attention. A successful test of adding a record provides evidence about that operation alone. Whole-system testing checks whether all parts work together to meet requirements. Enter marks, save the records, calculate results and produce the final report. This complete workflow checks the transfer of information between parts. Separate modules can pass their own tests while a connection between them still passes the wrong value.
4:28Test data is data selected to check whether a system produces expected results. The three categories are normal, abnormal and extreme test data. Each category targets a different possible weakness in the system. Selecting examples from all three gives better coverage than entering several ordinary marks that exercise the same conditions. Normal data is valid data that should be accepted. Marks of forty-five and seventy-two are typical values within our permitted range.
4:56Use these to check ordinary operation, such as successful entry and storage. Teachers gain confidence that routine work succeeds, although these examples leave the exact limits untested. Abnormal data is invalid data that should be rejected. It is also called erroneous data. A mark of minus one falls below the permitted range, while one hundred and one exceeds it. The word hello checks an unsuitable data type, and forty-five point five checks the whole-number requirement.
5:24Extreme data is valid data on the boundary of the range that should be accepted. For this field, zero and one hundred are extreme and accepted. These values test whether the system includes both permitted limits correctly. Boundary tests are useful because a small error in a comparison can exclude an allowed endpoint. The category depends on the requirements for the particular field. Forty-five point five is abnormal here because the school requires whole-number marks.
5:49A different system could permit decimal values within its range. Always establish the field’s rules before choosing examples or predicting whether the system should accept them.
Worked example: testing mark limits
5:59Our worked example begins with the requirement that marks from zero to one hundred are accepted. Choose forty-five for ordinary operation, then choose minus one and one hundred and one to test rejection outside the range. Include both boundaries to check the endpoints. Record the expected outcomes before entering any of these values. When the tests run, forty-five is accepted and the two out-of-range values are rejected. Zero also passes, but one hundred produces a rejection message.
6:25Record that rejection as the actual outcome, even though it differs from the expected result. The mismatch identifies a fault that requires investigation. The developer finds that the upper-limit rule accepts values below one hundred. The requirement allows values less than or equal to one hundred, so the developer corrects that rule. This correction is recorded as remedial action. A retest then accepts and stores one hundred, which matches the expected outcome.
6:52Repeat related tests after the correction to check that other required behaviour still works. For example, one hundred and one must still be rejected. A completed test plan provides evidence of the fault, the correction and the subsequent result. It also helps another tester repeat the same checks consistently. Live data is real data from the current system. Use it to test that the new system gives the same results as the old one.
7:17Process the same set of existing marks through both systems and compare the resulting reports. For an unchanged calculation, matching totals provide evidence that the new system reproduces the required processing. Live data represents genuine work, so it can expose combinations that artificial examples overlook. However, existing records may contain few boundary values or invalid entries. Use live data alongside deliberately selected normal, abnormal and extreme examples. Protect personal information and use copies so testing preserves the original operational records.
Exam answers and recap
7:49In Paper One, use the question’s requirements to justify your examples. An explain answer gives reasons or shows how something happens. Describe answers set out the relevant features or steps clearly. Answers naming a brand gain no marks, so describe the check, expected behaviour or corrective action directly. Consider the question asking you to explain two reasons for testing before implementation. Testing identifies errors so developers can correct them before users depend on the system.
8:18This reduces disruption caused by incorrect processing during normal operation. Testing also checks whether the system meets requirements, so unsuitable behaviour can be corrected before introduction. For the extreme-data question, begin by locating an allowed boundary in the stated range. A suitable answer is that one hundred is extreme test data. The system should accept it because it is the highest permitted mark. Zero is another correct example because it is the lowest permitted mark.
8:45For the final question, describe a clear sequence after the mismatch appears. Investigate the cause of the unexpected result. Take remedial action to correct the fault. Repeat the test and compare the new actual outcome with the expected outcome. Testing connects requirements to evidence about how a system behaves. As a reminder, normal data is valid data that should be accepted. Invalid data that should be rejected is called abnormal data.
9:11Finally, extreme data is valid data on the boundary of the range that should be accepted. To sum up, live data is real data from the current system. Its results help you compare existing processing with the new solution. Check each module, each function and the whole system, including structures, formats and validation routines. Record expected and actual outcomes, correct faults and retest so the system is ready for implementation.