[go: up one dir, main page]

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

Term-I Report and Project File

Uploaded by

piyushrajani666
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 views4 pages

Term-I Report and Project File

Uploaded by

piyushrajani666
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
You are on page 1/ 4

CLASS XI – Computer Science

By: Amit Kumar Verma


PYTHON
PROGRAMMING QUESTIONS
1. Write a program to print Factorial of a Number.
2. Write a program to print the Fibonacci series.
3. Write a program to check whether a Number is a Palindrome.
4. Write a program to find Sum of Digits of a Number.
5. Write a program to read an integer and print its multiplication table.
6. Write a program to print Sum of first N natural numbers.
7. Write a program to find the given Numbers is Armstrong Number or not.
( 1,153,370,371,407)
8. Write a program to generate the sequence: -5,10, -15,20, -25 ------up to n terms.
9. Write a program to check entered number is whether prime or not.
10.Write a program to print occurrence of a particular digit in a number.
11. Write a program to convert number from decimal to binary.
12. Write a program to convert number from Decimal to Octal.
13. Write a program to print following Pyramid:
*****
****
***
**
*
14. Write a program to print character pyramid as given below:
A
BC
DEF
GHIJ
KLMNO
15. Write a program to print following Pyramid:
*
* *
* * *
* * * *
* * * * *
16. Write a program to print following Pyramid:
*
**
***
****
*****
*****
****
***
**
*
17. Write a program to print following Pyramid:
**********
**** ****
*** ***
** **
* *
18. Write a program to print following Pyramid:
1
123
12345
1234567
123456789
19. Write a program to print following Pyramid:
1 1
12 21
123 321
1234 4321
1234554321
20. Write a program to print following Pyramid
ABCDEEDCBA
ABCD DCBA
ABC CBA
AB BA
A A
21. Write a program to find sum of the square of all natural numbers from 1 to N.
Series: 12 + 22 + 32 + 42 +..N2
22. Write a program to find the sum of Natural Number/Factorial of Number of all
natural numbers from 1 to N.
Series: 1/1! + 2/2! + 3/3! + 4/4! + ... N/N!
23. Write a program to find perfect number given by user.
24. Write a program to input the value of x and n and print the sum of the following
series.
1+x+x2+x3+x4+. .......... xn
25. Write a program to input the value of x and n and print the sum of the following
series
1-x+x2-x3+x4-. .......... xn
26. Write a program to input the value of x and n and print the sum of the following
series

27. Write a program to input the value of x and n and print the sum of the following
series

28. Write a program to input the value of x and n and print the sum of the following
series

29. Write a program to input the value of x and n and print the sum of the following
series
30. Write a program to find (calculate) the sum of series 1+11+111+1111+... till N
terms

By: Amit Kumar Verma

You might also like