LALA SARKARU MAL SARVHITKA RI SEN.
SEC. VIDYA MANDIR, KHANNA
PRACTICAL FILE
ON PYTHON
CLASS – XI
SESSION 2025 – 2026
INFORMATICS PRACTICES (065)
SUBMITTED TO -
Mr. Manoj Kumar
Submitted by
Name – Yashdeep
Roll no. –
Class –
Section –
[Link] Particulars Pg. No
1. Program that takesa number andcheckswhether 1
the given number isodd oreven.
2. Program toaccept threeintegersandprintthe largest 1
of three. Make use of only ifstatement.
3. Programthatinputsthreenumbersandcalculates 2
two sums as per this:
Sum1 as the sum of all input numbers
Sum2 as the sum of non-duplicate numbers; if there
are duplicate numbers in the input, ignores them.
4. 2
Program to test the divisibility of a number
with another number.
5. Programtofindthemultiplesofa number outof 3
givenfivenumbers.
6. Programtodisplaya menuforcalculatingarea of 4
a circleorperimeterofa circle.
7. Program that reads two numbers andan 4
arithmeticoperatoranddisplays the
computed result.
8. Programthat readsthreenumbersand 5
prints theminascendingorder.
9. 5
Program to print whether a given character is
an uppercase or a lowercase character or a
digit or anyother character.
10. Programtocalculateand 6
printrootsof quadratic
equation:ax^2+bx+c=0.
11. 6
Program to print sum of natural numbers
between 1to7. Printthesumprogressively.
12. Programto print elementsofa list['q', 'w', 'e', 'r','t', 'y'] in 7
separate lines along with element’s both indexes
(positive and negative).
13. 7
Writea programtocreatea [Link] list’s
copy,add10 toitsfirstand last elements. Then
display the lists.
14. Writeaprogramthatinputsalist,replicatesit 8
twiceandthenprintsthesortedlist inascending
and descendingorders.
15. 8
Programto find theminimumelement fromalistof
elementalong with itsindexinthelist.
16. Programtocountthefrequencyof givenelement 9
in a list of numbers.
17. 9
Write a program to check if the maximum
element of the list lies inthe first half of thelist orin
second half.
18. Write a program to read roll numbers and marks 10
of fourstudents andcreatea dictionaryfromit
having roll numbersaskeys.
19. 10
Create a dictionary where key, value pairs’ (roll
no., marks) valuesare available in3 different listsas
[1,68], [2,75], [3,70].
20. Write a program to create a dictionary M 11
which storesthemarks of thestudentsof
classwith roll numbersasthe keys and
marks [Link] the numberof
studentsas input.
21. 11
Write a program to create a phone dictionary for
all your friendsand printeachkeyvaluepair in
separate lines.
22. Write a program to create a dictionary M to 12
modify [Link]
numberas input.
23. 13
Write a program to create a dictionary
containing names of competitionwinner
studentsaskeysand numbersoftheirwinsas
values.
24. 13-14
The dictionary S stores the
roll_numbers:names of thestudentswhohave
beenselectedtoparticipatein national event.
Write a program to display the roll numbers
selected
25. 14
The dictionary S stores the roll_numbers:names of
the students who have been selected to participate
in national [Link] the previous program to
display the namesof the students.
26. Write a program to add new students roll 15
numbers andmarksinthedictionaryMcreated
withroll numbersasthe keys andmarks asthe
values.
6
1. Program that takes a number and checks whether the given number is
odd or even.
Input:
Output:
2. Programtoaccept three integers and print the largest of three. Make
use of only if statement.
Input:
Output:
1
3. Programthat inputs threenumbers and calculates two sums as per this:
Sum1 as the sum of all input numbers
Sum2 as the sum of non-duplicate numbers; if there are duplicate
numbers in the input, ignores them.
Input:
Output:
4. Program to test the divisibility of a number with another number.
Input:
Output:
2
5. Programtofind the multiples of a number out of given five numbers.
Input:
Output:
3
6. Program to display a menu for calculating area of a circleor perimeter of a
circle.
Input:
Output:
7. Program that reads two numbers and an arithmetic operator and
displays the computed result.
Input:
Output:
4
8. Programthat reads three numbers and prints them in ascending
order.
Input:
Output:
9. Program to print whether a given character is an uppercase or a
lowercase character or a digit or any other character.
Input:
Output:
5
10. Programto calculate and print roots of quadratic
equation:ax^2+bx+c=0.
Input:
Output:
[Link] to print sum of natural numbers between 1 to 7. Print thesum
progressively.
Input:
Output:
6
[Link] to print elements of a list['q', 'w', 'e', 'r', 't', 'y'] in separate lines
along with element’s both indexes (positive and negative).
Input:
Output:
13. Write a programtocreate a copy of a list. In the list’s copy, add 10 to its
first and last elements. Then display the lists.
Input:
Output:
7
14. Write a programthat inputs a list, replicates it twice and then prints
thesorted list in ascending and descending orders.
Input:
Output:
[Link] find the minimumelement from a list of element along with its
index in the list.
Input:
Output:
8
[Link] count the frequency of givenelement in a list of numbers.
Input:
Output:
[Link] a program to check if the maximum element of the list lies in the
first half of the list or in second half.
Input:
Output:
9
[Link] a program to read roll numbers and marks of four students and
create a dictionary from it having roll numbers as keys.
Input:
Output:
[Link] a dictionary where key, value pairs’ (roll no., marks) values are
available in 3 different lists as [1,68], [2,75], [3,70].
Input:
Output:
10
[Link] a program to create a dictionary M which stores the marks of
the students of class with roll numbers as the keys and marks as
[Link] the number of students as input.
Input:
Output:
[Link] a program to create a phone dictionary for all your friends and
print each key value pair in separate lines.
Input:
Output:
11
[Link] a program to create a dictionary M to modify the marks of a roll
number. Obtainthe roll number as input.
Input:
Output:
12
[Link] a program to create a dictionary containing names of
competition winner students as keys and numbersof their winsasvalues.
Input:
Output:
[Link] dictionary S stores the roll_numbers:names of the students who
have been selected to participate in national event. Write a program to
display the roll numbers selected.
13
Input:
Output:
25. The dictionary S stores the roll_numbers:names of the students who
have been selected to participate in national [Link] the previous
program to display the names of the students.
Input:
Output:
14
[Link] a program to add new students roll numbers and marks in the
dictionary M created with roll numbers as the keys and marks as the values.
Input:
Output:
15