Page 1
lr.
(
!
b
ANSWTJR KHY
FI ItS-I- YEAII Il I G IIIiR SE(IONDAltY l!XA \t I NAI'lONS, N'l Altcll 2025
PAITT III
S U BJEC'I' : (10 t\'l PUl'tiR SCI FINC I,.
CODE NO: F\'330 VFIRSION:l)
60 SCOR E 2 HOTJRS
Sub T^r..-i
Qn.
Answer i(ey/Value Points Score
No Score
1 AI lD Gate 1
) So urce Code 1
3 stater1lent erTrr0r 1
4 6 1
5 0 1
6 adclress I
7
a. lectronic Numerical lntegrator and Calculator i 2
b. Scalc I l()n 1
I
I
,-.,',l!. , -..
ilftl:
{$Ilr+lt,in,r
,r-l.t l:., j ".i ii.,j1..,r ll,,ll
'I 3" tt$ri,I.'1*
'
(, 2
t 101 1) = 1P1 01 l
.53 l
&-
. (53)t
q
2
01iJ-0010 1011
,.2 11[r]J 1,
= [2B)rr,
managenrent, Memory ntanagernent, File Y2 score
10 2
e Dcvice each
I
Cc"f,
Page 2
L--
'b
P"y Ex&YDPIQ s ccn also !e ccnsidrre)
11 Error - It occurs when rules/syntax of 1
progranrming language are not followed.
2
Logical Error - It occurs due to imp;per planning of the
1
losic.
I : Start
Step 2 : N=100
Step 3 : Repeat 4 a nd 5
ft
12
4: Print N
5 : N=N-1
0 lkt c1, r /t- 2
6 Yz
Yz score
i3 signed, unsigned, Iong, short
Each 2
14 Traversal, Sorti lnsertion, Deletion 7z score
.oin c @ry I
each
2
1
15
D 2
cases 1
a. Call by value (Pass by value
) method
In this method, copy of rh e actual argume nt IS
passed to the functi on. llen ce, if th e formal
1
16
b 2
en an argument is passed by ret'erence, the
,ofthe actual argument is passed 1
to the
ction. So, if the forrnal argument is modifiecl within
function, the change will be I.eflected in
U is divided into three parts.
Network protocol
Domain name t rnoa&- * \
File nante 1
I7 mple : Consider the URI_ )
/www.dhsekerala.gov.in/index.html |
protocol - http --
,,J- |
1
domain naLme - www.dhsekeiala.gov,
file name - index.html
,/
people together, plan anrj organise events, % score
1B ESS ial ski each
&
l
Page 3
/v
--T and expl anation of any 3 methods for
-l'
nting a character I
19 II, ISCII, EBCDIC,UNICODE)
I 3
t
N only. - t7, score each
N with explanation - 1 score each
To that X+(Y.Z) = (X+Y) . (X+Z)
take the expression orr the RHS of this statement.
(x *z)
+Y) . X + (X+Y) . Z (Distribution oFmultiplication 6.
over division)
= X . (X + Y) + l. (X +YJ (Cornrnutative Law)
= X. X + X.Y + Z.X + Z.y fDistribution of
3i
nta
multiplication over divisionl
20 = X + X .Y -t'/..X t Z.y (ldernpotent Law) O:+
=E 3
= X. 1 + X.Y t 'l .X t 7.. y (Multiplicarive lclentiry) cD
= X. (1+Y) + 7..X + Z. Y (Distribirtion of
J9
rnultiplicatir.rrr over clivisirrtr ) to
= X. I + 7,.X t'1..Y
[Addirive lde.nriry) vt
= X. (1+Z) + Z .Y (Distribution ol
multiplication over division) o/
X.l + Z ,Y (Additive ldentiry) o.
X + Y. Z (Multipl oJ
nok e (('{t
ope rati n g System - Linux, Windows
21
ication Package - Open Office Calc, OpenOffice lz score
3
Writer each
a)
'," '1_*" ',- ,.'
.. .. ... .t. ...i
N=1
PRINT TJ
2
t
i
N=N+1
)) -J 3
YES
ts
N<=102
NO
STOP
9 t)P*F€'r $[nobo.[s- I
'it\ P*p"'r fo6te
tl
b) ^t
3
\
___]_ __ f "/p'. I -
Page 4
%
I
6r - Special character is used 1L
?3
dl - first character is di 1lz
Yr, Reosarr-) a
3
Casting
the type conversion done by tlre ltrogranrrner. IL is
known as tlxplicit type conversion | 1/z
Lt+ .J
Pronrotion
s the type conversion done by the C++ conrpiler ,lt 7 1/z
is asl licit Is io n.
ecrrr be ,i)
While
int )
t
int i;
i= 1;
whileIi<= 10)
It
cout<<i;
i++;
llz lYz
)
return 0;
)
25 do. ...while loop
int o
{
int
i=1
do
t
i; l[- 1. 1/z
-)
) e[i<= 10)'
0;
1 : Start
2 : Accept N as the number of elentents of the array
3 : Accept N elements into the array AR
4: Repeat Steps 5 to 7, (N - 1) rinres
5: Ilepeat Step 6 until the second last elenterrt ol'
thc
6 : Starting from the first position, compare two
26 3
elentents in the list. IIthey are
not proper order, swap the eletnents
7 : Revise the list by excluding the last elenrent in
the I ist.
B : Print the sorted array AR
Ste Stop F
Jlu.sti,*[- t/, ile
o{
e"*r*J PY^r,", - fiirte $"Xl eare '
Page 5
L,
get( J -'l'his firnction is usecl to accept ffir#e
I
Wstringt
through the keyboard ,
27 getline( ) - This function is used to accepts a 3
st ri ngtlrror{gbt\s$e3Aer* Aav rrO0
Ju{iral} etoaJoc er Speci$A 6rrurnbor 1
eJloslu.J}.DS '
c. write[ ) - This function displays the string
contained in tlre t.
strcpy( ) - This function is used to copy one
string into another. 1
b. pow( ) - This function is used to find the power
of a nurnbcr.
LO 3
c. islower( ) - This fuuction rs irsed to chcck
whether a characte r rs irr lower case (snrall 1
letter o r not.
{e erplanc.Lio - t eaclrt 'h r,d)
Speed - An e-rnail is delivered instantly to any location
across the globe.
Easy to use - We can send, receive, organise and save
e-mail easily on our computer.
Provision of attachments - This feature allows to send
Z9
pictures, files, documents, etc along with e-mail.
Environment friendly - e-mails do not use paper, thus
save a lot oftrees.
Cost-effective - When compared to fax or conventional
1+i+1 5
mail, e-mail is less expensive
e refers to electronic products nearing the end of 1
the "useful life'. (or discarded elcctronic products)
- It re[ers to scconcl hand usc or usage altcr I
rnod ification or u pgraciatior.r.
- lt is the process of nranufacturing new I
30 5
i r.r inci nerators at a 1
filling - Burying under soil 1
score each
<iostreanr>
namespace std;
int t)
{
int copy, digit, rev=0;
"Enter the number: ";
31 num; 5
(nurn l- 0)
{
= num 7o 10;
rev (rerz + l0)r drgit;
II = nuur/ 1 0;
Page 6
>v
e.";
Correct program structure ( 1 score)
Usage ofloop (1 score)
'i'he way in which the nodes are physically
interconnected to forrn a network is called a
Topology.
1
Major topologies are bus, star, ring and mesh.
32 5
4
[Name only - Yz score each)
(Name with explanation - 1 score each
CftCa+e on{q - Tr.qecne eo.l)
S /- J oc,,^r\ 'r tl J r, )'f* .
I it o 3 I x|:Iel olql
1
2 ,BoBB7 P,t 9 fuznri= tB, 7ffi
fr|(t9Sut<
.tu)b t qg+4071/lg
3 . Rlinvn ohar1.C. ,a*
C--'- N,n H 9S . ThtrrL\\navctfi&
q++Y L (BB&o
h, rl M/n {,r f,r,,, rroLg R,€ 99 'u)?s *S\ Qo*,Ar.r , 1gg(Sgl B e(
E, SL21'^' 'Y G{. SMHSJ PdL*n- , q4115ss36cl
( R.cY {c, rTH 3r, Auo"t5luj A9l , *ce +q L€11gq
nnuRv, 't
\4
E,
+ Bt^ftv,^o ^rT v Mo", V,r.rn [J' S-i, qq,96o c.f
M ar^.[rq. crna, l.a6y-rtf