HOLIDAY HOMEWORK
CLASS XI
PRACTICAL FILE
PRACTICAL-1
PROGRMAS FOR PRACTICE [In python IDLE]
1. Write a program to accepts two integers and print their sum, product, subtraction and
division
2. Write a program that accepts radius of a circle and prints its area.
3. Write a program that accepts base and height and calculate the area of triangle.
4. Write a program that inputs a student’s marks in three subjects (out of
100) and prints the percentage marks
5. Write a program to compute area and perimeter of a square
6. Write a program to read two numbers and prints their quotient and reminder
7. Write a program that accepts length and breadth of rectangle and calculate its area.
8. Write a program that reads the number n and print the value of n², n³ and n⁴.
9. Write a program to obtain x, y, z and calculate 4x⁴+3y³+9z+6π.
10. Write a program to read base, side and height of parallelogram and calculate its area
and perimeter
PROGRAMS FOR PRACTICAL FILE/PRACTICE
1. Write Python script to input the values of Principal, Rate, and Time and calculate
Simple Interest and Compound Interest. The script should also display the values of
simple interest and compound interest.
2. Write Python script to enter temperature in degree Celsius and display it into
Fahrenheit.
3. Ramesh basic salary is [Link] dearness allowance is 40% of basic salary and
house rent allowances is 20% of basic salary and PPF is 15% of Basic Salary Write a
program to calculate gross salary.
Gross Salary=Basic salary + Dearness allowance + House rent allowance-ppf
deductions
4. If lengths of three sides of a triangle are input through the keyboard, write a program
to find the area of the triangle (by Heron′s formula)
5. Finds the roots of the Quadratic Equation ax2+bx+c where a,b and c are entered from
user.
6. Write a program to accept the height in inches and convert it into feet and inches. (eg
– if user enters 57 inches-4 feet 9 inches)
PRACTICAL FILE FORMAT
1 . Normal Practical file-Programs can be written on the ruled sheet(right) and the output
on left hand side
Left Side(Plain) -Write or paste Right Side(Rule)-Write the Program
Practical- Program to enter Length and
breadth to find the area and perimeter
l=int(input("Enter
length"))
b=int(input("Enter
Breadth")) ar=l*b
per=2*(l+b)
print("Area",ar)
print("Perimeter",per)
2. Print out- One Program on one A4 Sheet. Format is given below
Practical Program to enter Length and breadth to find the area and perimeter
Source Code
Output