Você está na página 1de 7

HSSLiVE.IN HSSL|VE.IN HSSLiVE.IN HSSLiVE.IN HSSLiVE.

IN

I
I llilil lt]t lt il llillll llll
FSE, 30
FIRST YEAR HIGHER SECONDARY
SECOND TERMIf{AL EVALUATION : DECEMBER-20l8
Part-III
COMPUTER SCIENCE
Maximum : 60 Scores
Time :2 Hours
-Cool-offTime : 15 Minutes

General Instrwctians to Candidates:


. There is a 'Cool off time' of 15 minutes in addition to the writing time.
.. Use the 'Cool off time' to get familiar with questions and to plan your answers.
. Read questions carefully before answering.
. Read the instruotions carefully.
. Calculations, hgures and graphs should be shown in the answer sheet itself.
. Malayalam version of the questions is also provided.
Give equations wherever necessary.
. Electronic devices except non programmable calculators are not allowed in the Examination Hall.

all ascd can?adeaSg aoJ c ouo? 6ag cnart cfr :


. crflaglou's moaDorolcric.tJooo 15 olcr,18 '6aca Bco-o'ooso'Q6'rBccoIlolae;3o
. '&a(i 5lco.o',ooso'GoJcr:;or:c0 orrol-o-rco.rogsctDlo 9(6ro(o6TBCa C@Cru31(O5'rno OoJQCmlo
goJGa)C(/)lAOJ&.
. pofo066Bri o61v3ro3cm@lcri oJrnJ" G4JcBJsoBca 6gr:uco.i36c!o olccoildo6,Do.
. cnlOcgcroond o3v3octrJo 6gr:lcot36Qo oJcoIldo6rDo
. A5'IDdo- eASeJJAcb, e.Itro6r3c0, [cnconJ6c6, ogcmlol 2onDoccrJgolafl rDoffD
p6rBcarlol€5)6fl"ro.
. GeJcGJoBcB oerco.rcgomfl e.r3o mnflalcoflgerre".
. GIooJcoJoJSB crunelorD" m)oolceJ50Bca oacsJ€o6rfro.
. GLotclooco3euc0 ooJqccneolcom acaflaer3ceJBoJalcA avloacor3Sg 53oJ

peta"clscenia" gotao6'rnoJJo olrdlasc oocdilrtfl 2orc@ccDlcer3cucot o-tcslg.

FSE 30 Computer Science 1/7


HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN HSSLIVE.IN HSSLiVE.IN

PART.A otc65 oO)

Answer allquestions from l to 5. Each carries ro3rorafl 5 oJooco3eg €)Hc corcn;ounrflao3o

goro gJo)Je. 6]cG oc crnl m3o r ml"cac 6 o-11 ro o.


I score. ooo

(5x1:5)

1. er3orosoacs3<omllallao3cmcucoilcflo€l6clSo
1 . Which ofthe following is the largest two
o: eJl co o6ng6o oooa"m.lcocr.r-lmf oafl c[uoo])
digit hexadecimal number?
n€l<o"?

a) 99 b) AA
o0)gg (5nJl)AA

c) 16 d) FF
(m1) 16 (aD1) FF

2. Draw the flowchart symbol that has one 2. AO3 (cLlCOlCOm COrOlO.Uo 06IIB" CrrlaCnOm

- cnoflago3gg on"cAc orcaSollorno oJo$3e


entry flow and two exit flows.

3. C++ oel ogroi cucgcoosgfmcern" oooool


3. Which data type in C++ does not require
<o'lg)cucnJolgcrorooi t
memory?
4. Int num[20]; o6crn C++ rotooocoJloet
4. How can we refer to the last element of
(610c)Jm)cmooro Gro0@oofo

the C++ anay int num[20] ;?


ot oco 6co1 aer3crnocosuBocn ?

5. eJ3cuos 6c6'mlcrn C++ o-Oo@"oucr?


5. How many parameters are there in the
G(orcc3coosd(fl o€x(D olcocdl6o3agene't
following C++ trY1.1ion prototYPe?
int sum(int, int) ;
int sum(int, int);

FSE 30 Computer Science2lT


HSSLiVE.IN HSSL|VE.IN HSSLiVE.!N HSSLiVE.IN HSSLiVE.IN

PART.B orc6gi enJl

o o3rorifl 16 cuooco;3gg colcn;mglafl q,€Jo@Ejlel3o


Answer any NINE questions from 6 to 16.
Each corries 2 score. (9x2:18) arruoio6p;g<omilcrigomoooeJoJA. z mitac6 o-llroo

(9x2=18)
6. Find outthe binary and octal equivalents 6 5 oOCm oolmi oafl oruoolJE; ro6'rDeelJoca.)

of the decimal number 65. ooen:mo'I, oa"safl crDooxJec6

aene3o-fldlao3a.
7. Find the 2's complement of -3 8 (negative
7. -38 (Om(/)B"lOl" sa) ocft z's caco6floocfr
3 8). asne3alldlao3a.

8. Write aty one statement of 8. eru3glco.rcfr coc0dl(eolccoJloscacogJoocficjl

orurol ocft ogo<o u1 euo o c oa cBccu cD


complimentary law in Boolean algebra crfl cor tctJ

and prove using truth table. o61v3ofl tsac6'ro" csenLlcB golecolccrfl 9;

oroglcoJlao3a.

9. Readthe following C++ statements and 9. erJcuos ocsm3crn C++ eg6"oocfl3aci


predictthe output.
cuccoilgfot5'o-133 i.,-lcuoJlao36.
int a:7 ,' b:2; int a:7, b:2
float c:a/b; f loat c:a/b;
cout << c << '\t' << a%b;

10. Identiff and correct the errors in the 10. eJJoJos oacs3rmololaer3cm C++
following Q** program elo-lclcncoloo onr63ac0 aoenccorol
cnolcorcael3a.
#include (iostream)
using namespace; , #include (iostream)
using namespace;
i-nt main ( ) int main o
{
{
cout >> "heIlo worl-d" cout )> "hell-o world"
return; return;
i )

FSE 30 Computer Science 3/7


HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN

11. Write down the data type modifiers of


11. c++ oer ru.lc6coosg[ coconloncoo3aco
o€)e3@3e.
c++
72. C++ oel break, continue cgl6"oocQjac6
12. Distinguish break and continue
statements in C++ when used within er
Ed maggl nfl 9.'l cco)ccnl ao3c mr c aJgB
orJoJccruoocm-?
loops.

13. Rewrite the following for loop using IJ. ,rJotos acern3cm C++ oel for el3flom
while eIJHV gotcoo.rccnlgioc6loco.rv3co;a.
while looP in C++

for (n:1, s:0; n(i0;n++; for (n:i, s:0; n<10;n++)


. ^A-h.
D I l,
. ^I-- l-f
D 1, -f '

rorociojlns@5uBgJos CE oc6ao3ec6 cp;c6


14. Declare anarray in C++ to store the CE 74.

itwith
- oetgccnJgg ooJ to'ooo C++ trfl cul6cor6
marks of six subjects and initialize
o-cr co.ft o" ralo o1 nfl cn1 err: g3sl s C E oc 6ao3ac0
yourCE marks.
r.oJ Coord oJl el agccofl ccrool o1 ao3a

15. How does binary search method differ 15. ooooco.rlnfl rolocorafl 1ol1a1co.rg;coofl
from iinear search method when they are por ccorccrlaoJcm oo6'D mo1 ocru64[ nfl ot1

used to perform search operation in eflmlcorcd ocru64" o1ro1co.rlnfl m1cm3o


arrays? cu J@JCTJJ o ce3crn oi o6; eTia o m t

16. Distinguish call-bY-value 16. o-o o@"osl ac $ o crjl megg


c0

accfl -oosu -otcels dofl co.r3o acri-ooeru-


call-by-reference method
oon oc6crd rdl oil co.r3o roml etlAg
calling.
oJJrDJCcruooeS(DJe.

PART. C olc63: m1

Answer any NINE questions from 17 to 27. tr o3o<rfl 27 oloocoJgg co-lce;eongJcfl


(9x3-27) o63oroa1 a3o 6icm(Dv o€)q3o'toflcdg<orotoooesoJe'
Each carries 3 score.
aceoccrrjlm3o 3 m'aac6 o-ikoo. (9x3:27)
17. 'Draw the diagram of Von Neumann
oersmcol3os
architecture of computer and mark the
77. am.rggcjlocfi ccr.:cffi mgocc6
coolcollltoo cLo2[" nelsaoe(A
components.
GrdsojcgoHSJOI0)J&.

FSE 30 Computer Science 417


HSSLiVE.IN HSSL|VE.!N HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN

t8. Withthe help of logic circuit, showthat 18. NOR GcnB golcoo.rccnl4' eru3gilcorcO

ooriglteuccoloel cetcglaeinfl AND


NOR gate canbe usedto express logical
acg coov c0 roooi og"ao1 doccnccu Ja o crn"
AND operation in Boolean algebra.
c erceloi ml6ag$ ocf, cruooco.teorocos
o<o$ooJlao3a.

I 9. Write any three registers inside the CPU 19. CPU ollm3ggiloel ogorooleleo o3cm"

and speciff their functions. oelp;o3agJos coloov3ruf 6loolcolJos


o6ooo crugoJlgflaei3a

20. acgco6looo' mn gorDlocfl o6orool el3o


0 Explain any three functions of operating
ogcrn" o0ooorBcA oisooocao3e.
system.

27. crooJoolo N m)coco6rn cruooJ)oc6


)1 Draw the flowchart to display the first N
1ot nO cn1 g] aer3crnol m3gg oo"e gcol c63
natural numbers.
orogJa.

Explain the three Upes of errors that 22. G LCLJ c L@c oJ€,d (fl mlore oJl ael3cm o Jcrn" (o oo

occur in programs. oro63ac6 oJl cro r5l anil aer3e.

:23. Some of the following identifiers are 23. 4JJcuos oacs3romlolaei3crn

invalid in C++. Identiff them and write oo6lolcfllonaoro3egild aJl erriri C++ afl

the reason for invaliditY.


Grom)coJoJc5m". roool ooene<orol
Grocrucu)8(og39g acoemooeJ(u)Je.

a) cpp b)
a) cpp b)

c) void d) c) void d)

e) a#b
e) a#b

24. -cJlet m.rea6reoe$nfl if - else cggtrocrf,lcri


24. With the help of an example, show that
switch statement cafl be used instead of crJ&oo switch 2cueco.rccnlaercoocrn"
if-else statement in some situations.
gCQoOO6m mrorfl roo cu JarDocdoSe.

FSE 30 Computer Science 5/7


HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN HSSLiVE.IN

25. Write an algorithm to perform bubble


2s. ao3 rorooocollnfr euenJlc6 cm;c63 acgcoogca
msorirr3cmofl cnjgg crocfl o(/)coll(d)o o€)e3(u)t6-
sort operation in aflarray.

26. str[20] o6cm a5coa"s6 oroooao/ltd ao3


Suppose the statement cin >> strl is
cruidl oai pc6ol33 ool g coa cin>> str; oocrn.
usedto input a string in a character array
cg6oocfll golcco.rccnl€oJcm3 n6cm:
str[20]. What can be the problem in this
6OJ(oJ&. p"C tctJGa)c(/)(6ro1oa (ctJggo
usage of input? Explain how getlineQ

function helps to overcome this oooorcco.flolaei3o ? pc toJwo coo6mo

problem. oolqccr? getline 0 onocn"oucra o6loeom


cruoocQo & oc(sJcrna o€)cm" oil croo oc6oJa'

27 . Indentiff the header frle from column B


27. Gecgo A co.flog ocGoc ono@"o9cDlo

(RtoorsoJoca) ooocura c6c9o B 0orlo?


"nconfl
for each function given columnA:
crllcm3o ao6['reol6)J6.

A B A B
(a) abs 0 (a) abs 0
(b) isalphaO (b) isalpha0
(c) Strcmp0 (c) Strcmp0

PART.D cr-tc63i cu1

2a o3ronfl 3o oJooaDSgg colcra;eongJnfl


Answer any TWO questions from 28 to 30.
ogororal er3o o6rB" gorooooeJ(6)Je.
"Ow,*ojlnt
Each carries 5 score. (2x5=10)
accoccrnlmeo 5 m'GAcO oftoo. (2x5:10)

28. What is the role of primary memory in 28. acruggcjlo? oololool oomcjlcor3os ul6mo

computer? Briefly describe the three o€)cro" ? oecm" (ooo oololool


types ofprimarymemory. o ooool ao gaer3o1al" mloaMqol occo't1

oilorc1aet3a.

FSE 30 Computer Science 6/7


HSSLiVE.IN HSSL|VE.IN HSSLiVE.IN HSSLiVE.IN HSSLiVE.I[J

Write any two characteristics of 2s. (nOl) rsEcflo(/)coloro'm:locfl ogoroolel3o


oena"cruollccoog@ac6 oOeJ@36' (2\
algorithm. (Score : 2)
(enJl) ao3 m)oolJ potlp oolcolkn"cnoflocf,

.b) Write an algorithm to inPut a on c cq co1 co nfl asne3oJl s1 aer3rm<o1 mJgg

roronfl ocncol roo o$)9JtDla.


number and find its factorial.
(crugolm: 2ecooo6moccofl. N o6cm

(Hint: Factorial of a number, saY N, is oruooJ)o3os ooccqcolaorcfl, 1 o3ronfl N

oloooD8gg mooJ)e$Jos @J6mff)o-0Elo


the product of numbers from 1 to N.)
oroaroldo3o.) (3)
(Score: 3)

3 0. Write the C# progam to input a number 30. Ao3 m)oalJ pmues oolaor"an" ronoi

orcellc'0cto.t-rco otolcemcocotcmV
and check whether it is palindrome or
orol ccrocu-fl oer3crnnfl mJBB C++ c(oJcLclrco

not. o€)eJ(DJe.

FSE,30 Computer Science 7/7

Você também pode gostar