A software developer follows a program development life cycle. The life cycle divides the development process into various stages.
- (a)The following table lists some development activities. Complete the table by writing the name of the life cycle stage for each activity. Activity | Name of life cycle stage ---|--- The walkthrough method is used. | An algorithm is implemented in a programming language. | The client is interviewed about problems with the current system. | The program is modified to run on new hardware. | Records and file structures are defined. |[5]
- (b)(i)The program contains a validation function. The function will: • take an integer value as a parameter • return TRUE if the value is within the range 24 to 37, inclusive • otherwise return FALSE. Complete the table to define a test plan to thoroughly test the operation of the function. Type of test data | Test data value | Expected result ---|---|--- Normal | 30 | TRUE | | | | | | | | | | | | | | | | | | | | | | | |[4]
- (b)(ii)The function is to be tested on its own. When it is shown to work correctly the function will be combined with other modules and testing will continue. Identify the type of testing that this represents.[1]
Mark scheme
Marking points from the official mark scheme (Oct/Nov 2024). The mark or mark type is shown in brackets.
- [1] (a) The walkthrough method is used.: Testing
- [1] (a) An algorithm is implemented in a programming language.: Coding
- [1] (a) The client is interviewed about problems with the current system.: Analysis
- [1] (a) The program is modified to run on new hardware.: Maintenance
- [1] (a) Records and file structures are defined.: Design
- [1] (b)(i) Abnormal | 12 (<23) | FALSE
- [1] (b)(i) Abnormal / Boundary / Extreme | 23 | FALSE
- [1] (b)(i) Boundary / Extreme | 24 | TRUE
- [1] (b)(i) Boundary | 25 | TRUE
- [1] (b)(i) Boundary | 36 | TRUE
- [1] (b)(i) Boundary/Extreme | 37 | TRUE
- [1] (b)(i) Abnormal / Boundary / Extreme | 38 | FALSE
- [1] (b)(i) Abnormal | 99 (> 38) | FALSE
- [1] (b)(ii) Integration (testing)
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →