2020 Marking Scheme
2020 Marking Scheme
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 15
Department of Examinations - Sri Lanka Confidential
1. (a) Draw the expected output of the HTML code segment. [1]
The headings of the table must be in bold and center aligned. The data in the table must be left-aligned.
Ignore border style.
(b) (i) What are the colours of the text in line numbers 8 and 9? [2]
h1{color:green;}
#appear{font-family:Arial;}
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 29
Department of Examinations - Sri Lanka Confidential
(c) (i) Write the labels of the four code blocks. [2]
D
B
A
C
(ii) What is the expected output if the Product table had only the given values? [2]
Code:P1/Item:Pen
Code:P3/Item:Book
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 30
Department of Examinations - Sri Lanka Confidential
2. (a) Fill the blanks in the six statements choosing from the list. [6]
Write the output of the given python program if the first input (that creates L1) is “7 4 1 2 2 8”
(b) (i) and second input (that creates L2) is “8 2 4 5 6”.
[2]
[2,4,8]
Given two input lists of integers L1 and L2, output a sorted list
of unique integers that are present in both L1 and L2
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 31
Department of Examinations - Sri Lanka Confidential
(ii) What are the three steps in the FETCH-EXECUTION cycle of a computer? [3]
1. Fetch instruction
2. Decode instruction
3. Execute instruction
Correct order important. Other alternative words with similar meanings to those underlined are
also accepted. If there are any meaningless entries along with correct ones, reduce a maximum
1 mark from the earned total mark.
(i) UDP
(ii) HTTP
(iii) Internet Layer
(iv) Phishing
(v) ADSL Connection
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 32
Department of Examinations - Sri Lanka Confidential
4. (a) (i) Give one reason for Running to Blocked transition of spreadsheet process. [1]
Why is it important to store the values for machine registers when moving from
(ii) Running to Ready?
[2]
So that the when the process starts running again it can start from
where it stopped
Write down the value of an important number in the directory entry for maximum.py file
(b) (i) that will help an operating system locate the blocks in the file.
[1]
301
(ii) Size of maximum.py is increased to 20KB.What changes are needed in FAT for that purpose? [2]
(c) (i) How many bits are required to store a page number in this computer? [1]
(ii) Explain the mapping of the virtual address 0011 0000 0000 0010 to 110 0000 0000 0010. [2]
(iii) What is the 15-bit physical address that the virtual address 0001 0000 0000 0000 will be mapped to? [1]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 33
Department of Examinations - Sri Lanka Confidential
5. (a) Give the complete truth table for the given circuit. [4]
If the Z column is not labelled, reduce 1 mark from the earned total. However, having Output as the
Z column title is acceptable.
N OTES :
(A) Other logically correct Karnaugh maps are also acceptable for component A.
(B) For component C, the term Z is not compulsory.
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 34
Department of Examinations - Sri Lanka Confidential
N OTES :
(A) Other logically correct Karnaugh maps are also acceptable for component A.
(B) For component C, the term Z is not compulsory.
Out of the two expressions which one is better to implement a more simplified logic circuit than the given logic circuit.
(d) Explain.
[3]
Explanation:
The POS expression has fewer (3) literals than the SOP expression (4
literals). This means, we can implement a simpler logic circuit with
one OR gate and one AND gate (only two gates) using the POS whereas the
SOP leads to a logic circuit with two AND gates and one OR gate (three
gates), same as the given circuit.
B: 2 marks for correctly showing the two correct circuit diagrams and identifying the better one or
for indicating generally that POS results in a circuit that has fewer gates when compared to the
circuit resulting from SOP (L99 A)
I MPORTANT: Note the dependency in marking component A. This basically means not to give credit
for part (d) if the student is not basing his/her argument using the expressions Z = AC + BC and Z =
(A+B) C.
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 35
Department of Examinations - Sri Lanka Confidential
6. (a) Which network topology is most suitable? Give one reason to justify. [2]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 36
Department of Examinations - Sri Lanka Confidential
(c) Draw the logical arrangement of the network to implement company requirements. [6]
N OTE : The following standard symbols are also accepted in the diagram:
(d) Write down the mechanism that needs to be implemented to dynamically manage the IP addresses. [1]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 37
Department of Examinations - Sri Lanka Confidential
7. (a) (i) What is the ecommerce business type applicable in this scenario? [1]
(ii) What is the revenue model used in this e-commerce offering of AB stores? [1]
Identify two possible reasons for most regular customers to prefer the physical outlet more than the
(iii) e-commerce solution.
[2]
What is the term used to identify the system when allowing local stores to have virtual stores
(v) within it [the system]?
[1]
Write down one advantage that each of (1) customers, (2) AB stores and (3) other local shops will receive
(vi) by having the proposed system in (v) above.
[3]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 38
Department of Examinations - Sri Lanka Confidential
What is your suggestion to enable most of the registered customers to make purchases successfully
(vii) through the system and receive their goods at home without any restriction? Explain.
[1]
Give the mark if the cash-on-delivery option is suggested by the student with
any one of the following explanations:
• This is a low risk method as the users are registered and
nearby with a low delivery cost even if they refuse
to honor the purchase/payment.
• Enables the remaining 88% of registered customers,
who cannot pay online, to make successful e-commerce
purchases.
Explain two advantages that AB stores can get by outsourcing the delivery of customer purchased
(viii) goods to a third party delivery service.
[2]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 39
Department of Examinations - Sri Lanka Confidential
(b) (i) Draw a simplified agent diagram and name important entities. [2]
Chat-bot Agent
(iii) Write a disadvantage of using a multi-agent system for the given example user requirement. [0.5]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 40
Department of Examinations - Sri Lanka Confidential
8. (a) Construct a flow-chart or pseudo-code to output the list of even numbers from given N1 to N2. (N 1 < N 2) [5]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 41
Department of Examinations - Sri Lanka Confidential
A N ALTERNATIVE :
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 42
Department of Examinations - Sri Lanka Confidential
A NOTHER ALTERNATIVE :
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 43
Department of Examinations - Sri Lanka Confidential
(b) (i) What would be the output if first input L was 2,4,7,9,3,5 and the next input K was 5? [2]
(iii) Develop a python program to implement the algorithm expressed by the flowchart. [6]
Notes:
(A) The objective of the second line of code in the suggested solution is to transform the string
received from built-in function input() into the list of integers, L. Note that input() gives us a
single string. Therefore the following operations are performed to obtain L:
(1) Split the input string using “.split( )” method which gives a list of strings, splitting the
“words” that were separated by “space” in the input string. For example, if the input string
was “2 4 7 9 3 5”, then the split( ) method would produce [“2”,“4”,“7”, “9”,“3”,“5”].
(2) Convert each string in the list of strings into an integer using int( ). For example, the list
[“2”,“4”,“7”, “9”,“3”,“5”] will be converted into the list [2,4,7,9,3,5].
The two step process above for (input string) → (list L of integers) conversion can be done in
multiple ways.
One way is, as shown in the suggested solution, in a single line of code (2nd line):
L=[int(x) for x in inList.split()]
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 44
Department of Examinations - Sri Lanka Confidential
Another way (which is also correct) is to separate the use of split() and int(). First use split()
to obtain a list of strings. Next go in a loop converting each string into an integer using int().
The four lines of Python code is as follows:
strLlist = inList.split() # this will produce a list of strings
L = [ ] # let L be an empty list
for s in strList:
L.append(int(s))
There can be other correct ways to do this. Students may write such code. Therefore in mark-
ing, we should check for such possibilities also.
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 45
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 46
Department of Examinations - Sri Lanka Confidential
(ii) Extend the ER to include the number of hours played by each player for each game.
See above.
(b) (i) Write an SQL statement to display the number of players who won gold medals. [1]
N OTES :
(A) Although not perfect, the use of a valid field name from the Winner table is acceptable as a
replacement of * in above.
(B) Semicolon is not essential for credit.
(ii) In which normal form does the above table exist? Justify. [2]
(iii) Convert the above table to the next normal form. (It is not required to write the data in the tables.) [2]
M ARKING GUIDELINES :
A: The primary keys should be marked. The Winner table name and NIC and MatchID attribute
names should be as given. The other attribute must match the primary key of the second table.
B: The primary key should be marked. The Prize attribute name should be as given.
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 47
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 48
Department of Examinations - Sri Lanka Confidential
N OTE : Internal recording of customer details with unique registration number is not included.
N OTES :
(A) Other equivalent and a meaningful names for the processes, locations and the data store are
also acceptable.
(B) The process and data store ids have to be unique and may be different to the ones shown.
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 49
Department of Examinations - Sri Lanka Confidential
List three significant reasons why requirement analysis is important for this COTS project too.
(b) (i) (Answer must be specific to COTS use.)
[3]
1 mark each for any three of the following for a maximum of 3 marks:
(ii) Write down the labels (A-G) of all the functional requirements. [2]
A, C, E
(iii) What is the most appropriate testing strategy for your team to evaluate the selected COTS system? [1]
black-box testing
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 50
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 51
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 52
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 53
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 54
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 55
Department of Examinations - Sri Lanka Confidential
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 56
Department of Examinations - Sri Lanka Confidential
The headings of the table must be in bold and center aligned. The data in the table must be left-aligned.
Ignore border style.
(b) (i) What are the colours of the text in line numbers 8 and 9? [2]
• the styles defined in the header can be used within the same html
page more than once
• it will be easier to maintain consistency
• update will be easier
• file size will be lower
• code duplication/repetition is reduced
• cleaner/uncluttered code results
h1{color:green;}
#appear{font-family:Arial;}
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 57
Department of Examinations - Sri Lanka Confidential
(c) (i) Does the statement correctly explain the output of the given code? Explain. [1]
(ii) Explain the expected outcomes of each of the three HTML code segments labelled A, B and C. [3]
(iii) Show the expected outcome of the given HTML code fragment. [1]
***
20 - Information & Communication Technology (New/old syllabus) - Mark scheme / G.C.E. (A/L) Examination - 2020 58