marking scheme g.c.e(a/l) august 2012npedu.sch.lk/web2/ict_docs/2012/al marking scheme 2012.pdf ·...
TRANSCRIPT
W@NATIOI\-,{L EVALI}ATI0N & TaSTING SIIRVICE
DEPARTMENT OF EXAMINATION - }?ffi,"{
''1' ''" "-"
.r,lt',.'!,t' ,'" '
NI{A
G.g.E. (A/t) EXAMINAT
{,L)
'.)vlu. ;,n-J-. '11"".,;,tr:
d ,r"
MARI(ING SCH
* 'tsrJ '
,.,' li,!,,. : ii',..
.:jl'$:.f*1; -.lj':
.4:r'\1.".4eE.-
iiflf l,lttcc0nDlil0 l0 tHE
2O r lnfurmation fGommunimtion feuhnologY
sffr pnrpnniD r0R ttt1d0fu 0i ,HnR,illr0 frnfltilf Rr, t0ME CHAN_A-E.|-W0uL0-tirti [isiitiio n il]i'illisr lfnmtl;n'r !.l-Et!!!:.Y!.iRi 0i ll,s vrE|[/
8r ilAD[iltAl lillt c|uLa
ALL RIOIITS RESERVED
,,t1 ,
, qt"
;,isl'i$',l'ft 1'
ilcsn I ( A tEACUntG AtD lll lllE ILAllR00M;
MARKING SCHEME G.C.E(A/L) AUGUST 2012
mination E-il
(Model Answers)
QuestionNumber Answer
QuestionNumber Answer
QuestionNumber Answer
QuestionNumber Answer
QuestionNumber Answer
7 4 71_ 5 27 5 31 3 41 22 L 72 2 22 5 32 4 42 33 3 73 2 23 3 33 I 43 54 3 L4 1, 24 3 34 2 44 35 1. 15 2 25 5 35 5 45 36 2 16 2 26 \ 36 7 46 47 4 1.7 4 27 3/2 37 4 47 3a 2 18 3 28 3 38 4 48 1I 4 19 2 29 t 39 2 49 410 1. 20 4 30 2 40 1 50 2
o.No
MarksBreak-
down
-----.--lsectton I vrodelAnswer
r31.rlt.8-46(b) ii
o%
,L
204
Running
SwaPPed out and blocked
common goal ispecific task)
Or
Apurposefulcollectionofinterrel.a!.ejlc8$jo!-e-n!s'wt,.i.kingtogetherto achieve common obiective
[e!g!M-lnterrelated
llteracling(Oll ,ht." with at least 2 resources)
Conrmon goal - coTqll-'j*PgH't)
resources forming a
Open
J ustificationlnteracts with the outside world
(b) iv
2or0
Functional
Describe C ?t- 9t^rv.tr1--9f Si-esa
b e, r,ta'e-'x'd*^on a'1 '4- P'*-ie )
p--e"'foLYffi,i
iiiti:il;,ilit
Fdi.
il Paee 1
Model Answers
Non functionalDescribe(Limitation/Constrain) q 1 ;r , r=a-[i z,.t c^tQ c6hsi-rqi',,,1 )lf the remainO"r o*number is odd, otherwise even
it;|ff:*" method is acceptabte and the ftowchart imptements it give
x = rernain,der of theinput devtdsd by Z
@Diumond rymbol, give 1 mark
GCE AL Examination., Ausust 2012 (AL n12 rr ''-lll - Part A
(Model Answers),4"
Model Answer
lf the pseudo code represents the flowchart, give 2 marks.
Sta rt/Begi n
Read a positive integerDivide the number bY 2 and get the
lf the remainder equals 1
remainder
' ThenBegin
disPlaY that the number is odd
End
Else
Begin
disPlaY the number is even
End
Stop/End
Note: it,does not matter whether the flowchart is incorrect'
B;A-"-- End s g1e gqtio1qltt -ft'"n-rnAif it uf tt '
l5 :> 00001 I I 1
5:> 00000101'4 - -%-5 -> l1l I1010 + 00000001 ----2:> lllll0ll
0000 1111 (ls)+ 1l I I 1011 (-5)
1 -C000 1010
Ignore the carrY
MarksBreak-
down
TotalMarkso..
No
Section
2(a) iii
1
1
I
L
1
5
4
(b)
(a)
Privacy means protection of personal information in computer data
bank from abuse.
Piracyofsoftwaremeansmakingofilleealcopiesofsoftwareonwhich'the user has no copyright or any other right
1
1
2
Page 3
Model Answers
MarksBrea k-
down
Mobile computing refers to the.gleyiges in
.%tha't provide wireless connections to a central main server.
Video conferencing
Network devicesAny Aud io/Video devicesComputer/Servers
Page 4
GCE AL Examination. Aueust 2012 (AL 12012 r20 '--lll - Part B
(Model Answersl
MarksBreak-
down
Suitable System such as payroll system <-----
Difference - Process, data (in put), i nformation(output)
Note:
lnformation
R ny "*
p r" r, i o n r" p tj:S$$I5!9g.(e x p I 1n a ti o n o r di a g ra m I
f . in-AccuracY
2. ln-EfficiencY3,Da'il olffitionA. NeeAToaIarge PhYsical sPace
Any three from above or any other acceptable reason'
Note: Additional marks should not be given for the duplicate
and slowness in searching should be t19q19:q tl'.e
(1) HardwareAny physical (tangible) objects in the computer'
(2)Softwarelnstruction given to the computt'' ;" \i;; '';:"r'i' r 'i
(3).FirmwareProgram required for bootirrg up a computer'
- nC; -'t''i'
(a) iii
::,':,i
ii:.'li.
ita#dl*gr"
ffi.ibx{-
Page 1
Modg!-Antwers
ModelAnswer
h,fia li;;;,]
MarksBreak-
down
Page 2
odel A$wers' ""''^
F*r"nrtOr"u'1 g'6eL':a tlC tvta r"l-r-j '
(b) ii
(B and (!q!
ffi;Ct"dr.tt;r Product of sums
F= *gc + ftae + *6 c- v+ fitr f o{o k
-\H ( E+ B +L)' cF+5 +-c) - t F+e+c )
(b) iii
Page 3
Ftgt;''i'i.:t.,
GCE AL Examination, Aueust 2012 (AL 12 rll - part B
(Model Answersl
2 (a)
The paragraph tag inserts a blank line
but the break tag does not insert a blank line
7
1
2
(b)
Our evergreen school days <:-- **.-will not come back again
*_From the nursery to high school wdlearnt thebest:{
1
1
1
3
(c) | <html>
| .neaO>
| <titte> Agrisl </titte>
d*""_:_r=- _- :-=I,j </head>i 6 A* llk+| <bodv267
I .ntt nglicuiture in Sri Lanka </hl> .4--
l.,rrsrc="asrisl.jps"Wr; re -______:
| .Ottr' Lanka is an agricultural cglfllv. Agriculture is one of the-)
I maln sectors of the Sri Lankanc*-f6n omy.</p> Ii .ortn" main plantation crops a'ri</pr16v7zdy' J<--<ul> -1-l
<li> tea</li> ' Jl
<li> rubber</li> ,l<li>coconut</li> \+*-*
*</ul> )<p>Links to agricultural firms</p><a h.ref = " http ://www.j ayagrotec.com ">J ay Agro Tec h nologi e s</a>
<br /> i*R*-<a href = "http://www.lkagrisys,com">Lanka Agri Systems pvt 1r
Ltd.</a> .$-_<br/> -\t-\</body>
:'j':', Lb o ? Y> - ;'ti',/t ry;ffi '#t 4'' l<r*ffi D) ve-
I
.$r
1
1
2
I
2
1.
L
10
(L
^)4)/
-o7
Page 4
661r* -)
GCE AL Examination,. Aueust 2012 (AL n12 'l ---lll - Part B
(Model Answers)
nNo
SectionModelAnswer
MarksBreak-down
TotalMarks
3 (a) i 216 = 8,1-92 Bytes = 8 KB (if machine is assumed to be bit
addressable) or216 = 65536 Bytes = 64 KB (if machine is assumed to be byte
a dd ressa b le)
7
(a) il o to (216 -1") L
8x8/4 : 16
4 bits are sufficient
or
64*814: 128
7 bits are sufficient
T
1
2
3 (b)
1.92.16 8.1.2 192.L68.2 3
5
B
L92.1,68.r.254
(Each lP address -
1.92.768
GatewaVT
'k , Gateway
L.254
2.168.2.2s4
-1 mark)
E)2.768.
254
2.3
GCE AL Examination.. Aupust 2012 (AL '^n12 /20 ''-lll - Part B
(Model Answers)
'?-
firewatt l4f'd^A firewall is a comSiuting devices\that enforces a set
il.
of rules to prevent unauthorized access to an internal
network while allowing legitimate communications topass.
proxy serverA proxy server is a computer system or an application
that acts as an intermediary for requests from clients
seeking resources from other servers.
honey pots
A honeypot is a trap set to detect, deflect or
counteract attempts at unauthorized use of
information sYstems.
il1.
F,
$i'
F
'S
Page 6
GcE AL Examination. Aueust 2012 (AL n12l20 --tll - Part B
(Mlodel Answersl
a.No
SectionModelAnswer
MarksBreak-down
Total
Ma rks
Relationshio "Obtain Marks for" 24 (a)
Class - Has - Student : One-to-manY
One class has many student while one student belongs to a class
Student -- has - Desk: One-to-one "/' A student has a desk while one desk is for a single student
House -has-Student: One-to-manY
A student should belong to a house while one or moie student belong
to the same house
Student-Obtains Marks for -Subject : Many-to-many
A student sit for multipie subjects and for a single subject is being
taken by one or more students
1
I1
!
L
4(b)
(c) Tables representing the following relations
Desk(DesklD)
House(HouselD, Name)
Class(ClasslD)
Student(Studentl D,Cla ssl D, Deskl D, Housel D, N lC, Name)
Su bject(Su biectl D, Title)
Marks(Studentl D, Subiectl D, Marks)
OrDesk(DesklD. StudentlD)House(HouselD, Name)
Class(ClasslD)
Student(Studentl D,ClasslD, Housel D, NlC, Name)
Su bject(Su biectl D, Title)
Marks(Studentl D, SubiectlD, Marks)
Note: table 'Marks'and attribute 'Marks' can have any meaningful
name -- g-,$tt y\@ e r-,t-r.ris-r'vro1 ka*-c=o'6d-e(\'*ry
al r?'kt
I1
I1
1
I
6
Class-ClasslD
Student - StudenilD+DesklD+ClasslD+HouselDSubject - SubjecilDMa rks - StudenilD+SubjecilD
One of the above
OR
Desk - DesklD+StudenflDHouse-HouselDClass-ClasslD
Student - StudenilD+ClasslD+HouselDSubject - SubjecilDMarks - StudenilD+SubjecilD
One of the above
Note: table ,Marks, can have any meaningful name
select Marks from Marks "*, flwhere StudbntlD=,ST001, and SubjectlD=,A1001, .*_ I
l,ote: table ,Marks,
and attribute ,Marks,, can have any meaningful
Page B
(Model Answersl
MarksBreak-
down
datasummary Dictionarydata keys
Note -
1) What is essential is the comment symbol # followed by theprogram name example,py.
2) The comment character # can start at any position in the rine.3) Character spaces in between these two parts have no effect.4) ln addition to these two parts any other words may havebeing included anywhere in the comment line forelaboraiion, but will not get any additional marks.
Open a file named ,input.txt, tmcorresponding stream.
Open an a file named ,input.txt,for reading
Return a file stream(file object .....)
Note -
$
{,x
dEilf
Page 9
(Model Answersl
ModelAnswer
readdata0 ;
r Read the data,from the input file named ,input.txt,.' ,'#:i;:Jl,:,TilJ::ffi0"" '^
ir'" uata,umm"f ai.,ion,,y
, ' Gather the distinct varues in the input file in the datakey list.
printdata0:
o Write the data in the datasummarvnamed 'output.txt, ' dictionary to the file
o ln the order of data in the datakey list
processdata0 ;
. sort the symbols in the datakey listr in the ascendrng order.
Note -
a-3
b-2
d-2
n-2
x-L
jt{tI$
lIitIIINIJ
I
-L)Characters should be in alphabetic order.2)The numbers shoul
^ th,"" ;;t;;;"#;,J",."j;:r."J, the taily of characters_ at teast
3)character and the tatty snoutJ be separated by the character _
Page 10
GCE AL Exarnination. Aueust 2012 (A112012120lE-ll) - Part B
Model Answer
Does not need'to visit the book shop physically
Payments could be carried out on-line
**/ A-t-z-e--&-zr-9t e &va w.'ez-r'
1. Does not have the facility to look at the book before it is selected2, Needs to follow up to ensure the overall process has been
completed
3, ln-Secure payment mode
4. Needs credit card
5. Computer literacY
1. By making e-books available on-line
2. By intro.-iucing a system to acknowledge each transaction
3. secure r.vebsite with secure protocols
4. any acceptable alternative payment mechanism I
5. Use help facility I
I
One of the above related to the answer eiven in {b) or anv I
acceptable method I -
Model Answers
MarksBreak-down
Page 11