Escolar Documentos
Profissional Documentos
Cultura Documentos
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
(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
(9x2=18)
6. Find outthe binary and octal equivalents 6 5 oOCm oolmi oafl oruoolJE; ro6'rDeelJoca.)
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.
oroglcoJlao3a.
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 )
13. Rewrite the following for loop using IJ. ,rJotos acern3cm C++ oel for el3flom
while eIJHV gotcoo.rccnlgioc6loco.rv3co;a.
while looP in C++
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
PART. C olc63: m1
t8. Withthe help of logic circuit, showthat 18. NOR GcnB golcoo.rccnl4' eru3gilcorcO
I 9. Write any three registers inside the CPU 19. CPU ollm3ggiloel ogorooleleo o3cm"
Explain the three Upes of errors that 22. G LCLJ c L@c oJ€,d (fl mlore oJl ael3cm o Jcrn" (o oo
invalid in C++. Identiff them and write oo6lolcfllonaoro3egild aJl erriri C++ afl
a) cpp b)
a) cpp b)
c) void d) c) void d)
e) a#b
e) a#b
A B A B
(a) abs 0 (a) abs 0
(b) isalphaO (b) isalpha0
(c) Strcmp0 (c) Strcmp0
28. What is the role of primary memory in 28. acruggcjlo? oololool oomcjlcor3os ul6mo
oilorc1aet3a.
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.