0% found this document useful (0 votes)
38 views2 pages

List of Practicals Class Xi Ip 2023-24

The document lists practical programming exercises for Class XI IP for the session 2023-24, categorized into sequential flow of control, selection flow of control, and programs based on lists and dictionaries. It includes tasks such as calculating sums, averages, and interest, as well as working with lists and dictionaries to manage data. Additionally, it covers SQL commands for database management, including creating tables and inserting student data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views2 pages

List of Practicals Class Xi Ip 2023-24

The document lists practical programming exercises for Class XI IP for the session 2023-24, categorized into sequential flow of control, selection flow of control, and programs based on lists and dictionaries. It includes tasks such as calculating sums, averages, and interest, as well as working with lists and dictionaries to manage data. Additionally, it covers SQL commands for database management, including creating tables and inserting student data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

LIST OF PRACTICALS

CLASS XI IP SESSION 2023-24

SEQUENTIAL FLOW OF CONTROL


1. WAP to print “Hello Python”
2. WAP to input two numbers and find their sum.
3. WAP to find simple interest.
4. WAP to input side of square and find area .
5. WAP to find sum and average of 5 numbers.
6. WAP to input rollno , name , address, maximum marks and marks achieved and print
all details along with the percentage .
7. To calculate profit-loss for given Cost and Sell Price.
8. To calculate EMI for Amount, Period and Interest.
9. To calculate tax - GST / Income Tax.

SELECTION FLOW OF CONTROL (Use of if or if – else)


1. WAP to input the age and check whether he/she is eligible for voting or not.
2. WAP to input a number and print whether it is even or odd.
3. WAP to input two numbers a and b . Check whether a is divisible by b or not.
4. WAP to input a number from user and check whether it is divisible by 3 and 5 or not.
5. WAP to input two numbers and print the larger one.
6. WAP to input two numbers and print the smaller one.
7. WAP to input three numbers and print the largest one.
8. WAP to input day of week (from 1 to 7) from user and print Sunday if user enters 1 ,
print Monday if user enters 2 and so on.
9. To count the number of vowels in user entered string.
10. To print the words starting with a alphabet in a user entered string.
11. To print number of occurrences of a given alphabet in each string.

PROGRAMS BASED ON - LIST


len(),list(),append(),insert(), count(),index(),remove(), pop(),
reverse(), sort(), min(),max(),sum()
1 Write a program to input a list from user and display it
2. Write a program to input a list from the user and display all even numbers.
3. Write a program to input a list from the user and display the square of all
elements.
4. Write a program to input a number and list from the user .Search the number in
the list and display the message “element found” if present in the list.
5. Write a program to create a list using the append function.
6. Write a program to find the number of times an element occurs in the list.
7. Write a program to input a list from the user and find the largest element of the list
.
8. Write a program to input a list from the user and find the smallest element of the
list .
9. Write a program to input a list from the user and find the average of the element .
10. Write a program to read a list of n integers (positive as well as negative). Create
two new lists, one having all positive numbers and the other having all negative
numbers from the given list. Print all three lists.

11. Write a program to read elements of a list.


a) The program should ask for the position of the element to be deleted from
the list. Write a function to delete the element at the desired position in the list.
b) The program should ask for the value of the element to be deleted from the
list. Write a function to delete the element of this value from the list.
12. Program to input a list of integers and mean of numeric values stored in a list;
13. Program to implement linear search in the list
14. Program to create a list of numbers and counting the frequency of elements in a
list
PROGRAMS BASED ON - DICTIONARY
dict(), len(), keys(), values(), items(), update(), del(), clear()
1. Create a dictionary with the roll number, name and marks of n students in a class
and display the names of students who have scored marks above 75.
2. Create a dictionary to store names of states and their capitals.
3. Create a dictionary of students to store names and marks obtained in 5 subjects.
4. To print the highest and lowest values in the dictionary.

Data Management: SQL Commands


1. To create a database
2. To create student table with the student id, class, section, gender, name, dob, and
marks as attributes where the student id is the primary key.
3. To insert the details of at least 10 students in the above table.
4. To display the entire content of table.
5. To display Rno, Name and Marks of those students who are scoring marks more
than 50.
6. To display Rno, Name, DOB of those students who are born between ‘2005- 01-
01’ and ‘2005-12-31’

You might also like