Recursion

Descripción

Test sobre Recursion, creado por Shannon Anderson-Rush el 24/10/2018.
Shannon Anderson-Rush
Test por Shannon Anderson-Rush, actualizado hace más de 1 año
Shannon Anderson-Rush
Creado por Shannon Anderson-Rush hace más de 7 años
574
0

Resumen del Recurso

Pregunta 1

Pregunta
A recursive method is a method that calls itself.
Respuesta
  • True
  • False

Pregunta 2

Pregunta
Recursion is not the same as nested for loops or while loops.
Respuesta
  • True
  • False

Pregunta 3

Pregunta
A recursive method must have a base case that tells the method to stop calling itself.
Respuesta
  • True
  • False

Pregunta 4

Pregunta
The base case of a recursive call is a comparison between a parameter of the method and some specific predefined value chosen by the programmer.
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

Semantics and Syntax Key Terms
Amy Dang