Marking Guideline: Principles of Computer Programming
Marking Guideline: Principles of Computer Programming
4 MARCH 2019
Copyright reserved
Please turn over
MARKING GUIDELINE -2- NC2410(E)(M4)V
PRINCIPLES OF COMPUTER PROGRAMMING L3
(First Paper)
SECTION A
QUESTION 1
1.1 1.1.1 D
1.1.2 C
1.1.3 B
1.1.4 C
1.1.5 D
1.1.6 C
1.1.7 B
1.1.8 C
1.1.9 D
1.1.10 A
(10 × 1) (10)
TOTAL SECTION A: 25
Copyright reserved
Please turn over
MARKING GUIDELINE -3- NC2410(E)(M4)V
PRINCIPLES OF COMPUTER PROGRAMMING L3
(First Paper)
SECTION B
QUESTION 2
2.4 A variable is memory location with a value that can be changed by the
program.
A constant is a memory location with a value that cannot be changed by the
program. (2 × 2) (4)
[14]
Copyright reserved
Please turn over
MARKING GUIDELINE -4- NC2410(E)(M4)V
PRINCIPLES OF COMPUTER PROGRAMMING L3
(First Paper)
QUESTION 3
Line
Mark() >79
Mark() >89
Mark() >69
Mark() >59
Mark() >49
Mark() >39
M
Symbol
Output
Other
ar
i
k(
i)
5 0
6 20
7 FALSE
10 FALSE
13 FALSE
15 FALSE
17 FALSE
20 FALSE
22 TRUE
6 G 20 G
5 1
6 90
7 TRUE
6 A 90 A
5 2
6 45
7 FALSE
10 FALSE
13 FALSE
15 FALSE
17 FALSE
20 TRUE
21 F
6 45 F
(9 × 1) (9)
Copyright reserved
Please turn over
MARKING GUIDELINE -5- NC2410(E)(M4)V
PRINCIPLES OF COMPUTER PROGRAMMING L3
(First Paper)
3.3 This refers to how many bits of data the computer handles at a time (2)
[13]
QUESTION 4
4.1.2. ID
It is unique/It is computer generated/No chance of duplication (2)
QUESTION 5
5.1 1×2=2
2×2=4
3×2=6
4×2=8
5 × 2 = 10 (5)
5.3 Input
Processing
Output (3)
[11]
QUESTION 6
6.2 6.2.1 These users need to find help with ease, so as a programmer
make sure help is included in you program.
6.2.2 Disable the buttons and other controls when the program is busy.
6.2.3 Your user interface must allow a user to undo operations when
possible.
Copyright reserved
Please turn over
MARKING GUIDELINE -7- NC2410(E)(M4)V
PRINCIPLES OF COMPUTER PROGRAMMING L3
(First Paper)
QUESTION 7
7.3 A general name for data types that don’t fit any of the simple data types. (2)
[11]
TOTAL SECTION B: 75
GRAND TOTAL: 100
Copyright reserved