wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OCR J277 2.5 Programming Languages and IDEs

Total questions: 34

Worksheet time: 17mins

Name
Class
Date
1.

Machine code is used in which generation of a programming language?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

2.

Which language translator is needed for the first generation?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

3.

Which of these is an example of a low-level language?

a)

Delphi

b)

Little Man Computer

c)

Basic

d)

C#

4.

Which language translator(s) is/are used with the third generation?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

5.

Which generation would create the fastest code to execute?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

d)

4th Generation

6.

Which generation would be easier to program for a programmer?

a)

1st Generation

b)

2nd Generation

c)

3rd Generation

7.

An advantage of programming in a high-level programming language is

a)

One to One (One high level instruction is equivalent to one low level)

b)

One to Two (For every high level instruction there are two low level instructions)

c)

One to many (For every high level instruction there are many low level instructions)

d)

Many to One (Many high level instructions translate into one low level instruction)

8.

Executes instructions written in a programming language

a)

Language Translator

b)

Compiler

c)

Interpreter

d)

Source Code

9.

Software program which optimizes code, ready for execution

a)

Language Translator

b)

Compiler

c)

Interpreter

d)

Source Code

10.

Converts instructions in a programming language to a single executable file

a)

Compiler

b)

Interpreter

c)

Source Code

d)

Object Code

11.

Which translator stops when it encounters an error?

a)

Compiler

b)

Interpreter

12.

Which translator produces Object Code and an Error Report listing the errors found

a)

Compiler

b)

Interpreter

13.

What is meant by source code

a)

The final executable program

b)

The code written by the programmer

c)

The additional information about errors

d)

Code relating to sources of information on the Internet

14.

Machine Code is used in which generation of a programming language?

a)

1st

b)

2nd

c)

3rd

d)

4th

15.

Which language translator is needed for the first generation?

a)

Compiler

b)

Interpret

c)

No Translator

d)

Language Translator

16.

Which of these is an example of a low-level language?

a)

Delphi

b)

LMC

c)

Basic

d)

C#

17.

Which of these converts a computer program from one language to another?

a)

Compiler

b)

Interpreter

c)

No Translator

d)

Language Translator

18.

Which generation would create the fastest code to execute?

a)

1st

b)

2nd

c)

3rd

d)

4th

19.

An advantage of programming in low-level programming is

a)

Easier to understand

b)

Takes up less code

c)

Produce programs that require small file sizes

d)

Easier to de-bug

20.

An advantage of programming in a high-level programming language is

a)

Easier to understand

b)

Useful for device drivers

c)

Programs require smaller file sizes

d)

Programs execute faster than other generations

21.

What sort of relationship are low-level languages said to have with high-level languages?

a)

One to One (One high level instruction is equivalent to one low level)

b)

One to Two (For every high level instruction - two low level instructions)

c)

One to many (For every high level instruction-many low level instructions)

d)

Many to One (Many high level instructions translate into one low level one)

22.

Translation software needed at run-time

a)

Language Translator

b)

Compiler

c)

Interpreter

23.

Code is optimised

a)

Language Translator

b)

Compiler

c)

Interpreter

24.

Translates entire source code in one go

a)

Language Translator

b)

Compiler

c)

Interpreter

25.

Which translator stops when it encounters an error?

a)

Language Translator

b)

Compiler

c)

Interpreter

26.

Which translator converts from different languages?

a)

Language Translator

b)

Compiler

c)

Interpreter

27.

Which translator is used at the end of development?

a)

Language Translator

b)

Compiler

c)

Interpreter

28.

What is meant by source code?

a)

The final executable program

b)

The code written by the programmer

c)

The additional information about errors

d)

Code relating to sources of information on the Internet

29.

Nearly all IDEs will have this to manipulate source code

a)

Text Editor

b)

Debugger

c)

Compiler

30.

Helps identify and fix errors in code

a)

Text Editor

b)

Debugger

c)

Compiler

31.

Translates source code from a high-level language to a lower level language

a)

Text Editor

b)

Debugger

c)

Compiler

32.

Which one would I be using if I had syntax highlighting?

a)

Text Editor

b)

Debugger

c)

Compiler

33.

What is a debugger?

a)

The final executable program

b)

The code written by the programmer

c)

Assists in the detection and correction of errors

d)

Translates code

34.
A programming tool used to halt a program at a specific place
a)
Breakpoint
b)
Concatenation
c)
Debugging
d)
Function