Past-paper question · 2013 May-June · Paper 22 · Q3(h)(i)

Question 3(h)(i) 2013 · May-June · Paper 22 · 1 mark

Original past-paper question for 3(H)(I)
Original past-paper question for 3(H)(I)
Original past-paper question for 3(H)(I)
Original past-paper question for 3(H)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 3(H)(I)

Official answer for Question 3

Part (h)

(i)

Part (h)

(i)

34

[1]

Mark scheme 9691_s13_ms_22.pdf →

Show text version of question

Question 3

Part (h)

(i)

Question 3

Meena needs to be aware of her average grade and declares a variable AvMark, which For

she decides will be a global variable. Examiner's Use

A
built in function, INT(), exists which returns the integer part of a real number. For

Examiner's Use

(i)

What is returned by INT(34.2)?

[1]

AvMark may be a decimal number such as 79.7 or 34.2. Meena wants the answer rounded to the nearest whole number.

A
variable, Rounded, is assigned the result of using the INT routine with parameter

(AvMark + 0.5).

Topic relevance

Why this question appears here

82% assigned-topic match · Programming › Structured programming

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 9691_s13_qp_22.pdf

Keep practising this topic