Types of Programming Language, Translators and Integrated Development environments (IDEs) (CIE IGCSE Computer Science)

Topic Questions

1a
Sme Calculator
3 marks

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]
1b
Sme Calculator
1 mark
b)
The programmer uses an integrated development environment (IDE) when creating the computer program.

State what is meant by an IDE.
 [1]

Did this page help you?

2a
Sme Calculator
1 mark

Look at these two pieces of code:

A:

      CLC
      LDX #0
loop: LDA A,X
      ADC B,X
      STA C,X
      INX
      CPX #16
      BNE loop

B:

 FOR Loop = 1 TO 4
     INPUT Number1,Number2
     Sum = Number1 + Number2
     PRINT Sum
 NEXT

a)
Which of these pieces of code is written in a high-level language?
[1]
2b
Sme Calculator
1 mark
b)
Give one benefit of writing code in a high-level language.
[1]
2c
Sme Calculator
1 mark
c)
Give one benefit of writing code in a low-level language.
[1]
2d
Sme Calculator
2 marks
d)
High-level languages can be compiled or interpreted.

Give two differences between a compiler and an interpreter.
1 ............................................
2 ............................................
[2]

Did this page help you?