Bits of Bytes.co

IGCSE / GCSE Computer Science

  • Home
  • 1 - Theory of Computer Science
  • 2 - Practical Problem Solving and Programming
  • Pre-Release Material
    • 2018 June >
      • 22 >
        • 22 - Cow Task
        • 22 - Task 1
        • 22 - Task 2
        • 22 - Task 3
  • 1 - Computer Systems (2023)
Picture
MENU
  • Home
  • 1 - Theory of Computer Science
  • 2 - Practical Problem Solving and Programming
  • Pre-Release Material
    • 2018 June >
      • 22 >
        • 22 - Cow Task
        • 22 - Task 1
        • 22 - Task 2
        • 22 - Task 3
  • 1 - Computer Systems (2023)
2 - Practical Problem Solving & Programming  / Testing

Exam Questions - Testing



Example Question 1

Picture
Reveal Answers
2
For this question it is actually part (b) that is relevant for testing, however before you can answer part (b) you need to write an algorithm for part (a).

(a)
Here is the mark scheme for part (a)
Picture
(b)
There are many possible correct answers for this question.
As long as you stick to some form of Valid, Invalid or expected data then you will get full marks. e.g.  34,54,23 - Data should be valid and accepted by program.
Picture

Example Question 2

Picture
Picture
Reveal Answers
(c)

This question is based on task 1 of a pre-release task.  By the time you have gotten to this question you will have solved the "Task 1" that it is referring to.

Even without completing the pseudocode for task 1 you should be able to read the question closely and identify what values are acceptable.  Once you have identified this then you can come up with the three main categories of test data - Valid, Invalid and boundary.
​
Answers​
Picture

Example Question 3

Picture
Picture
Reveal Answers
(c)

This question is based on task 1 of a pre-release task.  By the time you have gotten to this question you will have solved the "Task 1" that it is referring to.

Even without completing the pseudocode for task 1 you should be able to read the question closely and identify what values are acceptable.  Once you have identified this then you can come up with the three main categories of test data - Valid, Invalid and boundary.

Answers​
Picture

Example Question 4

Picture
Picture
Reveal Answers
(c)

This question is based on task 1 of a pre-release task.  By the time you have gotten to this question you will have solved the "Task 1" that it is referring to.

Even without completing the pseucode for task 1 you should be able to read the question closely and identify what values are acceptable.  Once you have identified this then you can come up with the three main categories of test data - Valid, Invalid and boundary.
​
​Answers
Picture



Est. 2015 - Copyright © 2020