Past-paper question · 2023 May-June · Paper 21 · Q8(a)

Question 8(a) 2023 · May-June · Paper 21 · 3 marks

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

Official answer for Question 8

Part (a)

✓
One mark per mark point, max three

Question 3

✓
Storing string in Phrase
✓
Correct use of LENGTH function
✓
Correct use of UCASE function
✓
Correct outputs of LENGTH and UCASE
✓
For example:
✓
Phrase "The beginning is the most important part"
✓
OUTPUT LENGTH(Phrase)
✓
OUTPUT UCASE(Phrase)

Mark scheme 2210_s23_ms_21.pdf →

Show text version of question

Question 8

Part (a)

Question 8

The function LENGTH(Phrase) calculates the length of a string Phrase

Part (a)

Write the pseudocode statements to:

• store the string "The beginning is the most important part" in Phrase • calculate and output the length of the string • output the string in upper case. ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... .............................................................................................................................................

[3]
Topic relevance

Why this question appears here

98% 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_s23_qp_21.pdf

Keep practising this topic