Practical File COVER PAGE
Practical File COVER PAGE
SAHIBABAD
SUBMITTED BY
Yug Tomar
Roll N0. – [
]
[1]
SQL
COMMAND
S PYTHON
PROGRAM
S
INDEX
SNO. PROGRAM SIGNATURE
[5]
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
6 Write a program to read two numbers and prints their quotient and
remainder.
9 Write a program that reads the number n and print the value of n², n³
and n
10 Write a program to accept the marks of five subjects and calculate the
average marks
11 Write a program to accept the height in cm and convert it into feet and
inches
[6]
13 Write a program to obtain x, y, z and calculate 4x⁴+3y³+9z+6π
[7]
24 Write a python program to check whether the year is leap year or not
29 Write a program to calculate BMI and print the nutritional status as per
following table:
31 Write a program that accepts the age and print if one is eligible to vote
or not
32 Write a program that accepts two numbers and check if the first
number is fully
divisible by second number or not.
33 Write a program to accept the year and check if it is a leap year or not
[8]
35 Write a program to display a menu for calculating area of circle or
perimeter of the
circle
[9]
46 Take an integer input N from the user. Print N Fibonacci numbers.
Recall that
Fibonacci series progresses as 0 1 1 2 3 5 8…
47 Take an integer input N from the user. Find Factorial of N and print it
[10]
[11]