A recursive function is one that
a) Speeds up a program.
b) Is always slower than a nonrecursive function.
c) Calls itself
d) Calls no functions at all.
e) Calls another function
c) Calls itself
Parts a) and b). Recursion is unlikely to be faster, but with selected problems and selected CPU architecture, a recursive solution will be as fast as an iterative solution. Part d) is wrong. Part e) A recursive function certainly may calls another function, but this is neither required not definitive.
You might also like to view...
In a mail merge document, this document contains the text that remains constant
A) Main document B) Data source C) Merge document
Jennifer needs to measure the effectiveness of her information security program as she works toward her organization's long-term goals. What type of measures should she select?
A. Metrics B. KPIs C. SLAs D. OKRs