You are on page 1of 14

ST RAPHAEL CO-ED SCHOOL

BHOPAL

2022-23
DEPARTMENT OF COMPUTER-SCIENCE
PRACTICAL FILE
SUBJECT- INFORMATION TECHNOLOGY

Submitted By: Submitted To:


Shreeyansh Dixit Ms Shweta Sahu
Roll No: 27 (PGT COMP-SCI)
Class-XI‘A’
DECLARATION

I hereby declare that the work is being presented in the practical file on the
topic of “” in partial fulfilment of the requirement for the subject of XII Class
Information Technology, is an authentic record of my own work carried out
under the able guidance of Ms.Shweta Sahu.

The work has been carried out at ST RAPHAEL CO ED SCHOOL

I hereby declare that above statement is correct to the best of my


knowledge.

SHREEYANSH DIXIT

Class - XII
CERTIFICATE

This is to certify that Shreeyansh Dixit student of class XII ‘A’ of ST


RAPHAEL CO ED SCHOOL has successfully completed his Practical File
on the topic “PYTHON” in partial fulfilment of the requirement for the
subject of XII Class, Information Technology in the session 2022-23 as
per the guidelines laid by C.B.S.E, NEW DELHI

SIGNATURE OF SIGNATURE OF
PRINCIPAL TEACHER
S.NO TITTLE
1. Program to calculate income tax of an employee on the basis of basic salary and
total savings inputted by the user (using nested…if else satatement)as per the
given slabs
2. Write a program to calculate the product of two inputted integers without using
(*) operator, instead using repeated addition.

3. Program to input a string and count the number of uppercase and lowercase
letters.

4. Program to find the maximum, minimum and mean value form the inputted list.

5. Program to store students’ information like admission number, roll number,


name and marks in a dictionary, and display information on the basis of
admission number.

6. Program to store students’ information like admission number, roll number,


name and marks in a dictionary, and display information on the basis of
admission number.

7. Write a python program to check whether a string starts with specified


characters.

8. Write a function listchange (Arr) in Python, which accepts a list Arr of numbers,
the function will replace the even number by value 10 and multiply odd number
by 5.

9. Write a python function that accepts a string and calculates the number of
uppercase letters and lowercase letters.
Sample String: PythonPrograminG

10. Write a python program to make a chain of function decorators (bold, italic,
underline, etc.) in python.

INDEX
PROGRAM-1
Program to calculate income tax of an employee on the basis of basic salary and total
savings inputted by the user (using nested…if else satatement)as per the given slabs:
 No tax for individuals with income less than Rs.2.5 lakh.
 0%-5% tax with income Rs.2.5 lakh to Rs.5 lakh for different age groups.
 20% tax with income Rs.5 to Rs.10 lakh.
 30% tax with income greater than Rs.10 lakh.
 Investments up to Rs.1.5 lakh under Sec 80C can save up to Rs.45,000 in taxes
PROGRAM: -

OUTPUT: -
PROGRAM-2
Write a program to calculate the product of two inputted integers without using (*)
operator, instead using repeated addition.
PROGRAM: -

OUTPUT: -

Generally, a while loop is used when you don’t know in advance about how many times the
loop will be executed, but the control expression/termination condition is known .
PROGRAM-3
Program to input a string and count the number of uppercase and lowercase letters.
PROGRAM: -

OUTPUT: -
PROGRAM-4
Program to find the maximum, minimum and mean value form the inputted list.
PROGRAM: -

OUTPUT: -
PROGRAM-5
Program to store students’ information like admission number, roll number, name and
marks in a dictionary, and display information on the basis of admission number.
PROGRAM: -

OUTPUT: -
PROGRAM-6
Write a python program to remove the nth index character from a nonempty string.
PROGRAM: -

OUTPUT: -
PROGRAM-7
Write a python program to check whether a string starts with specified characters.
PROGRAM: -

OUTPUT: -
PROGRAM-8
Write a function listchange (Arr) in Python, which accepts a list Arr of numbers, the function
will replace the even number by value 10 and multiply odd number by 5.
PROGRAM: -

OUTPUT: -
PROGRAM-9
Write a python function that accepts a string and calculates the number of uppercase letters
and lowercase letters.
Sample String: PythonPrograminG
PROGRAM: -

OUTPUT: -
PROGRAM-10
Write a python program to make a chain of function decorators (bold, italic, underline, etc.)
in python.
PROGRAM: -

OUTPUT: -

You might also like