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 about 6 years ago
563
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
Reasons Why Development May Not Follow The Expected Pattern
jessica.godfrey
An Gnáthrud
xlauramartinx
OCR Gateway Biology Flash Cards
Sam Newey
An Inspector Calls -- Themes
Sadia Aktar
Sociology- Key Concepts
Becky Walker
Biology B2.3
Jade Allatt
Unit 3 Business Studies
Lauren Thrower
GCSE REVISION TIMETABLE
Sophie Thuita
DNA Replication
Laura Badger