mediumFPSCNTSCSSPPSCFIAOTSIBASTSECATProgramming & Databases
Answer explanation
Explanation included
Practice quiz ready
Question

What is recursion?

AA function calling itself to solve a smaller version of a problem
BA database deleting itself
CA compiler translating the same statement twice
DA loop without any condition

Choose an option to check yourself, or reveal the answer and explanation instantly.

Continue practising this MCQ topic

Use these links to review the full topic, start a timed quiz, or open the exam hub connected with this question.

Previous
What does variable scope determine?
Next
What is the purpose of a return statement in a function?

Related Programming & Databases MCQs

View all

Test Yourself

Take a full quiz on Programming & Databases

Start Quiz

Exam Coverage

Trust

Answer is visible after reveal
Explanation helps learning
Free topic quiz available

Subject

Programming & Databases

Save your progress

Create a free account to bookmark MCQs and track weak areas.

Register Free
Start QuizNext MCQ
Answer and explanation

Correct Answer: A: A function calling itself to solve a smaller version of a problem

Explanation: Recursion is a technique in which a function calls itself with a smaller or simpler version of the original problem. A recursive solution must normally include a base case that stops further calls. Without a valid base case, recursion may continue until available call-stack space is exhausted.

Continue practice

More Programming & Databases MCQs with answers

Use these links to review related questions, practise the full topic, or open the exam preparation pages connected with this MCQ.

Related questions

Topic and exam paths