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





Friday, 3 September 2021

11th IP Python Practical list



Programming in Python 

1. To find average and grade for given marks. Click Here

 2. To find the sale price of an item with a given cost and discount (%). Click Here

3. To calculate perimeter/circumference and area of shapes such as triangle, rectangle, square and circle. Click Here

 4. To calculate Simple and Compound interest. Click Here

5. To calculate profit-loss for a given Cost and Sell Price. Click Here

6. To calculate EMI for Amount, Period and Interest. Click Here

 7. To calculate tax - GST / Income Tax. Click Here

8. To find the largest and smallest numbers in a list. Click Here

 9. To find the third largest/smallest number in a list. Click Here

 10. To find the sum of squares of the first 100 natural numbers. Click Here

11. To print the first ‘n’ multiples of a given number. Click Here

12. To count the number of vowels in a user entered string.  Click Here

 13. To print the words starting with a particular alphabet in a user entered string.  Click Here

14. To print the number of occurrences of a given alphabet in a given string.  Click Here

15. Create a dictionary to store names of states and their capitals.  Click Here video click here

16. Create a dictionary of students to store names and marks obtained in 5 subjects.  Click Here video click here

 17. To print the highest and lowest values in the dictionary.  Click Here  video click here


    MySQL/SQL programme0 
     01. SQL Queries- one table / two tables.  Click Here

     02. SQL Queries – one table / two tables. Click Here