Shannon Anderson-Rush
Quiz por , criado more than 1 year ago

Quiz sobre Recursion, criado por Shannon Anderson-Rush em 24-10-2018.

554
0
0
Shannon Anderson-Rush
Criado por Shannon Anderson-Rush mais de 5 anos atrás
Fechar

Recursion

Questão 1 de 4

1

A recursive method is a method that calls itself.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 2 de 4

1

Recursion is not the same as nested for loops or while loops.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 3 de 4

1

A recursive method must have a base case that tells the method to stop calling itself.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação

Questão 4 de 4

1

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.

Selecione uma das opções:

  • VERDADEIRO
  • FALSO

Explicação