Open Roberta

Explain recursion

Background

We try to explain concepts such as recursion through some simple robot programs.

This is a NEPO task, make sure to read the info.

Task

Using NEPO you can create functions that receive and return parameters. Think about an interesting but simple use of recursion and write a program that uses it. The recursion could be used to compute some values, to move the robot in particular ways or to draw some interesting shapes.

Deliverables

Complete this task by providing an explanation of recursion and how you used it in your program, together with the program.

Task tags

  • nepo
  • expert

Students who completed this task

mbzuk, kiminonawa, Ayomide Akosile

Task type

  • code Code
close

2019