Recursion

Description

Quiz on Recursion, created by Shannon Anderson-Rush on 24/10/2018.
Shannon Anderson-Rush
Quiz by Shannon Anderson-Rush, updated more than 1 year ago
Shannon Anderson-Rush
Created by Shannon Anderson-Rush over 5 years ago
552
0

Resource summary

Question 1

Question
A recursive method is a method that calls itself.
Answer
  • True
  • False

Question 2

Question
Recursion is not the same as nested for loops or while loops.
Answer
  • True
  • False

Question 3

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

Question 4

Question
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.
Answer
  • True
  • False
Show full summary Hide full summary

Similar

Semantics and Syntax Key Terms
Amy Dang
Tectonic Hazards flashcards
katiehumphrey
B7: Further Biology
Matthew Law
Cells - Biology AQA B2.1.1
benadyl10
The Weimar Republic, 1919-1929
shann.w
Latin Literature Exam Techniques
mouldybiscuit
Germany 1918-39
Cam Burke
Using GoConqr to learn German
Sarah Egan
1PR101 2.test - Část 7.
Nikola Truong
Core 1.3 Energy Generation, Storage and Use
T Andrews