Past-paper question · 2016 May-June · Paper 22 · Q1(a)(i)

Question 1(a)(i) 2016 · May-June · Paper 22 · 3 marks

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

Official answer for Question 1

Part (a)

(i)

Part (a)

(i)

Many correct answers, they must be meaningful. This is an example only.

  • NumSacks, integer, number of sacks
  • SacksAccepted, integer, number of sacks accepted
  • TotalWeight, real, total weight of all sacks
[3]

Mark scheme 2210_s16_ms_22.pdf →

Show text version of question

Question 1

Part (a)

(i)

All variables, constants and other identifiers should have meaningful names.

(i)

For three of the variables that you have used in Task 2, state the name, type and its use.

Variable 1 name ................................................................................................................

Type ...................................................................................................................................

Use ....................................................................................................................................

Variable 2 name ................................................................................................................

Type ...................................................................................................................................

Use ....................................................................................................................................

Variable 3 name ................................................................................................................

Type ...................................................................................................................................

Use ................................................................................................................................[3]

Topic relevance

Why this question appears here

79% assigned-topic match · Programming › Programming concepts

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 2210_s16_qp_22.pdf

Keep practising this topic