Computers

12th

grade

Image

Recursion

439
plays

20 questions

Show Answers
See Preview
  • 1. Multiple Choice
    1 minute
    1 pt

    A recursive function is

    A function that calls other functions in a recursive way.

    Any function that calls itself is called recursive

    A function that has a base case or termination condition

    None of the above

  • 2. Multiple Choice
    1 minute
    1 pt

    Recursion is:

    is a computer programming technique involving the use of a procedure, subroutine, function, or algorithm that calls itself in a step having a termination condition.

    is a computer programming technique involving the use of a procedure, subroutine, function, or algorithm that calls other function in a step.

    is a computer programming technique involving the use of a procedure, subroutine, function, or algorithm that calls itself in a step having no termination condition.

    None of the above

  • 3. Multiple Choice
    1 minute
    1 pt

    Which of the following is the best definition of a recursive method?

    A method that iterates itself exactly 5 times.

    A method that invokes itself by name within the method.

    A method that will never iterate infinitely.

    A method that cannot be called more than once.

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?