Professional Documents
Culture Documents
Reg. No.: Name:: Introduction To Problem Solving and Programming/ CSE1021
Reg. No.: Name:: Introduction To Problem Solving and Programming/ CSE1021
:
Name :
Sub.
Q.No. Question Description Marks
Sec.
2 Based on the given values for the variables a,b,c,d,e a=20, b=10, c=15, d=5,
e=0 evaluate the expression one and two by applying PODMAS rule.
(i) e = (a + b) * c / d +c 10
(ii) e = (c*b) + a/b + d
3 What is control flow statement. Find the sum of n numbers using for loop and while
loop statement in python. 10
5 (i) Find the factorial of any given number using recursion in python.
10
(ii) Write a program in python to print the range of prime numbers between 1 to 100.