0% found this document useful (0 votes)
19 views8 pages

Practical File COVER PAGE

The document is a practical record file for Computer Science (086) for the session 2023-24, submitted by a student named Yug Tomar under the guidance of Ms. Kirti Trikha. It contains a comprehensive index of programming exercises in Python, covering various topics such as basic arithmetic operations, area calculations, interest calculations, and number properties. Each exercise is designed to enhance programming skills and understanding of fundamental concepts in computer science.

Uploaded by

Yug Tomar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views8 pages

Practical File COVER PAGE

The document is a practical record file for Computer Science (086) for the session 2023-24, submitted by a student named Yug Tomar under the guidance of Ms. Kirti Trikha. It contains a comprehensive index of programming exercises in Python, covering various topics such as basic arithmetic operations, area calculations, interest calculations, and number properties. Each exercise is designed to enhance programming skills and understanding of fundamental concepts in computer science.

Uploaded by

Yug Tomar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

KHAITAN PUBLIC SCHOOL

SAHIBABAD

A Practical Record File


For Session 2023-24
[As a part of the Computer Science (086)]

SUBMITTED BY
Yug Tomar
Roll N0. – [
]

Under the Guidance of:


Ms. Kirti Trikha
PGT (Comp.Sc)

[1]
SQL
COMMAND
S PYTHON
PROGRAM
S
INDEX
SNO. PROGRAM SIGNATURE

1 Write a program to accepts two integers and print their sum

[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

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 calculate simple interest.

6 Write a program to read two numbers and prints their quotient and
remainder.

7 Write a program that accepts length and breadth of rectangle and


calculate its area

8 Write a program that accepts weight in Kg and height in meters and


calculate the BMI

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

12 Write a program to read base, width and height of parallelogram


and calculate its area
and perimeter.

[6]
13 Write a program to obtain x, y, z and calculate 4x⁴+3y³+9z+6π

14 To find final amount for given cost-qty-discount(%)

15 Write a python program that calculates and prints the value


according to the given
formula: Q =
Square root of [(2 * C * D)/H]
16 To calculate cost of fencing a rectangular park where L=70 and
B=20, rate per feet =
Rs.10/-
[P=2(L+B)]
17 To calculate cost of cultivating a rectangular field with dimensions
L=7000 and
B=2000,
rate per Sq/feet = Rs.10/- [A = L*B]
18 To calculate interest (Simple and Compound) when principal, rate
and time are given [S.I. =
(PRT)/100, C.I. = P(1+R/100)T-P]

19 To calculate profit/loss for given Cost and Sell Price

20 To calculate EMI for Amount, Period and Interest.

21 WAP to check whether a number is divisible by 5 and 11 or not

22 WAP to display Digit in text (0 to 9)

23 WAP to Check given character is vowel or not

[7]
24 Write a python program to check whether the year is leap year or not

25 Write a program to print roots of a quadratic equation ax2 + bx +c=0


(where a≠0)

26 WAP to input marks in 3 subjects, compute average and then


calculate grades as per
following guidelines:

27 Write a program to input a number and print its square if it is odd,


otherwise print its square
root.

28 Input three angles and determine if they form a triangle or not

29 Write a program to calculate BMI and print the nutritional status as per
following table:

30 Write a program to find largest among three integers

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

34 Write a program to input a number and check whether it is positive,


negative or zero.

[8]
35 Write a program to display a menu for calculating area of circle or
perimeter of the
circle

36 Write a program that reads two numbers and an arithmetic operator


and displays the
computed result.

37 Write a program to print whether a given character is an uppercase


or a lowercase
character or a digit or any other character

38 WAP to display all number from 1 to 15.

39 WAP to display sum of all numbers from 1 to 10.

40 WAP to display Average of numbers from 1 to 10.

41 WAP to display multiply all numbers from 1 to 10.

42 WAP to display Square all numbers from 1to 20.

43 WAP to display Cube all numbers from 1to 100

44 WAP to display all odd numbers from 1to 100.

45 WAP to display all even numbers from 1to 100.

[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

48 Print check whether a number is prime numbers or not.

49 Take an integer input N from the user. Print the table of N

[10]
[11]

You might also like