19.2 Recursion
17 questions in this subtopic. Open a question to solve it and check the official answer.
Recursion · 16 marks
3 (a) An IT company works on two types of project; software projects and the installation of local area networks. Software projects are either bespoke software for a particular cl…
Recursion · 12 marks · official answer ready
5 (i) A BNF rule may be recursive. What is meant by a recursive rule? .............................................................................................................…
Recursion · 12 marks · official answer ready
5 (i) A BNF rule may be recursive. What is meant by a recursive rule? .............................................................................................................…
Recursion · 11 marks
5 (i) A BNF rule may be recursive. What is meant by a recursive rule? .............................................................................................................…
Recursion · 11 marks
5 (i) A BNF rule may be recursive. What is meant by a recursive rule? .............................................................................................................…
Recursion · 9 marks
(i) Class ................................................................................................................................. .......................................…
Recursion · 9 marks
(ii) Inheritance ........................................................................................................................ .........................................…
Recursion · 10 marks
(i) Instance ........................................................................................................................................... ..........................…
Recursion · 10 marks
(ii) Method ........................................................................................................................................... ...........................…
Recursion · 23 marks
(iii) Encapsulation ........................................................................................................................................... ...................…
Recursion · 2 marks · official answer ready
(a) A rule may be recursive. Explain what is meant by this and identify the rule above which is recursive. Rule number [2]
Recursion · 2 marks · official answer ready
(a) A rule may be recursive. Explain what is meant by this and identify the rule above which is recursive. Rule number [2]
Recursion · 25 marks
(i) Trace the call Divisor(8, 2). Line number x y RETURN 0 8 2 [2]
Recursion · 27 marks
(ii) Trace the call Divisor(38, 7). Line number x y RETURN 0 38 7 [4] 15
Recursion · 24 marks
(i) State the purpose of line 1. For Examiner's Use [1]
Recursion · 24 marks
(ii) State what would happen if line 1 were not present. [1]
Recursion · 26 marks
(c) What happens if x is less than y? [3] 16 reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwitti…
