sample-8_ip.doc
TRANSCRIPT
-
8/10/2019 Sample-8_ip.doc
1/5
Sample Paper 2011
Class XII
Subject Informatics Practices (065)
Theory
Time: 3 hours Maximum Marks:General Instructions:
1. Question paper contains total 7 questions.2. Marks are show against each question.
1. (a) Name the protocol use !or sening an recei"ing e#mails.1
($) %e&ne the !ollowing 1i. 'au ii. 'ps
(c) pan them * 1i. N+, ii. M-%M
() %ierentiate $etween M/0 aress an I aress.2
(e) hich o! the !ollowing are open source 3IN45 6 M, inow ista 6 8thon 6 M8,Q3 6ageMaker. 1(!) rite own two merits an two emerits o! the !ollowing topologies
2i. ,9/ ii. 9ree
(g) 3ist own merits o! open stanars.1
2. (a) /'0 pu$lic school has e"elope a ;// application through which the parents are a$le see their
eposite !ee etails !or their war. hat shoul school o so that parents < stuents aa$le to
"iew the etails shown in tet &el an can=t moi!8 them.1($) hat is the use o! return statement in metho.
1(c) hat is the $asic structure o! >9M3 &le. () Is ?usti&e alignment to a paragraph will $e assigne in >9M3. ;usti!8 8our answer.
1(e) rite coe in ;a"a to &n out enter num$er is palinrome or not.
2(!) rite a small coe !or it 0ontrol 3oop.(g) rite own some !eatures o! 5M3.
@. (a) M8,Q3 runs on which operating s8stems. ($) ,achin is assigne a assignment to create a ta$le in which &el name %-' ma8 or manot contain
"alue. 9ell what is the signi&cance o! the ke8wor.1
(c) hat are multirow !unctionsA
() hat will $e the output o! !ollowing coeA1i. ,309 4/, (B eunanc8C)D
(e) hat is ,Q3A rite own its ierent categories alsoA
-
8/10/2019 Sample-8_ip.doc
2/5
(!) 9he incoe column o! ta$le Eost= is gi"en $elow#2
i. ,309 incoe !rom ost where incoe 3IF B H1C Dii. ,309 incoe !rom ost where incoe 3IF B HC D
(g) / ta$le B/nimalsB in a ata$ase has @ columns an 1 recors. hat isthe egree an carinalit8
o! this ta$leA2
J. (a) hat will $e the contents o! ?9et+iel a!ter eecuting the !ollowing statementA
1 ?9et+iel.set9et ( E'= K Ea= )
($) reict the output !or tan L tan1 i! sac equals 7A2int tan 6 tan1 J Di! ( sac 2 ) tan J D tan1 D else i! (sac O) tan D tan1 JD
;-ptionane.showMessage%ialog ( null 6 B tan B K tan KC 6 tan1 B K tan1 ) D(c) hat is constructor. Gi"e eample.2() In ;%'0 coing6 what methos woul $e opte to mo"e to last recor o! the recorset
rec,etA 1(e) Ienti!8 the errors an tell the output ( ?9+ 1 2 6 ?9+2 1 )2
(i) int m integer.getInt(?9+l.get9et() K ?9+l.get9et())D(ii) ;-ptionane.showMessage%ialog(null 6 B C K ( m K1 ) ) D
(!) Gi"e the output !or the !ollowing coe !ragment:" 2 Do
;-ptionane.showMessage%ialog( null 6 " K B C ) D while ( " P ) D
;-ptionane.showMessage%ialog( null 6 B '8e B ) D(g) irus so!tware >ut has e"elope the !ollowing Inter!ace as shown $elow.
incoe1111212@JO2O11
Virus S/w HutName o! customer
'ill amount
- 0ash - 0reit 0ar -0heque
%iscount
Net /mount
-
8/10/2019 Sample-8_ip.doc
3/5
I! 'ill amount is R 16 than iscount is as !ollow
a8mentMoe
%iscount
0ost 1 H0reit 0ar N (E211*@*@E)Di".,309 94N0/9 (7.72761)D
(c) 0onsier the ta$le ,94%N9 gi"en $elow6 write ,Q3 0ommans !or (i) to (i") an output!or (") to ("iii)
RollNo
Name Class
DO Sex
City Marks
1 Nana 5 S
-
8/10/2019 Sample-8_ip.doc
4/5
nt w
(i) 9o %ispla8 all in!ormation a$out class 5II stuents. (ii) 3ist the name o! mae stuent o! class 5. (iii) 3ist names all class o! all stuents in escening orer o! %-'.
1(i") 9o count the num$er o! stuent in 5II 0lass o! Mum$ai cit8.
1(") ,309 %I,9IN09(,e) +-M ,tuent.
V("i) ,309 //G(Marks) +-M ,tuent G-4 'T ,e.
V("ii) ,309 0-4N9(W)+-M ,tuent where 0lass E5I= ("iii) ,309 M/5(Marks) +-M ,tuent.
S. (a) rite an ,Q3 quer8 to create the ta$le $ooks with !ollowing structure.2
!iel" Ty#e Co$strai$ts'ookI% archar () rimar8 Fe8
'ookName archar (2)
/uthor archar (2)rice %ecimal (6 2)
($) +ollowing two ta$les are shown $elow are preset in ata$ase#OO%
&'D &(ookName )uthor@ Internal terms -khla
J %'M, ,te"e
Net'eans Gosling
COSTSu(* 'D &'D Cost
J 1 2J1 J 17
J2 @ 1O
J@ 12
i. Ienti!8 the !oreign ke8 column in the ta$le 0-,9. ii. 0heck e"er8 "alue in I% column o! $oth in ta$le. %o 8ou &n an8 iscrepanc8
2(c) 0onsier the ta$les prouct an client gi"e $elow * +ro"u,t
+'D +ro"Name Ma$u-a,tures +ri,e
9 1 en 0ello 9 2 Gel pen 3uar 1
9 @ Ink pen 3uar 1
9 J encil Natra? 2
9 ,ketch 0amel 2
Clie$tC'D CliName City +'D1 akesh %elhi 91
-
8/10/2019 Sample-8_ip.doc
5/5
2 rakash Mum$ai 9
@ ,uresh %elhi 9@
J %inesh %elhi 92
ra"esh 'anglore 9J
i. 9o %ispla8 the etails o! proucts whose rice is in the range o! S to 12 ( 'oth "alue inclue )
ii. 9o ispla8 client name6 cit8 !rom ta$le chart an roName an price !rom ta$2 prouct.
iii. 9o increase the price o! all proucts $8 1. ( rouct the output onl8)2
7. (a) hat is !ront#enA ($) Gi"e one societal impact o! e#$usiness. (c) /nu works !or a >otel. ,k8 warts to create controls on a !orm !or the !ollowing !unction.
2 0hoose appropriate controls !rom 9et+iel6 3a$el 6 aio'utton 6 0heck'o 6 3ist 60om$o'o 6
'utton an write in the thir column.
S.No. Co$trols use to Co$trol
1 ,elect room t8pe2 nter customers
name@ nter arri"al ate
J 9o $ook rook