Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Programming Languages

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.
Translates source code into machine code one line at a time.
a)
Compiler
b)
Interpreter
c)
Editor
d)
Assembler
2.
Translates the entire source code into machine code.
a)
Compiler
b)
Interpreter
c)
IDE
d)
Operand
3.
This is binary code which is designed to be understood by computer systems. A low level programming language.
a)
Debugger
b)
Operand
c)
Opcode
d)
Machine Code
4.

A low level programming language which uses mnemonics. These instructions are translated into machine code.

a)

Machine Code

b)

Assembly Language

c)

Source Code

5.
Shortened command words which are used in assembly language. For example, “Little Man Computer” used mnemonics such as “LDA”, “DAT”, “ADD” and “OUT”.
a)
Operand
b)
Editor
c)
Mnemonics
d)
Debuugger
6.
Highlights errors in the code, Suggests possible solutions.
a)
Debugger
b)
Colour coding keywords
c)
Editor
d)
Interpreter
7.
Translate Assembly Language code into Machine Code
a)
Assembler
b)
Compiler
c)
Translator
d)
Interpreter
8.

Translate and execute high level code –Line by Line, Statement by Statement.

a)

Interpretor

b)

Translator

c)

Compiler

d)

Assembler

9.
Difficult to write in (but easier than Machine code)
a)
Interpreter
b)
Translator
c)
Compiler
d)
Assembly Langauge
10.
Uses mnemonics
a)
Interpreter
b)
Translator
c)
Compiler
d)
Assembly Langauge
11.
Visual Basic is an example of 
a)
Machine Code
b)
High Level Language
c)
Assembly Language
d)
Low Level Langauge
12.
01010101010100101010100101010101010011111001000100001010100101
a)
Machine Code
b)
High Level
c)
Assembly Language
13.
LOAD r1,
LOAD r2,
ADD r1,
DIV r1, #2
a)
Machine Code
b)
High Level
c)
Assembly Language
14.

What is machine code?

a)

Instructions in assembly used by the CPU

b)

Instructions in an HLL used by the CPU

c)

Instructions in binary used by the CPU

15.
What is a translator?
a)
A program that converts commands into machine code
b)
A program that converts HLL to assembly code
c)
A program that converts the inputs from a keyboard
d)
A program for writing code
16.

What would you use to convert high-level source code to machine code?

a)

Interpreter

b)

Assembler

c)

Compiler

17.

Select two advantages of high level languages

a)

Easier to learn

b)

Executes very fast

c)

The code will occupy less memory

d)

Programs can be written faster

18.

Select two advantages of low level languages

a)

Easier to learn

b)

Executes very fast

c)

The code will occupy less memory

d)

Programs can be written faster

19.

Processors only understand instructions written in 1s and 0s.

a)

Machine language

b)

Assembly language

c)

High Level language

20.

They use key words such as print, If, while and program, in logic rather than dealing with hardware

a)

Assembly Language

b)

Machine Code

c)

High level lanaguage

21.

which two statements are true of an interpreter?

a)

the translation is done once only and as a separate process

b)

when an error is found this is reported and it stops. It pinpoints the error so the programmer knows where it has occurred

c)

the program can be easily edited as it always exists as source code

d)

the program that is run is already translated into machine code so it can be executed more rapidly

22.

which two statements are true of a compiler?

a)

the translation is done once only and as a separate process

b)

when an error is found this is reported and it stops. It pinpoints the error so the programmer knows where it has occurred

c)

the program can be easily edited as it always exists as source code

d)

the program that is run is already translated into machine code so it can be executed more rapidly