New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Implementation of Recursion Lowersixth Science Computer Science
 

Implementation of Recursion Lowersixth Science Computer ScienceOnline version

Test recursion concepts with quick true/false.

by YAKILI LMS
1

Recursive solutions often use a base case and a recursive case.

2

Tail recursion can be optimized by compilers in some languages.

3

Fibonacci numbers are defined as F(n) = F(n-1) + F(n-3).

4

Memoization makes recursion slower.

5

Recursion cannot be used to traverse data structures.

6

The base case of factorial is factorial(1)=1.

7

The overhead of function calls makes recursion unsuitable for simple tasks.

8

A recursive function with two recursive calls always has exponential time.

9

Memoization can optimize recursive Fibonacci.

10

The Towers of Hanoi puzzle cannot be solved with 3 pegs.

11

Towers of Hanoi requires moving disks according to rules.

12

Implementing recursion can lead to stack overflow for large inputs.

13

The base case must always be the smallest input.

14

A recursive function always has exactly one recursive call.

15

Dynamic programming does not relate to recursion.

16

Recursion solves a problem by solving smaller instances of the same problem.

17

The recursive stack memory is allocated on the heap.

18

Towers of Hanoi minimum moves is 2^n.

19

Recursion cannot be debugged easily.

20

The base case should be chosen only for performance, not correctness.

21

Recursion cannot be implemented in Python.

22

The time complexity of naive Fibonacci is exponential.

23

In Fibonacci, F(2) = F(1) + F(0).

24

A recursive function must always check for negative inputs.

25

The factorial of 5 is 1200.

26

The base case ends the recursive calls.

27

Factorial(0) is undefined.

28

In Towers of Hanoi, you can move a larger disk onto a smaller one.

29

The recursive case must always reduce the problem size by 1.

30

Factorial of n is n * factorial(n-1) with base case factorial(0)=1.

31

Recursion is a form of iteration.

32

The time complexity of naive factorial is O(n^2).

33

The base case is optional if the input is always positive.

34

A recursive function can only have one parameter.

35

Fibonacci numbers grow linearly.

36

The Towers of Hanoi can be solved without ever moving the smallest disk.

37

In recursion, each call adds a new frame to the call stack.

38

The call stack does not store local variables.

39

A recursive algorithm can be more intuitive than iterative ones.

40

The maximum number of recursive calls is always equal to the input value.

41

Recursion can create infinite loops if no base case.

42

The Hanoi puzzle with n disks takes 2^n - 1 moves.

43

Fibonacci sequence defined with F(0)=0, F(1)=1 is common.

44

In recursion, only the final call uses stack space.

45

The base case is never a boundary condition.

46

It is possible to convert any recursive algorithm to an iterative one.

47

Fibonacci has a closed-form formula called Binet's formula; it's exact for all n.

48

You must use recursion to solve Fibonacci.

49

Recursive algorithms never benefit from pruning.

50

Recursion is never more memory efficient than iteration.

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.