Explore topic-wise MCQs in Python.

This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

What happens if the base condition isn t defined in recursive programs?

A. tProgram gets into an infinite loop
B. tProgram runs once
C. tProgram runs n number of times where n is the argument given to the function
D. tAn exception is thrown
Answer» B. tProgram runs once