GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Terms
  • Quizzes
  • Help Center
  • Random Term
  • English
  • Español
  • Français
  • Italiano
  • Deutsch
  • Português
  • Nederlands
  • Polski
  • Čeština
  • 日本語

This view

  • Original page
  • New address

GeezerVison is showing techterms.com — Recursion Definition - What does recursion mean?

HomeTechnical TermsRecursion Definition

Recursion

Recursion is a process in computer programming in which a function calls on itself as a subroutine. The concept is helpful when addressing a problem that can be solved by breaking it up into smaller copies of the same problem. Every time a recursive function runs, it tells itself to run again, not stopping until it meets a specified condition. Functions that incorporate recursion are called recursive functions.

A software developer building a recursive function needs to identify the base case. The base case is the part of the problem where the solution is known, so the problem is solved without more recursion. A recursive function iterates until it reaches the base case. At that point the recursion ends, and the program can move on to the next task.

Properly-used recursion is an efficient programming method since it minimizes the amount of code needed to complete a task. However, if the base case is not set (or is not reachable), the recursion will continue indefinitely. Endless recursion is called an infinite loop and will eventually cause a program to crash.

Updated October 31, 2022 by Brian P.
https://techterms.com/definition/recursion

quizTest Your Knowledge

Hackers use ransomware to do what kind of damage unless the victim pays?

A
Collecting the victim's personal data for sale online.
0%
B
Hijacking the victim's social media accounts to run scams.
0%
C
Encrypting the victim's files and storage disks to make them unreadable.
0%
D
Overclocking the computer's processor to cause physical damage.
0%
Correct! Incorrect!     View the Ransomware definition.
More Quizzes →
‹  Record | Recursive Function  ›

Tech Factor

? 6 / 10

Related Terms

  1. Programming Language
  2. Loop
  3. Iteration
  4. Crash
  5. Function
  1. Process
  2. Memory Leak
  3. Computer Science
  4. Software
  5. Program

The Tech Terms Computer Dictionary

The definition of Recursion on this page is an original definition written by the authors of TechTerms.com. If you would like to reference this page or cite this definition, please use the green citation bar directly below the definition.

Our goal is to explain computer terminology in a way that is easy to understand. We strive for accuracy and simplicity with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

The Tech Terms Newsletter

Improve your technical knowledge with our daily or weekly newsletter! Subscribe today and get new terms and quizzes delivered to your inbox.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email. Questions? Please contact us.

Thank You

We just sent you an email to confirm your email address. Once you confirm your address, you will begin to receive the newsletter.

If you have any questions, please contact us.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.