Past-paper question · 2015 May-June · Paper 23 · Q1(b)(ii)

Question 1(b)(ii) 2015 · May-June · Paper 23 · 1 mark

Original past-paper question for 1(B)(II)
Original past-paper question for 1(B)(II)
Original past-paper question for 1(B)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 1(B)(II)

Official answer for Question 1

Part (b)

(ii)

(ii)

IF Original = Reverse

[1]

Mark scheme 9691_s15_ms_23.pdf →

Show text version of question

Question 1

Part (b)

(ii)

Meena wants to write code to reverse a string stored in the variable Original. The result is to be stored in the variable Reverse.

(ii)

A palindrome is a string that reads the same backwards as forwards.

Complete the Boolean expression to check whether the two strings, Original and Reverse, are palindromes.

IF .....................................................................................................................................

THEN

OUTPUT "This is a palindrome"

ENDIF

[1]

Question 4

Topic relevance

Why this question appears here

71% 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_s15_qp_23.pdf

Keep practising this topic