You are on page 1of 2

HOLIDAY HOME WORK

SUBJECT: WORK EDUCATION (Python)

NOTE: Do these questions practically on your system in script mode. After execution paste the
screenshot of the output screen. Use Print screen button from keyboard , in order to take Screen Shots.
Complete them on your school notebook.

QUESTIONS
Q1. Aisha wants to generate a report card for class X students. Program should accept the name of
student, marks of English, Hindi, Maths, SSt, Science. Find total marks obtained and percentage. Display
the output in the given format.

******************************************************
REPORT CARD
Name: ……………………………….…………….………….
Class & Section: ………………………………...…………….
----------------------------------------------------------------------------------
Statement of marks
******************************************************
ENGLISH 90
HINDI 89
MATHS 75
SST 94
SCIENCE 80

TOTAL MARKS 428


PERCENTAGE 85.6
******************************************************
RESULT : PASS
******************************************************

Hint : To make the design, use \n or \t for formatting


Q2. Rahul accepts temperature in Celsius. He wants to convert that temperature in Fahrenheit.
Program should accept the temperature in Celsius. Find the temperature in Fahrenheit. Display
the output in the given format.

******************************************************
TEMPERATURE CONVERTER
******************************************************
Temperature (in Celsius) : ………………….

******************************************************
TEMPERATURE IN FAHRENHEIT IS: …….…………

Q3. Raima purchased pair of jeans, short pants and a shirt from UNIQ OPEN MARKET.
Program should accept the Unit price & Quantity of items purchased and Payment Mode (Cash/
Credit/ Debit). Apply 5% discount on Total_amount and afterwards add 2% GST on Final Bill.
Display Total_amount, discount, Gst and Net amount to be paid. Display the output in the given
format.

******************************************************
UNIQ OPEN MARKET
******************************************************
BILLING
******************************************************
ITEMS QTY UNIT_PRICE PRICE
JEANS 2 1000 1000
SHORT PANTS 1 500 500
SHIRT 1 500 500
******************************************************
TOTAL AMOUNT 3000
DISCOUNT (5%) 150
GST (2%) 57
NET AMOUNT 2907
******************************************************
PAID BY CASH
****************************************************

You might also like