Testing Definition (1 mark)
Define the term ‘testing’ in the context of computer programming.
Testing Definition (1 mark) Read More »
Define the term ‘testing’ in the context of computer programming.
Testing Definition (1 mark) 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 how parameters are used to pass data to a subroutine with an example.
Parameters in Subroutines (3 marks) Read More »
Explain why it is considered good practice to use local variables in subroutines.
Local Variables (2 marks) Read More »
Describe the structured programming approach and its advantages.
Structured Programming Approach (4 marks) Read More »
Discuss two advantages of using subroutines in programming.
Advantages of Using Subroutines (2 marks) Read More »
Explain how concatenation of strings works, and give an example using the variables firstName and lastName to create a fullName.
String Methods: Concatenation (3 mark) Read More »
Explain why random number generation is useful in programming a simple game such as ‘guess the number’.
Random Number Generation (2 marks) Read More »
Explain what is meant by a subroutine in the context of structured programming.
Understanding Subroutines (1 mark) Read More »