We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
1124122, 11:36 PM Exam paper
computer Exam
Practical exam paper
‘write ll the program inthe answer sheet and then proceed forthe computer compilation
Group - A
Answer the following question: (any 4) (For compilation of program sucessfully there is S
nswer sheet there is $ marks) [10°]
‘exch and for conet presentation ofthe program inthe
Lurite a program in python to print all the prime palindrome nunber between ‘n' and 'n!
Sanpte execution
Penter the value of m: 10
enter the value of ni 1000
2. the school office collect the wonthly fees of a school which includes both tuition fees and
Write 2 progran in python to calculate the fees of the school by accepting the admission class and
then display the monthly fees of the class and the fees of one year
For the above calculation follow the tariff
felass. Tuition Fees. MisceTTanous Fees
to 5 fz 800 ‘5% of tition Fees
(6 to 10 1000 20% of twition Fees
iti to 12 [e200 [25% of tuition fees
3. write a program in python in such a way that if 1 choose "1" as my option it will, display Arithmetic
mean if S"choose "20 /as my’ option Su'wit display geometric wean" ang ifs choose "3" as my option it
Will display narmonic misceTTanous for wrong choice deisplay appropiate message
1. Arithmetic Mean = (3+) /,
2. Geometric Mean = Jab
3. Harmonic Mean = 2®)/¢.,4)
4. write a program in python to accept monthly sales of 100 salesman . compute the conmision and the
Travelling allowance of each salesman as per the tariff given below
the program displays the total incone of each statement
fsates (commision [TraveTTing Allowance
lupto to * 50,000 Ina. 2%
50,001 - e100, 000 iLox 5%
[e100,001 - *150,000 fix is
bove #150,00 lnsx how.
5. write a program in python to check if the given number is a perfect number or not
perfect number is a number which is equal to sum of all its factor
input: 6
output: Perfect nunber: 6
Group-B
viva question zone
fietiDvsaumyocipiprojectfexam_paper him! w