Question 1(b)(ii) 2015 · May-June · Paper 23 · 1 mark
Reveal official mark-scheme answer
Official answer for Question 1
Part (b)
(ii)
(ii)
IF Original = Reverse
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
Question 4
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
