A5 Notes 1) append (4) Only part (a) marked: 2 point for correct structure, 2 points for correct values at each node 2) palindrome tree (10) 5 points for correct tree structure, 5 points for the correct substitutions. - For the part 2: St = Structure (5) and Su = Substitutions (5) 3) palindrome cut (4) 4/4 if the cut is exactly correct (or is consistent with their search tree, even if their search tree is wrong). 2/4 if not quite in the right place, but is in the right subtree. 0 if no cut, or cannot follow where the cut is 4) count (2) Not marked 5) swap - parameter passing (14) -1 per incorrect a) by value 2 b) by value-result 4 c) by reference 4 d) by name 4 6) scoping rules (14) a) static 10 (-1 per incorrect) b) dynamic 4 (all or nothing) 7) 2 marks Not marked