0% found this document useful (0 votes)
58 views2 pages

Computer Class 11 Programs

The document contains 30 programming problems for a quarterly practical computer science exam, including writing programs to determine if a number is prime or perfect, calculate LCM and GCD, check for digit or string palindromes, calculate series sums, find factors of numbers, and print various patterns. Students are asked to write Python programs to solve each of the problems presented.

Uploaded by

Zekey 22
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)
58 views2 pages

Computer Class 11 Programs

The document contains 30 programming problems for a quarterly practical computer science exam, including writing programs to determine if a number is prime or perfect, calculate LCM and GCD, check for digit or string palindromes, calculate series sums, find factors of numbers, and print various patterns. Students are asked to write Python programs to solve each of the problems presented.

Uploaded by

Zekey 22
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/ 2

MAHARI SHIVI

DYAMANDIRSENI ORSECONDARYSCHOOL,
CHETPET,CHENNAI-
31.
STD:XI SUBJECT:COMPUTERSCI ENCE
PROGRAMSFORQUARTERLYPRACTI CALEXAMINATI
ON-
2019

1.Wr i
teapy t
honprogram t
ofi
ndthegivennumberi sapr imenumberornot .
2.Wr i
teapy t
honprogram t
ofi
ndthegivennumberi saper fectnumberornot .
3.Wr i
teapy t
honprogram t
ofi
ndLCM andGCDoft hegi ven2number s.
4.Wr i
teapy t
honprogram t
ofi
ndthegivenndi gitnumberi sadi gitpali
ndrome
ornot .
5.Wr i
teapy t
honprogram t
ofi
ndthesum oft hedi git
soft hegi venndi git
number .
6.Wr i
teapy t
honprogram t
opri
ntthereverseoft hegiv enndi gitnumber .
7.Wr i
teapy t
honprogram t
ofi
ndthegivenndi gitnumberi sanAr mstrong
numberornot .
8.Wr i
teapy t
honprogram t
ofi
ndthesum oft hedi git
soft hegi venndi git
number .
9.Wr i
teapy t
honprogram t
ofi
ndthelargestnumberf rom t heuseri nput( n
number s).
10.
Wr i
teapy t
honprogram t
ofi
ndthesmal l
estnumberf rom t heuseri nput(n
number s).
11.
Wr i
teapy t
honprogram t
ofi
ndthesmal l
estandsecondsmal lestnumber
from theuserinput.
12.
Wr i
teapy t
honprogram t
ofi
ndthelargestandsecondl argestnumberf r
om
theuseri nput
.
13.
Wr i
teapy t
honprogram t
ofi
ndthesum ofoddnumber sandev ennumber s
givenasi nput
.
14.
Wr i
teapy t
honprogram t
ofi
ndthesum oft heser i
esx- x2/2!+x3/3!x4/
- 4!.
..up
tont erms.
15.
Wr i
teapy t
honprogram t
ofi
ndthesum oft heser esx+x2/
i 3!+x3/ +x4/
5! 7!….
Upt ont erms.
16.
Wr i
teapy t
honprogram t
ofi
ndthesum ofser iesx-x3/ 3!+x5/ 5!-x7/ 7!…up
tont erms.
17.
Wr i
teapy t
honprogram t
ofi
ndthesum ofser iesx–x3/ 2!+x5/ 4!–x7/6!…up
tont erms.
18.
Wr i
teapy t
honprogram t
ofi
ndtheprimef actorsofagi vennumber .
19.
Wr i
teapy t
honprogram t
ofi
ndtheprimenumber sfrom 1t on.
20.
Wr i
teapy t
honprogram t
ofi
ndthegivenst r
ingi spalindromeornot .
21.
Wr i
teapy t
honprogram t
opri
ntthegivenpat t
ern
1
12
123
1234
12345

22.
Wri
teapy
thonpr
ogr
am t
opr
intt
hegi
venpat
ter
n
A
AB
ABC
ABCD
ABCDE
23.
Wri
teapy
thonpr
ogr
am t
opr
intt
hegi
venpat
ter
n
CEGIK
DFHJ
EGI
FH
G
24.
Wri
teapy
thonpr
ogr
am t
opr
intt
hegi
venpat
ter
n
54321
5432
543
54
5
25.
Wri
teapy
thonpr
ogr
am t
opr
intt
hegi
venpat
ter
n
246810
1357
246
13
2
26.
Wri
teapy
thonpr
ogr
am t
opr
intt
hegi
venpat
ter
n
#A
$12
#ABC
$1234
#ABCDE

27.
Wr i
teapythonpr ogr
am tofindthesum oftheser i
es1+(1+22)
+(1+22+32)
+…
28.
Wr i
teapythonpr ogr
am tocheckthegivenchar act
eri
sadigit
,uppercase
alphabet
,lowercasealphabetorspeci
alcharacter.
29.
Wr i
teapythonpr ogr
am tocountthenumberofv owel
sinthegiv
enst r
ing.
30.
Wr i
teapythonpr ogr
am tofindthegiv
enquadr ati
cequat
ionrootsar
er eal
,
equalorimaginary.

You might also like