Monday, 20 September 2021

11th CS Python Practical List

1. Input two numbers and display the larger / smaller number. click here 

2.  Input three numbers and display the largest / smallest number. click here 

3 Generate the following patterns using nested loop. Click here

  3A Pattern-1

 *

 **

 ***

 **** 

 ***** 

 Pattern-2

1 2 3 4 5

 1 2 3 4

 1 2 3

 1 2

 1 

Pattern-3

 A 

AB

 ABC 

ABCD 

ABCDE 

4 Write a program to input the value of x and n and print the sum of the
  series: 1+x+x^2+x^3+x^4+ ............x^n  click here  

5. Write a program to input the value of x and n and print the sum of the
  series: 1-x+x^2-x^3+x^4 + ......... x^n  click here

6. Write a program to input the value of x and n and print the sum of the
  series: x + x^2/2 - x^3/3 + x^4/4 + ........... x^n/n  click here   

 7. Determine whether a number is a perfect number, an armstrong number or a
palindrome. click here 

8. Input a number and check if the number is a prime or composite number. click here 

9. Display the terms of a Fibonacci series. click here  

10. Compute the greatest common divisor and least common multiple of two
integers. click here  Date: 

11. Count and display the number of vowels, consonants, uppercase, lowercase
characters in string. click here  Date: 

12.. Input a string and determine whether it is a palindrome or not; convert the
case of characters in a string. click here  Date:

13. Find the largest/smallest number in a list/tuple click here  Date

14, Input a list of numbers and swap elements at the even location with the
elements at the odd location. click here Date: 


15. Input a list/tuple of elements, search for a given element in the list/tuple. click here  Date:

 
16. Create a dictionary with the roll number, name and marks of n students in a
class and display the names of students who have marks above 75. click here





No comments:

Post a Comment