0% found this document useful (0 votes)
13 views25 pages

Recursion

The document contains a list of recursion-based programming questions prepared by Shambhu Kumar from QSpiders | JSpiders, NOIDA. It includes tasks such as generating numbers, calculating factorials, and solving problems like the Tower of Hanoi. Each question is designed to practice recursion techniques in programming.

Uploaded by

infosamir2233
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views25 pages

Recursion

The document contains a list of recursion-based programming questions prepared by Shambhu Kumar from QSpiders | JSpiders, NOIDA. It includes tasks such as generating numbers, calculating factorials, and solving problems like the Tower of Hanoi. Each question is designed to practice recursion techniques in programming.

Uploaded by

infosamir2233
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

QSpiders|JSpiders|PySpiders, NOIDA

B-4, Block-B, Sector-3, Noida


Recursion Based Questions by Shambhu Sir
Monday, 11 August 2025
@javac_java @kumarsam07

SHAMBHU KUMAR QSpiders |JSpiders, NOIDA

Q:1
WAJP to generate numbers from 1 to 10 by
using recursion.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:2
WAJP to generate numbers from 10 to 1 by
using recursion.
.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:3
WAJP to generate table of a number by using
recursion.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:4
WAJP to print sum of numbers from 1 to 100 by
using recursion.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:5
WAJP to print sum of squares of numbers from
1 to 100 by using recursion.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:6
WAJP to print sum of cubes of numbers from 1
to 100 by using recursion.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:7
WAJP to calculate factorial by using recursion.
.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:8
WAJP to calculate power by using recursion.
.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:9
WAJP to print each digit of a number from right to left
by using recursion.
.n=3472
o/p:
2
7
4
3

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:10
WAJP to print each digit of a number from left to right
by using recursion.
.n=3472
o/p:
3
4
7
2

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:11
WAJP to get digit count of a number by using
recursion.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:12
WAJP to get digit sum of a number by using
recursion.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:13
WAJP to take Four user inputs and print biggest
of that.
.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:14
WAJP to calculate nth term of Fibonacci series by
using recursion.

[Link]
number/description/

.
Shambhu Kumar QSpiders | JSpiders,
NOIDA
Recursion based Programming

Q:15
N-th Tribonacci Number

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:16
Power of Two:
[Link]
two/description/

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:17
[Link]
three/description/

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:18
[Link]
four/description/

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:19
WAJP to take two user inputs and print HCF of
the two numbers.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:20
WAJP to take three user inputs and print LCM
of the two numbers.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:21
WAJP to solve Tower Of Hanoi problem.

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:22
Ugly Number

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:23
Binary Tree Preorder Traversal

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:24
Binary Tree Inorder Traversal

Shambhu Kumar QSpiders | JSpiders,


NOIDA
Recursion based Programming

Q:25
Binary Tree Postorder Traversal

Shambhu Kumar QSpiders | JSpiders,


NOIDA

You might also like