Unofficial Practice Paper: J277/02: Computational Thinking, Algorithms and Programming
General Certificate of Secondary Education
| Question | Answer / Indicative Content | Mark | Guidance |
|---|---|---|---|
| 1 (a) |
1 mark per point (max 4):
|
4 | Max 4 marks. Labels must be explicit (T/F or Y/N). |
| 1 (b) |
1 mark per point (max 4, 2 marks per benefit):
|
4 | Must explicitly mention why parameters/local variables are superior to globals. |
| 2 (a) |
1 mark per point (max 4):
|
4 | |
| 2 (b) |
1 mark per point (max 4):
|
4 | |
| 3 (a) |
|
4 |
| Question | Answer / Indicative Content | Mark | Guidance |
|---|---|---|---|
| 3 (b) |
1 mark per point (max 4):
|
4 | |
| 4 (a) |
1 mark per point (max 4):
|
4 | Must contrast the two concepts. |
| 4 (b) |
1 mark for method, 1 mark for reason (max 4):
|
4 | Reject 'makes it easier to read' as TV. |
| 5 (a) | Changing the data type [1] of a variable to another data type [1]. | 2 | |
| 5 (b) | numValue = int("54") |
2 | 1 mark for `int()`, 1 mark for assignment to `numValue`. |
| 5 (c) |
print(sensorStatus.left(7)) -> "Warning" [1]print(sensorStatus.length) -> 14 [1]print(sensorStatus.substring(8, 6)) -> "Active" [1]print(sensorStatus.upper) -> "WARNING-ACTIVE" [1]
|
4 | Accept string outputs with or without quote marks. |
| Question | Answer / Indicative Content | Mark | Guidance |
|---|---|---|---|
| 6 (a) |
1 mark for each correctly drawn shape and 1 for overall logic:
|
4 | Marks awarded solely on geometric shape. NOT gate without a circle scores 0. |
| 6 (b) |
Truth table completion:
|
6 | Allow follow-through if intermediate columns are wrong but AND logic is correct. |
| 7 (a) |
1 mark for Example, 1 mark for Reason: Normal Data: Any value between 1 and 99 [1] | Reason: It is standard data that should be accepted [1] Valid Boundary Data: 0 or 100 [1] | Reason: It is on the extreme edge of the accepted range [1] Invalid Data: -1, 101, or text [1] | Reason: It is outside the acceptable range / wrong data type [1] |
6 | Do not accept 0 or 100 as Invalid or Normal. They are strictly Valid Boundary. |
| 7 (b) |
1 mark per point (max 4):
|
4 | |
| 8 |
1 mark per logical step correctly implemented (max 10):
|
10 | There are multiple ways to write this algorithm. Award marks for logical equivalents. |
| Question | Answer / Indicative Content | Mark | Guidance | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 9 |
Trace Table Completion: 1 mark per correctly completed row block or specific change:
|
10 | Total of 10 marks awarded for the logical flow. |