Trending ▼   ResFinder  

ICSE Class X Board Exam 2019 : Computer Applications (Hiranandani Foundation School (HFS), Thane)

6 pages, 7 questions, 0 questions with responses, 0 total responses,    0    0
Tubhyam Mehta
Shishuvan English Medium School, Mumbai
+Fave Message
 Home > tirth7683 >

Formatting page ...

COMPUTERAPPLI CATI ONS ( The o r y) ( Twoho u r s ) Ans we r st ot hi sPap e rmu s tbewr i t t e no nt hep ap e rp r o v i de ds e p ar at e l y. Yo uwi l lno tbeal l o we dt owr i t edu r i ngt hefi r s t1 5mi nu t e s . Thi st i mei st obes p e nti nr e adi n gt hequ e s t i o np ap e r . Thet i megi v e natt h ehe ado ft hi sPap e ri st het i meal l o we dfo rwr i t i ngt heans we r s . Thi sPap e ri sdi v i de di nt ot woSe c t i o ns . At t e mp tal lqu e s t i o nsfr o mSe c t i o nAanda nyfo u rqu e s t i o nsfr o mSe c t i o nB. Thei nt e nde dmar k sfo rqu e s t i o nso rp ar t so fqu e s t i o nsar egi v e ni nbr ac k e t s[] . SECTI ONA( 4 0Mar k s ) At t e mp tal lqu e s t i o ns Qu e s t i o n1 . ( a)Nameanyfi v et o k e nso fJ av a. [ 2 ] ( b)Whati sanar r ay?Wr i t eas t at e me ntt oi ni t i al i z eanar r ay. . [ 2 ] ( c )Whati sap ac k age ?Gi v et woe x amp l e s r [ 2 ] ( d)Wr i t eane x p r e s s i o ni nJ av afo rt anx-2 3 ( e )Whati st her e s u l tp r o du c e dby2 6 0 * 3+1 0 0 /1 1 ?Sho wt hes t e p s . [ 2 ] Qu e s t i o n2 ( a)Whati st hedi ffe r e nc ebe t we e nc al lbyv al u eandc a l lbyr e fe r nc e ?[ 2 ] ( b)i ntx=3 0, y=1 0 , z ; Wha ti st hev al u eo fzi n z=--x*( y )+y? Sho wt hes t e p s . [ 2 ] ( c )Whati st hep u r p o s eo ft hefo l l o wi ngo p e r at o r s?[ 2 ] 1 . Fi nalo p e r at o r 2 . Ne wo p e r at o r ( d)Gi v et heat t r i bu t e sr e qu r e dr e dt oc r e at eac l as s . [ 2 ] ( e )St at et hedi ffe r e nc ebe t we e ni f-e l s ei fl adde rands wi t c h . . . c as e . [ 2 ] Qu e s t i o n3 ( a)Ex p l ai nt hec o nc e p to fc o ns t r u c t o ro v e r l o adi ngwi t hane x amp l e . [ 2 ] ( c )Whatwi l lbet heo u t p u to ft hefo l l o wi ngp r o gr ams e gme nt s ? ( i )St r i ngs= ap p l i c at i o n ; i ntp=s . i nde x Of( a ) ; Sys t e m. o u t . p r i nt l n ( p ) ; Sys t e m. o u t . p r i nt l n ( p +s ) ;[ 2 ] ( i i )St r i ngs t= PROGRAM ; Sys t e m. o u t . p r i nt l n ( s t . i nde x Of( s t . c har At ( 4 ) ) ) ;[ 2 ] ( i i i )i nta=0 ; i f( a> 0&&a< 2 0 ) a++; e l s ea=a+3; Sys t e m. o u t . p r i n t l n ( a) ;[ 2 ] ( i v )i nta=5 , b=2 , c ; i f( a> b| |a!=b) c=++a+--b; Sys t e m. o u t . p r i nt ( c + +a+ +b) ;[ 2 ] ( v )i nti=1 ; whi l e ( i ++< = 1 ) { i ++; Sys t e m. o u t . p r i nt ( i+ ) ; } Sys t e m. o u t . p r i nt ( i ) ;[ 2 ] Qu e s t i o n4 a. St at et hej av ac o nc e p ti mp l e me nt e dt hr o u gh[ 2 ] 1 . Fu nc t i o no v e r l o adi ng 2 . As u p e rc l as sands u bc l as s b. Whati sJ VM?Ex p l ai n[ 2 ] ( c )Whati st hep u r p o s eo fde fau l ti nas wi t c h?Ex p l ai nwi t hhe l po fane x amp l e . [ 2 ] Qu e s t i o n5 . ( a)St at et henu mbe ro fbyt e sandbi t so c c u p i e dbyac h ar ac t e rar r ayo f1 0e l e me nt s . [ 2 ] ( b)Di ffe r e nt i at ebe t we e nObj e c to r i e nt e dp r o gr ammi ngandPr o c e du r al Or i ne t e dPr o gr ammi ng. [ 2 ] ( c )Whati st heo u t p u to ft hefo l l o wi ng: St r i nga=" J av ai sano bhe c to r i e nt e sp r o gr ammi ngl angu age\ni nc l as s\t \1 0s yl l abu so fc o mp u t e r ap p l i c at i o ns \' " ; Sys t e m. o u t . p r i nt l n ( a) ;[ 2 ] ( d)Di ffe r e nt i at ebe t we e nbr e akandSys t e m. e x i t ( 0 ) . [ 2 ] ( e ) Wr i t eas t at e me nti nJ av afo r ( + ) * 4[ 2 ] ( f)Whati st hev al u eo fmaft e re v al u at i ngt hefo l l o wi nge x p r e s s i o n : m-=9 %--n+++n/2*nwhe ni ntm=1 3 , n=6[ 2 ] ( g)Pr e di c to u t p u to ft hefo l l o wi ng: ( i )Mat h. p o w( 2 5 , 3 ) +Mat h. c e i l ( 6 . 2 ) ( i i )Mat h. r o u nd(1 7 . 7)+Mat h. fl o o r(9 )[ 2 ] ( h)Gi v et heo u t p u to ft hefo l l o wi ngj av as t at e me nt s : ( i )" TRANSPARENT" . t o Lo we r Cas e ( ) ; ( i i )" TRANSPORT" . c o mp ar e To ( " TRANSI TI ON" )[ 2 ] ( i )Wr i t eaj av as t at e me ntfo re ac ht op e r fo r mt h efo l l o wi ngt as k : ( i )Fi ndanddi s p l ayt hep o s i t i o no ft hel as ts p ac ei nas t r i ngs t r . ( i i )Ex t r ac tt het hi r dc har ac t e ro ft hes t r i ngs t r . [ 2 ] Qu e s t i o n6 . ( a)Namet hefo l l o wi ng: ( i )Ak e ywo r du s e dt oc al lap ac k agei nt hep r o gr am. ( i i )Anyo ner e fe r e nc edat at yp e . [ 2 ] ( b)Whatar et het wowayso fi nv o k i ngfu nc t i o ns ?Gi v et headv ant age so fu s i ngfu nc t i o ns. [ 2 ] ( c )St at et hedat at yp eandv al u eo fr e saft e rt hefo l l o wi ngi se x e c u t e d: c harc h=" x : ; r e s =Char ac t e r . t o Lo we r Cas e ( c h) ;[ 2 ] ( d)Gi v et heo u t p u to ft hefo l l o wi ngp r o gr ams e gme ntandal s ome nt i o nt henu mbe r o ft i me st hel o o pi se x e c u t e d: i nta, b; fo r( a=6 , b=4 ;a< =2 4 ;a=a+6 ) { i f( a%b==0 ) br e ak ; } Sys t e m. o u t . p r i nt l n ( a) ;[ 2 ] ( e )Wr i t et h eo u t p u t : c harc h=' z ' ; i ntm=c h; m=m3 0; Sys t e m. o u t . p r i nt l n ( m+""+c h) ;[ 2 ] Qu e s t i o n7 ( a)Whatar et hede fau l tv al u e so fp r i mi t i v edat at yp ei ntandfl o at ?[ 2 ] ( b)Nameanyt woOOP sp r i nc i p l e s . [ 2 ] ( c )Whatar ei de nt i fi e r s ?[ 2 ] ( d)I de nt i fyt hel i t e r al sl i s t e dbe l o w: ( i )0 . 5( i i )' A'( i i i )fal s e( i v )" a" . [ 2 ] ( e )Namet hewr ap p e rc l as s e so fc hart yp eandbo o l e ant yp e . [ 2 ] Qu e s t i o n8 ( a)Whi c ho ft hefo l l o wi ngar ev al i dc o mme nt s ? ( i ) /*c o mme nt * / ( i i ) /*c o mme nt ( i i i ) //c o mme n t ( i v ) * /c o mme nt* /[ 2 ] ( b)Whati sme antbyani de nt i fi e r ?St at eanyt wor u l e sfo rnami ngt he m. [ 2 ] ( c )Namet hep r i mi t i v edat at yp ei nJ av at hati s : ( i )a6 4 -bi ti nt e ge randi su s e dwhe nyo une e dar angeo fv al u e swi de rt hant ho s e p r o v i de dbyi nt . ( i i )as i ngl e1 6 -bi tUni c o dec har ac t e rwho s ede fau l tv al u ei s' \u 0 0 0 0 . [ 2 ] ( d)St at eo nedi ffe r e nc ebe t we e nt hefl o at i ngp o i ntl i t e r al sfl o atanddo u bl e .[ 2 ] ( e )Fi ndt hee r r o r si nt hegi v e np r o gr ams e gme ntandr e -wr i t et hes t at e me nt sc o r r e c t l yt oas s i gn v al u e st oani n t e ge rar r ay. i nta=ne wi nt ( 5 ) ; fo r ( i nti =0 ; i < =5 ; i ++)a[ i ] =i ;[ 2 ]

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2025 ResPaper. Terms of ServiceContact Us Advertise with us

 

tirth7683 chat