Testing: Boundary Data (2 marks)
What is meant by ‘boundary data’ when testing a program, and why is it important to use this type of test data?
Testing: Boundary Data (2 marks) Read More »
What is meant by ‘boundary data’ when testing a program, and why is it important to use this type of test data?
Testing: Boundary Data (2 marks) Read More »
Define the term ‘testing’ in the context of computer programming.
Testing Definition (1 mark) Read More »
In the context of secure programming, why is it important to validate data before processing it?
Validation Importance (2 marks) Read More »
Describe a situation where a range check would be important in a program and how it could be implemented.
Range Check (2 marks) Read More »
List two types of data validation checks that could be used to verify user input for a new password.
Validation Types (2 marks) Read More »
Explain what is meant by data validation.
What is Data Validation? (1 mark) Read More »
Write a pseudocode subroutine that takes an integer as a parameter, doubles it if it is even, and returns the result.
Subroutines Returning Values (3 marks) Read More »
Describe the structured programming approach and its advantages.
Structured Programming Approach (4 marks) Read More »
Explain why it is considered good practice to use local variables in subroutines.
Local Variables (2 marks) Read More »
Describe how parameters are used to pass data to a subroutine with an example.
Parameters in Subroutines (3 marks) Read More »