Boolean Logic 1 (3 marks)
Identify the output of the following logic gate setup: A AND B = X NOT X = Y Y OR C = RESULT Given the inputs: A = 1 B = 0 C = 1 What is the RESULT?
Boolean Logic 1 (3 marks) Read More »
Identify the output of the following logic gate setup: A AND B = X NOT X = Y Y OR C = RESULT Given the inputs: A = 1 B = 0 C = 1 What is the RESULT?
Boolean Logic 1 (3 marks) Read More »
Describe three types of test data and explain why each is important in software testing. Use examples to illustrate your points.
Test Data Selection (6 marks) Read More »
(a) Define a syntax error in programming. (1 mark) (b) Define a logic error in programming. (1 mark) (c) Provide an example of a logic error that could occur in a program that calculates the average of a list of numbers. (1 mark)
Identifying Errors (3 marks) Read More »
Explain the difference between iterative testing and final testing in the context of software development.
Understanding the Purpose and Types of Testing (2 marks) Read More »
Describe three different types of input validation, explaining how each one works. Provide an example for each type.
Types of Input Validation (3 marks) Read More »
Explain the difference between input validation and data sanitisation. Why is each process important in protecting a software system? Give an example of each.
Validation and Sanitisation (4 marks) Read More »
Why is indentation important in writing code?
Maintainability – Indentation (1 mark) Read More »
Explain the importance of using consistent naming conventions in programming. Provide an example of a good naming convention.
Maintainability – Naming Conventions (2 marks) Read More »
Explain why commenting within code is essential practice.
Maintainability – Commenting (2 marks) Read More »
Explain how using subprograms can improve the maintainability of a software project.
Maintainability – Use of Subprograms (3 marks) Read More »