You are on page 1of 3

CLASS XI PRACTICAL FILE INDEX

SR.NO TOPIC CONCEPT USED


PYTHON
1 Write a menu driven programs to do the following Function definitions
tasks with the help of user-defined functions and calling functions
1)find factorial of a number
2)check if number is prime or not
3) fibonacci series upto n terms
2 Write a menu driven programs to do the following Functions with
tasks with the help of user-defined functions default parameters
1)Calculate Simple Interest with r and t as default
parameters
2)Calculate X**N with N as default parameter
3 Write a menu driven programs to do the following Passing strings to
tasks with the help of user-defined functions functions
1)to find length of a string
2)check for palindrome
3)change to uppercase
4)reverse the string
4 Write a menu driven programs to do the following File Handling
tasks with the help of user-defined functions Text Files
1)write 5 string to a file
2)read all data from a file using read()
3)read all data from a file using readline()
4)read all data from a file using readlines()
5) To find the size of file in bytes
5 Write a menu driven programs to do the following File Handling
tasks with the help of user-defined functions Text Files
1)Write 5 strings to a file.
2)Display all data from file
3)Count and display the total alphabets and digits.
4)Count the total no. of times "the" word occurs.
5)Print the strings in reverse order.
6 Write a menu driven programs to do the following File Handling
tasks with the help of user-defined functions Text Files
1)Replace 's' with 'S' in new file.
2)Count & display no. of words beginning with 'a'
OR 'A'.
3)Count the no. of words beginning with 'a' or 'A'
and ending with 'e' or 'E'.
4)Replace 'DELHI' with 'NEWDELHI' in address.txt.
7 WAP to search for an element in a list using
BINARY SEARCH.
8 Write a menu driven program to do the following
tasks
1. To input a list
2. To display a list
3. to sort a list using BUBBLE sort method.
4. to sort a list using INSERTION sort method.
9 Write a menu driven program to do the following
tasks
1)insert an element in a list using-
a)Traditional method
b)Bisect Module
3)Deletion of an element
4)Display the new list formed
10 Write a menu driven program to do the following
tasks
1)Create a matrix
2) Display the list in Matrix form
3)Find row sum
4)Find column sum

11 Write a menu driven program to do the following


tasks
1)Create a matrix
2) Display the list in Matrix form
3) Display upper-half of the list
4)Display lower-half of the list
5)To find the sum of diagonal elements
12 Write a menu driven program to implement stack Stack
operation- Push, Pop, Peek and Display with the
help of functions
13 Write a menu driven program to implement queue Queue
operation- Enqueue, Dequue, Peek and Display
with the help of functions
14 Write a menu driven program to implement a stack Stack of items
for these book details(bookno, book_name) with
operations Push, Pop, Peek and Display
15 Write a program to perform insert, delete and Queue of items
display operations on a queue containing member
details (member_no, member_name, age)
16 Write a random number generator using functions random() and
that generates random numbers between 1 and 6 randint()
(simulates dice)
17 Open a webpage using the urllib library Urllib and
webbrowser
modules
18 Write a menu driven program to perform the Recursion
following functions with the help of recursion
1. Power(x,y) :- To Calculate xy
2. Factorial(x):- To calculate the factorial of x
Fibonacii(N):- To generate Fibonacci series upto N
terms
19 Write a recursive function to implement binary Recursion
search algorithm.
20 Write a menu driven program to perform the Recursion
following operation with the help of recursive
functions
1. To check whether a string is palindrome or
not.
2. To find the sum of all elements of a list
21 Write a python program to plot the function y=x 2
using the pyplot or matplotlib

22 Book Pg 292 Q12 Bar Chart using


matplotlib
23 Book Pg 292 Q 13 Pie Chart using
matplotlib
24 Create a graphical application that accepts user Using tkinter library
inputs, performs some operations on them, and
then write the output on the screen, e.g. a small
calculator
25 Compute EMI for a loan using the NumPy or Scipy NumPy
libraries
26 SQL

You might also like