Study notes
No notes have been generated for this topic yet. Open the topic page online and click Generate notes first.
Past exam questions (12)
2025 · Part A · Q14(b)(iii) · p.14
Name and explain a stage of software testing, other than unit testing, that should take place to ensure the vending machine works as intended when it is released. Name: Explain:
Marking scheme
Valid name 1 mark Good description – clear understanding demonstrated 2 marks Fair description – limited understanding 1 mark
2025 · Part A · Q14(b)(ii) · p.14
The table below shows a test plan for the vending machine. Some of the entries have been left blank. Complete the test plan by filling in the correct information in the blank spaces. [Table: Test plan for vending machine. Columns: Code entered, Money inserted (€), Expected result. Rows: B1, 3, Oreos dispensed, €0.50 change given; A2, 1.2, Water dispensed, no change given; C1, [blank], Error - not enough money inserted; C2, 0.75, [blank].]
Marking scheme
Each correct item 3 marks
2025 · Part A · Q15(b)(ii) · p.18
One of the team has suggested using a staged software development process rather than the iterative development process shown in Figure 8. Put forward two arguments for retaining the iterative development process. 1. 2.
Marking scheme
For each argument: Good description – clear understanding demonstrated 3 marks Fair description – limited understanding 2 marks
2025 · Part A · Q15(b)(i) · p.17
Outline one activity that your team will undertake at each of the four stages listed in the answer box below. [Diagram: A circular flowchart showing stages of software development: INVESTIGATE -> PLAN -> DESIGN -> CREATE -> EVALUATE -> DOCUMENT -> ITERATE (looping back to INVESTIGATE).]
Marking scheme
Investigate: Identify stakeholders Gather requirements Conduct market research Define project objectives Review current similar products Any other valid activity Plan: Setout timeline Setout milestones Gather requirements Assign roles & tasks Create project plan Any other valid activity
2024 · Part A · Q13(a)(vi) · p.12
The infinite loop in the program above is an example of a “logic error”. In programming, what is the difference between a logic error and a syntax error?
Marking scheme
Syntax errors are mistakes in the code structure causing the program to fail during compilation. Logical errors, on the other hand, are flaws in the program's logic that lead to incorrect output or behaviour, even though the code compiles and runs successfully. Good description – clear understanding demonstrated 2 marks. Fair description – limited understanding 1 mark.
2024 · Part A · Q13(a)(iii) · p.11
In lines 1 and 2 in this program the variables are initialised. Explain the term "initialised" in relation to variables.
Marking scheme
An initialised variable is when a variable is given starting value. The initial value given to a variable the first time it is declared. Good description – clear understanding demonstrated 2 marks. Fair description – limited understanding 1 marks.
2024 · Part A · Q13(a)(ii) · p.11
Choose suitable data types for the variables A and B. A: B:
Marking scheme
A - Int / Integer. B - Bool/ Boolean. A correct 3 marks. B correct 3 marks.
2024 · Part A · Q13(a)(i) · p.11
A and B are both variables. What is a variable?
Marking scheme
A variable is a named location in computer's memory used to store data. A declaration of a value that can be changed. A term used as a placeholder for a value that can change. Good description – clear understanding demonstrated 3 marks. Fair description – limited understanding 2 marks.
2023 · Part A · Q13(a)(i) · p.10
Select the correct computer science term from the following list and place it in Column B to match the definition in Column A in the table below. [Table: Column A 'Definition' has rows: A data structure that can store a collection of elements of the same data type, A character that represents a mathematical or logical action, A command for handling a decision, A memory location that can store a value. Column B 'Term' is empty. A list of terms is provided: Variable, Array, Function, Operator, Conditional, Boolean.]
Marking scheme
Column A Definition Column B Term A data structure that can store a collection of elements of the same data type Array A character that represents a mathematical or logical action Operator A command for handling a decision Conditional A memory location that can store a value Variable Each correct item 1 mark
2022 · Part A · Q14(b)(ii) · p.15
When the program is complete you will need to test that it works as expected. Describe two fictional students that you will use as test cases. One should pass the test and be permitted out of the school grounds for lunch; the other should fail the test. For example, the student John Doe in fifth year, with a sister in sixth year but no parental consent will fail the test.
2022 · Part A · Q14(b)(i) · p.15
Complete the table below with four items of data that will be required. You will need to include a suitable variable name, a description of the data and the data type for the variable. The first row has been completed for you. [Table: Three columns: 'Variable Name', 'Description', 'Data Type'. First row: 'firstName', 'Student's first name', 'String'.]
2021 · Part A · Q12 · p.9
A programmer has written a program to store the name, email address and password of a user of an online chat forum. The programmer has decided to check that the user enters an email address in the correct format. Describe two checks that could be used to validate the email address. 1. 2.