0% found this document useful (0 votes)
2 views

Arsh Garg Xi-B 13 Cs Project

Class 11

Uploaded by

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

Arsh Garg Xi-B 13 Cs Project

Class 11

Uploaded by

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

ARSH GARG

XI-B
13
CS PROJECT
=-
Q1: Write a Python script to accept principal amount ,
rate of interest and time in years and display simple
interest.
A1: INPUT:

OUTPUT:
Q2 Write a menu driven code
• to accept side of a square and display its area and
perimeter.
• to accept length and breadth of a rectangle and
display its area and perimeter.
• to accept radius of a circle and display its area and
circumference.
• to accept base and height of a triangle and display its
area. (Area = ½ * b * h)
• to accept three sides of a triangle and calculate its
area using Heron's formula.
A2 INPUT:
OUTPUT:
Q3 Write a menu driven code to
• accept temperature in Fahrenheit and display it in
Celsius. C=(F−32)∗5/9
• accept temperature in Celsius and display it in
Fahrenheit. F=C∗9/5+32
A3 INPUT:

OUTPUT:
Q4 Write a Python script to accept time in minutes and
display corresponding time in hours and minutes.
A4 INPUT:

OUTPUT:

Q5 Write a Python script to accept the height in inches


and display it in feet and inches.
A5 INPUT:

OUTPUT:
Q6 Write a Python script to swap (interchange the value)
of two numbers. Display two numbers with memory
location before and after swapping. Judge if same or
different ids are allotted to them.
A6 INPUT:

OUTPUT:
Q7 Write a Python Script to Enter age of a person and
check eligibility to get married. Do appropriate checks
required for the same.
A7 INPUT:

You might also like