Professional Documents
Culture Documents
Gce A Level Marking Scheme: SUMMER 2018 A Level (New) Comuter Science - Unit 3 1500U30-1
Gce A Level Marking Scheme: SUMMER 2018 A Level (New) Comuter Science - Unit 3 1500U30-1
Gce A Level Marking Scheme: SUMMER 2018 A Level (New) Comuter Science - Unit 3 1500U30-1
SUMMER 2018
A LEVEL (NEW)
COMUTER SCIENCE - UNIT 3
1500U30-1
This marking scheme was used by WJEC for the 2018 examination. It was finalised after
detailed discussion at examiners' conferences by all the examiners involved in the
assessment. The conference was held shortly after the paper was taken so that reference
could be made to the full range of candidates' responses, with photocopied scripts forming
the basis of discussion. The aim of the conference was to ensure that the marking scheme
was interpreted and applied in the same way by all examiners.
It is hoped that this information will be of assistance to centres but it is recognised at the
same time that, without the benefit of participation in the examiners' conference, teachers
may have different views on certain matters of detail or interpretation.
WJEC regrets that it cannot enter into any discussion or correspondence about this marking
scheme.
1c ABCDEFGIJLMO 1 2a 2
3 3
̅ +C) + B.C + B
A.B.(B
̅ + A.B.C + B.C + B
A.B. B 1 2a
A.0 +A.B.C + B(C + 1) ̅ = 0)
(B. B 1 2a
A.B.C + B (C + 1 = 1) 1 2a
B(A.C + 1) 1 2a
B (A.C + 1 = 1) 1 2a
5a 1b 4
Award two marks for each of the following, one for feature, one
for description, up to a maximum of 4:
Definition of characters:
<lowercase letter> ::= a|b|c . . . . . .|z
<uppercase letter>::=A|B|C . . . . .|Z
<digit>::= 0|1|2|3|4|5|6|7|8|9
1
Definition of string / number:
<string> ::= <lower case letter>|<string><lower case letter>
<number>::= <digit>|<number><digit> 1
Definition of address:
Easier to program 1 1b
Easier to understand / maintain. 1 1b
Declare checkDate
LeapYear is boolean
Year is integer
Month is integer
Day is integer
flag is integer
input Date
Year = val(mid(Date, 7, 4))
Month = val(mid(Date, 4, 2))
Day = val(mid(Date, 1, 2))
flag = 0
if Year Mod 4 = 0 then
LeapYear = True
end If
if Month < 13 then
if Month = 1 Or Month = 3 Or Month = 5
Or Month = 7 Or Month = 8 Or Month = 10
Or Month = 12 then
if Day <= 31 then
flag = 0
else
flag = 1
end if
else
if Month = 4 Or Month = 6 Or Month =
9 Or Month = 11 then
if Day <= 30 Then
flag = 0
else
flag = 1
end if
end if
end if
else
flag = 1
end if
if LeapYear = True then
if Month = 2 then
if Day <= 29 then
flag = 0
else
flag = 1
end if
else
if Month = 2 then
if Date <= 28 then
flag = 0
else
flag = 1
end if
end if
end if
end if
if flag = 0 then
Print "date is correct"
else
Print "date is incorrect"
end if