Past-paper question · 2012 October-November · Paper 32 · Q8(a)(i)

Question 8(a)(i) 2012 · October-November · Paper 32 · 1 mark

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

Official answer for Question 8

Part (a)

(i)

Part (a)

(i)

the name given to a function

[1]

Mark scheme 9691_w12_ms_32.pdf →

Show text version of question

Question 8

Part (a)

(i)

A
high-level programming language has the following built-in function For

CharacterCount defined as follows: Examiner's Use

CharacterCount(ThisChar: CHAR, ThisString: STRING) RETURNS INTEGER

returns an integer value for the number of times the character ThisChar occurs within ThisString. CHAR is a data type for a single character.

For Example:

CharacterCount(‘J’, “James Joyce”) will return the integer 2

An error is returned if the function is not properly called.

(i)

Explain what is meant by the term function identifier.

[1]
Topic relevance

Why this question appears here

82% assigned-topic match · Data types and structures › Data types and records

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_w12_qp_32.pdf

Keep practising this topic