CCEA A-Level Software Systems Development CL4
Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures
Exception Handling and Managing Input and Output
Testing an Object Oriented Application
Graphical User Interface Objects and Events
Multiple Forms and Linking to Files
Designing, Testing and Evaluating an Event Driven Application
Reasons for Systems Development and Systems Methodologies
Managing Projects
Testing Strategies
Database Concepts and Entity Relationship Modelling
Normalisation and Structured Query Language
Project Management and the Systems Approach in Practice
Defining Requirements and Documenting the Design
Building a Desktop Solution with a Database
Testing and Evaluating the Solution
Testing Strategies
Building a test plan for a scenario
- 3 things to know
- A2 Unit 1
Overview
Working from the requirements to a numbered list of tests, choosing normal, boundary and erroneous data for each, stating the expected result in advance, and leaving room for the actual result.
What you need to know
Answer each one before you reveal it.
A booking system must refuse a date in the past. State the three date tests to plan and why the middle one matters.
A system must not allow a member to borrow more than five items. Describe the tests for that rule.
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is the first step in developing a test plan for a specific scenario?
Model answer
The first step is to list every requirement and rule the scenario states, because each one becomes at least one test and anything not written down at this stage will not be tested.
- 2
A login screen locks an account after three failed attempts. Give three tests, with the expected result of each.
Model answer
Test a correct password, which should grant access; test two wrong passwords followed by a correct one, which should grant access and reset the count; and test three wrong passwords, which should lock the account and display the lockout message.
- 3
In that login scenario, why is the second failed attempt worth testing as well as the third?
Model answer
The second attempt confirms that the account is not locked too early, so testing both sides of the limit distinguishes a counter that locks on the third failure from one that locks on the second.
- 4
A quantity field on an order form accepts 1 to 50. Write the normal, boundary and erroneous tests you would plan.
Model answer
The normal test uses 25, the boundary tests use 0, 1, 50 and 51, and the erroneous tests use a blank entry, the letters abc and the negative value −4.
- 5
A form calculates a total as quantity multiplied by unit price. Give a test with its expected result.
Model answer
Entering a quantity of 7 at a unit price of £3.50 should produce a total of 7 × £3.50 = £24.50, and dividing back gives £24.50 ÷ 7 = £3.50, confirming the expected value.
- 6
A booking system must refuse a date in the past. State the three date tests to plan and why the middle one matters.
Model answer
Plan yesterday's date, which must be refused, today's date, which the rule must state explicitly as accepted or refused, and tomorrow's date, which must be accepted; the middle case matters because today is exactly where an ambiguous rule and an off-by-one comparison both show up.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Testing Strategies, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.