TK Study

Software Engineering › Learn step by step › Y12 SE Project

Item 361 of 426 · Year 12: The Software Engineering Project, 33 of 47

Path and boundary testing

Term Key terms bank

Jump to a topic
  1. Exam format, question types and command words (46)
  2. Year 11: Programming Fundamentals (69)
  3. Year 11: The Object-Oriented Paradigm (33)
  4. Year 11: Programming Mechatronics (29)
  5. Year 12: Secure Software Architecture (57)
  6. Year 12: Programming for the Web (59)
  7. Year 12: Software Automation (35)
  8. Year 12: The Software Engineering Project (47)
  9. Diagrams and modelling tools (18)
  10. Python, SQL, pseudocode and CSS patterns (33)

See every item in the sequence

Definition

Testing every route through the code (path) and values at the edges of valid ranges (boundary: just inside, on and just outside).

Example: Valid range 1-10: test 0, 1, 10, 11.

Found in: syllabus, sample exam and familiarisation guidelines, school notes.

Short version to memorise (key terms bank)

Test at and either side of the limits.

Where you'll use it in the test

Syllabus area: Y12 SE Project.

Question types it can appear in

Where it has appeared in the paper

The Software Engineering Project (Part B, C). Part letters follow each paper’s own layout.

Related past questions

How to use it

A model sentence

General advice, built from the definition and example above

“Testing every route through the code (path) and values at the edges of valid ranges (boundary: just inside, on and just outside).” Then apply it: Valid range 1-10: test 0, 1, 10, 11.

In a short answer, give the definition in your own words first, then tie it to the situation in the question. Do not copy the example above unless it fits the scenario.

Command words used with it

General advice

No linked question shows the command word for this term. Across the past short answer questions in this bank the words used most are: Explain, Outline, Describe, Compare, Classify, Analyse. Check the actual word in your question.

Official worked answer

Sample exam Q11 (3 marks): Testing (test data) (3 marks): official criteria and sample answer

Criteria

3: Test data that thoroughly tests the algorithm, with expected outputs and reasons. 2: Tests most of the boundaries and paths, with relevant outputs and reasons. 1: Some relevant information.

Sample answer

1024 -> Desktop (boundary check). 768 -> Tablet (boundary check). 100 -> Phone (below lowest screen size check). 850 -> Tablet (between Tablet and Desktop). 2000 -> Desktop (above highest screen size check).

Open the question page

Go deeper

Check yourself

Explain “Path and boundary testing” in one sentence, give an example, and name a question type that could test it.

Reveal the answer

Testing every route through the code (path) and values at the edges of valid ranges (boundary: just inside, on and just outside).

Example: Valid range 1-10: test 0, 1, 10, 11.

Could be tested as: Short answer, Multiple choice, Fill in the blanks.