C++ Recursion Lesson

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Solve the equation: 10!

3628800

What is a Recursion Call?

A Recursion Call is a function call in which the function called is the same making the call

What is a Recursive Function?

A function that can call its OWN self

What is a Stopping condition?

A stopping Condition places a condition on the Recursion process.

What happens in Recursion?

Chopping; Chopping items down until there it can't cut itself no more.

What is a good examples used to understand BaseCase

Factorials!

What was another form mentioned in this lesson

General Form ex:(n = 5 n! = 1)

How important is it to place a Stopping Condition in a Recursion Process?

HIGHLY Important to put!! A stopping condition has the ability to stop the infinite issue.

PLACE A PICTURE OF THE Recursion Call example here

PLACE A PICTURE OF THE Recursion Call example here

What is Recursion?

Recursion is a Process/Technique that begins to reproduce itself in SMALLER pieces (smaller versions of itself)

What is an issue that might occur when it comes to Recursion?

The Recursion might become INFINITE

What is a "Callee?"

The item that is being called

What does a "Caller" in Recursion?

The item that is doing the Calling.

Is the Recursive process a powerful process?

Yes, in fact Recursion is very useful and effective

What is a BaseCase?

a BaseCase is a Case that STOPS a Recursive Call.


संबंधित स्टडी सेट्स

CPCU 530 Ch. 3 Special Characteristics of Insurance

View Set

Effects of WWI and WWII on the status and role of women

View Set

MGMT 3000 Exam 2 - Chapter 9 Slides Review

View Set

Steps for Physical Assessment Study Guide

View Set