Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

ww..

w
w ..
wwww wwww
www.Padasalai.Net - No.1 Educational Website in Tamilnadu

N Ne tt
e PADASALAI’S CENTUM TEAM
NNe ett
lalai .i. l a
l i
a .i. -2023
PRE PUBLIC EXAMINATION Marks : 70
l a
l i
a
assaa Std : XII - EM/TM
aad a
:d
as saa SCIENCE
COMPUTER Time : 3Hrs ss
a d
a da a aa
w w P
I Choose the correct answer
. . P ww . P P
15. x 1 = 15
N¬Vô] ®ûPûV
1. Which ofw w
thew úRokùRÓjÕ
following
GÝÕL:
w is a distinct syntactic block? w
w ww
a) Subroutines b) Functions c) Definition d) Modules
©uYÚm GÕ R²jRuûUVô] ùRôP¬Vp ùRôϧLû[d ùLôiPRôÏm?

NN e t ta)
e ÕûQ¨WpLs b) ùNVtáßLs c) et t
N N e
YûWVû\ d) ùRôϧLs

lalai.i. 2. Bundling two values togather into one canl a


l i
a
be.iconsidered
. as
l a
l i
a

et
assaa a) Pair
a ad da
b) Triplet
ssaa c) Single
CÚ U§l×Lû[ Ju\ôL ©ûQl× GkR YûL LÚRlTÓ¡\Õ
a d) Quadrat
a ad da s
a aa
s
. P
. P . P
. P

.N
w w
3. Which of the following
w is used in programming languages to map the
w w
variable
w and object?

www b) : =
©uYÚm GÕ ¨WXôdL ùUô¯«p Uô±ûVÙm ùTôÚû[Ùm úUl ùNnV TVuTÓ¡\Õ?
a) : : c) =
wwd)w= =

lai
4. The word comes form the name of a Persian mathematician Abu Ja’far Mohammed ibn-i

N Ne tt
e
Musa al Khowarizmi is called?

N Neett
GkR ùNôp ùToµV L¦RúUûR A×_ô@To ØLUÕ C©u-_ØNô Ap ùL[Yô¬vª

l a
l i
a .i. ùTV¬p CÚkÕ YkRÕ?
l a
l i
a .i. l a
l i
a
sa
assaa 5.
a) Flowchart b) Flow

a ad daas aa c) Algorithm d) Syntax


s
Which is not a compound operator in python?
aaddaassaa
w
w . P
. P
ûTjR²p GÕ áhÓd ϱ ApX?
w
w . P
. P
ww comfortable loop? w
www
da

6. Which iswwmost
a)= b) += c) *= d)**=
the
GÕ ªLÜm ÑXTUô] UPdÏ?
a) do...while b) while c) for d) if...elif
Pa

NNeett
7. Which id not a classification of function?
N N e ett
l a
l i
a .i. a) Build in(
©uYÚY]Ytßs GÕ ùNVtáßLs YûL ApX?
l a
lai ..
b)i User Defined( l a
l i
a
assaa 8. Whatc) lambda( aa d) derived( aa
Es°ûQkR ) )
TV]o YûWVßjR
XômPô )
will be the output ofa d da a ss )
RÚ®dLlThP
ddaass
a aa
w.

w w . PP the following code?


. ¸rLiP ûTjRôu ¨WÛdLô] ùY°ÂPôÏm? w
w . P
. P
©uYÚY]Ytßs
w
wwwSchools”
str1 = “Chennai

w
www
ww

str1 = “-”

N Ne et ta) Chennai-Schools b) - c) Type error t


N N e e t d) Chennai

l a
l i
a .
i . 9. for i in range(5,15,3)
l a
l ai.i. l a
l i
a
assaa print(i)
What is the output? , a ad da as saa
ad
a a
d s
a aa
s
a) 5 4 3 2 1 w w .P P CRu ùY°ÂÓ Gu]?
. b) 5 10 15 c) 5 8 11 14 d) 3w
4w .
56.PP
10. Which of ww w
the w
following class declaration is correct? w
www
©uYÚY]Ytßs GkR C]dÏÝ A±®l× N¬Vô]Õ?
a) class class_name b) class class_name<>

N Neet tc) class class_name: N e e tt ]


d) class class_name[
N
lalai.i. l a
l ai .i. l a
l i
a
assaa d d aas saa
daassaa
Kindly send me your P P a a
questions and answerkeys to us : PP da
Padasalai.Net@gmail.coma
ww.. w
w ..
wwww wwww
www.Padasalai.Net - No.1 Educational Website in Tamilnadu

NNe ett N N e tt
11. What type of relationship does hierarchical model represents?
e
lalai .i. a) one-to-one b) one-to-manylalaic).i.many-to-one d) many-to-many
T¥¨ûX Uô§¬ GkR YûL E\ܨûXûV ϱl©Ó¡\Õ?
l a
l i
a
assaa 12. When the first verstion of SQLaawasdd a as saa
aaddaassaa
SQL
ww . P P
. b) 1970
developed?
- u ØRp T§l× GlúTôÕ ùY°«PlThPÕ?
w w .P.P
a) 1986 w w
www
13. Which method free up the resources that were tied with a python w
c) 1992
ww
file?
d) 2008

©uYÚY]Ytßs GÕ Y[eLû[ CûQdLlThÓs[ Y[eLû[ ®Ó®dÏm?


a) remove() b) close() c) delete() d) pop()

N Nett
e N Neett
14. SQLite falls under which database system?

lalai.i. l a
a) Flat file database system
l i
a .i. a i
b) Relational Database system
l l a

et
assaa s aa
s s aa
s
c) Hierarchical database system d) Object oriented Database system

aaddaa
GkR RWÜjR[ AûUlûTf NôokRÕ?
ad
a a
d a
. PP
a)Jtû\d úLôl× RWÜR[m
. . P P
b) E\ܨûX RWÜR[m
.

.N
w
w
c)T¥¨ûX RWÜR[m
w www d) ùTôÚsúSôdÏ RWÜR[m
www
15. Zooming in will require
www
úRoÜ ùNnVlThP TWl©û] ùT¬VRôdL Gu] ùNnV úYiÓm?

lai
a) a left click b) a right click c) a left click and drag d) a right click and drag
IIAnswer any SIX of the following questions:(24 is compulsory)

N NeettHúRàm Bß ®]ôdLÞdÏ ®ûPV°:


N Neett 6 x 2 = 12

l a
l i
a .i. 16. What is a subroutine?
l a
l i
a .i. l a
l i
a
sa
assaa ÕûQ ¨Wp Gu\ôp Gu]?
aaddaasaa
s
a a d a
d s
a aa
s
w w . P
17. Why scope should be used for variable. State the reason.
. P
Uô±LÞdÏ GRtLôL YûWùVpûX TVuTÓjR úYiÓm? LôWQm áßL.
w
w . P
. P
wwww w
www
da

18. Define Pseudo code.


úTô-dϱØû\ YûWVß.
19. Write short notes on Exponent data?
Pa

GdvúTô]uh RWÜ Tt± ϱl× YûWL.

NN e
20. t t are the main advantages of function? NNeet t
e
What

l a
l i
a .i. 21. How will you create constructor in Python?
ùNVtá±u Ød¡V SuûULs VôûY?
l a
lai .i. l a
l i
a
assaa a a d da a ssaa
aaddaasaa
s
w.

ûTjRô²p Bd¡ûV GqYôß EÚYôdÏYôn?

w w .
22. What is the differenceP
. P
between SQL and MySQL?
w
w . P
. P
SQL w MySQL
w
Utßm w w dÏ Es[ úYßTôÓ VôûY?
w
w w
w
ww

23. What will be the output of the following code?


©uYÚm ϱØû\«u ùY°ÂÓ Gu]?

NN e e t t
list = [x**2 for x in range(6)]
N Ne e tt
l a
l i
a .i. 24. Write syntax of getopt.getopt() method. lalai.i.
print(list)
l a
l i
a
assaa a
getopt.getopt() ùRôP¬VûX GÝÕL.
a d daas saa
a add aasaa
s
III Answer any SIX of.P P . P P
w w w . ®ûPV°:
the following questions:(33 is compulsory)
w w
w .x 3 = 18
HúRàm Bß
wwwis used for program designing? Define that strategy.www
25. Which strategy
®]ôdLÞdÏ 6

¨Wp Y¥YûUl©p ©uTt\lTÓm Ùd§ GÕ? AûR YûWVßdL.

N Neett
26. Why Access control is required?
AÔLp LhÓlTôÓ GRtÏj úRûYlTÓ¡\Õ?
N N e e tt
lalai.i. l a
l i
a .i. l a
l i
a
assaa d d aas saa
daassaa
Kindly send me your PP a a
questions and answerkeys to us : PP da
Padasalai.Net@gmail.coma
ww.. w
w ..
wwww wwww
www.Padasalai.Net - No.1 Educational Website in Tamilnadu

NN ett
27. What are the rules for creating identifier?
e N N ee tt
lalai .i. 28. Differentiate ceil() and floor() function? lalai.i.
ϱlùTVoLû[ EÚYôdÏYRtLô] ®§Øû\Lû[ GÝÕL.
l a
l i
a
assaa 29.ceil() Utßm floor()
a a d a a s
ùNVtáßLû[ úYßTÓjÕL.
d
aa
s
aaddaassaa
How do define constructor
w w . P
. P and destructor in Python?
w
w .P.P
30. What isw w
the w wof DBA?
ûTjRô²p Bd¡ Utßm A¯l©Lû[ GqYôß YûWVßlTôn?
role w
w w
w
DBA ®u T¦ Gu]?
31. What is the difference between the write mode and append mode.

N Nett
e write Utßm appen d Øû\ûUL°u úYßTôÓ Gu]?
N N e e tt
lalai.i. l l i
a .i.
32. Mention the difference between fetchone() and fetchmany()
a l a
l i
a

et
assaa aa aa
fetchone() Utßm fetchmany() úYßTÓjÕL.
33. What is meant by Memoization?
d da a s s d a
d s
a s
¨û]®ÚjRp YûWVß.
. P
.P a a . P
. Paa

.N
w
IV Answer ALL the
w w w questions:
w w w
w 5 x 5 = 25
Aû]jÕw w ®]ôdLÞdÏm ®ûPV°: w w
34. How will you facilitate data abstraction. Explain it with suitable example.

lai
RWÜ AÚYUôdLm GqYôß ùNVpTÓjÕYôn GÓjÕdLôhÓPu ®[dÏL.

N Neett (OR)
N Neett
l a
l i
a .i. l l i
a .i.
Explain the Bubble sort algoriths with example.
a l a
l i
a
sa
assaa 35. Describe in detail the Procedure aa programming. aa
Ϫ¯ Y¬ûNVôdL ùS±Øû\ûV G.Lô-EPu ®[dÏL.

d a a s
script
d smode
ddaass
. P a a
ùNVpØû\ v¡¬lh Øû\ûU ¨WXôdLm Tt± GÝÕL.
P
. loop. . P
. Paa
Write a detailw w w (OR)
w w
w
ww www
da

for loop w
note on while
Tt± ϱl× YûWL.
36. Explain about string operators in python with suitable example.
ûTjRô²p TVuTÓm NW ùNVtϱLû[ RÏkR G.Lô.-EPu ®[dÏL
Pa

NNeet t (OR)
N N e e tExplain
t with suitable example.
l a
l i
a .i. list
What the different ways to insert an
a
element
l lai .i.
in a list.
l a
l i
a
assaa 37. Explain the different typesaaofdddata saa
aasmodel. s aa
s
p JÚ EßlûT úNolTRtLô] TpúYß Y¯Ls VôûY? G.Lô.-EPu ®[dÏL.

a ad a
d a
w.

w w . P
. P
RWÜ Uô§¬«u TpúYß YûLLû[ ®[dÏL.
ww . P
. P
Considerw
ww employee table. Write SQL commandswforthe
wfollowing (OR) w
wwqtns.(i) to (v).
ww

the
¸rLôÔm T¦Vô[o AhPYûQûV LÚj§p ùLôiÓ ©uYÚm ®]ôdLÞdÏ

NNe et t CODE NAME DESIG NNeePAY


®ûPV°. t t ALLOWANCE
l a
l i
a .i. S1001
EMP
l a
lai.i. 29000 12000 l a
l i
a
assaa ssaa s aa
s
Hariharan Supervisor
P1002 Shaji
a a dda a
Operator 10000 5500
ad
a a
d a
P1003
w . P
Prasad
w P
. Clerk Operator 12000 6500
ww . P
. P
C1004
M1005 w w wwRatheesh Mechanic
Manjima 8000
20000 w w w w7000
4500

(i)To display the details of all employees in descending order of pay.


Aû]jÕ T¦Vô[oL°u ®YWeLû[ AYoLs ùTßmNmT[eL°u C\eÏ

N Neett Y¬ûN«p Lôi©dL.


N N e e tt
lalai.i. l a
l i
a .i. l a
l i
a
assaa d d aas saa
daassaa
Kindly send me your PP a a
questions and answerkeys to us : PP da
Padasalai.Net@gmail.coma
ww.. w
w ..
wwww wwww
www.Padasalai.Net - No.1 Educational Website in Tamilnadu

NNeett N N ett
(ii) To display all employees whose allowance is between 5000 and 7000.
e
lalai .i. (iii) To remove the employees who are mechanic.
l l i
a .i.
5000 ØRp 7000 YûW ùTßm Aû]jÕ T¦Vô[oL°u®YWeLû[ Lôi©dL.
a l a
l i
a
assaa Mechanic
aad da assaa
YûLûV NôokR T¦Vô[oLû[ ¿dL.
aaddaassaa
w w . P
.
(iv) To add a new row. P w
w .P.P
w w
wwwthe details of all employees who are operators.www
JÚ ×§V Y¬ûNûV EÚYôdL.
(v) To display
operators YûLûV NôokR Aû]jÕ T¦Vô[oL°u ®YWeLû[ Lôi©dL.

N Nett
e N eett
38. Write a Python program to execute the following c++ coding
¸rLôÔm £++ ¨WûX ùNVpTÓjR JÚ ûTjRôu ¨WûX GÝRÜm.
N
lalai.i. #include <iostream>
l a
l i
a .i. l a
l i
a

et
assaa s aa
s s aa
s
using namespace std;
int main()
aaddaa ad
a a
d a
{
. P
.P . P
. P

.N
w w
w www
www www
cout<<“WELCOME”;
return(0);
}

lai
The above C++ program is saved in a file welcome.cpp

N Neet t (OR)
N Ne ett
l a
l i
a .i. l l i
a .i.
What are the key difference between Histogram and
a
Bargraph.
l a
l i
a
sa
assaa aa aa
ThûPYûWTPm Utßm ¶vúPô¡Wôm úYßTÓjÕL

d daa ss ddaass
. P
. Pa a . P
. Paa
w w w w w
w
www www
da
Pa

N Neett N Neett
l a
l i
a .i. l a
lai .i. l a
l i
a
assaa ad
adaassaa
aaddaasaa
s
w.

ww. P
. P w
w . P
. P
w
www w
www
ww

N Neett N Neett
l a
l i
a .i. l a
lai.i. l a
l i
a
assaa aaddaasaa
s
ad
a a
d s
a aa
s
w
w .P. P w
w. P
. P
w
www w
www

N Neett N N e e tt
lalai.i. l a
l i
a .i. l a
l i
a
assaa d d aas saa
daassaa
Kindly send me your PP a a
questions and answerkeys to us : PP da
Padasalai.Net@gmail.coma

You might also like