(i) What is the expression or statement at ?1?
[1]
(ii) What is the expression or statement at ?2? [1]
(iii) What is the expression or statement at ?3? [1]
(iv) What is the expression or statement at ?4? [1]
(v) What is the expression or statement at ?5? [1]
Comments of Examiners
(a) Only some candidates gave the correct answer. The
concept of nested functions was not clear to many Suggestions for teachers
candidates. Some candidates were not clear regarding Various techniques relating to
the concept of recursive technique. Others did not show problem solving using recursion
the working / dry run. Some were confused with the should be explained to students.
printing of the character array ‘s’ as it did not have any Output programs must be
subscript. A few wrote ‘error’ while many mentioned explained using diagrams for
‘address at zero index’ as output. In some cases vertical each function call. More practice
output was given instead of horizontal. Several should be given in character
candidates printed only the first and the last character. array printing. Only character
(b) Most of the candidates answered well. Multiple correct array prints the whole array,
options were available and most of the candidates whereas the other type of arrays
answered correctly. Some were confused with length print the address at zero index if
and length ( ). subscript is not mentioned.
Practice should be given in
program using conditions /
looping and other output related
programs. Show the dry run/
working of program and
emphasize that working is
necessary to get full credit.
Practice must be given in
standard programs.
MARKING SCHEME
Question 3.
(a) (i) JUNE (ii) SCROLL (iii) It reverses the character array
JNUE LCROLS Swaps, Interchanges etc.
LLROCS
LLORCS
146