Chapter 4
Chapter 4
Time Allowed 20
Score /9
Percentage /100
Page 1 of 4
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Question 1a
A programmer uses a high-level language to create a computer program.
a)
i) Identify two advantages to the programmer of using a high-level language instead of a low-level language.
1 .................................................
2 .................................................
[2]
ii) Suggest one disadvantage to the programmer of using a high-level language instead of a low-level language.
[1]
[3 marks]
Question 1b
b) The programmer uses an integrated development environment (IDE) when creating the computer program.
Page 2 of 4
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Question 2a
Look at these two pieces of code:
A: CLC B: FOR Loop = 1 TO 4
LDX #0 INPUT Number1,Number2
loop: LDA A,X Sum = Number1 + Number2
ADC B,X PRINT Sum
STA C,X NEXT
INX
CPX #16
BNE loop
Question 2b
b) Give one benefit of writing code in a high-level language.
[1]
[1 mark]
Question 2c
c) Give one benefit of writing code in a low-level language.
[1]
[1 mark]
Question 2d
d) High-level languages can be compiled or interpreted.
Page 3 of 4
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to www.savemyexams.com for more awesome resources
Page 4 of 4
© 2015-2024 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers