Past-paper question · 2015 May-June · Paper 21 · Q1(c)(i)

Question 1(c)(i) 2015 · May-June · Paper 21 · 2 marks

Original past-paper question for 1(C)(I)
Original past-paper question for 1(C)(I)
Original past-paper question for 1(C)(I)
Original past-paper question for 1(C)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 1(C)(I)

Official answer for Question 1

Part (c)

(i)

  • Choosing data/values…
  • Test every possible ‘logic path’ through the code
✓
// with knowledge of the structure/code

Ignore any reference to normal/boundary/extreme …[2]

Mark scheme 9608_s15_ms_21.pdf →

Show text version of question

Question 1

Part (c)

(i)

Question 1

A
marathon runner records their time for a race in hours, minutes and seconds.

An algorithm is shown below in structured English. INPUT race time as hours, minutes and seconds CALCULATE race time in seconds STORE race time in seconds OUTPUT race time in seconds

Part (c)

The program code will be tested using white-box testing.

(i)

Explain what is meant by white-box testing. ........................................................................................................................................... ........................................................................................................................................... .......................................................................................................................................[2]

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Programming basics

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_s15_qp_21.pdf

Keep practising this topic