wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WJEC 1.6 Principles of Programming

Total questions: 20

Worksheet time: 12mins

Name
Class
Date
1.

A high level programming language is...

a)

very efficient on the processor

b)

easy for humans to read

c)

interpreted or compiled

d)

multiple instructions per statement

e)

assembled

2.

A low level programming language is...

a)

very efficient on the processor

b)

easy for humans to read

c)

interpreted or compiled

d)

multiple instructions per statement

e)

assembled

3.

An example of a high level programming language is...

a)

Python

b)

Assembly code

c)

Machine code

4.

An example of a low level programming language is...

a)

Python

b)

Assembly code

c)

Machine code

5.

Machine code is...

a)

The lowest level of code

b)

Only made of 1s and 0s

c)

Easy for humans to read

d)

Translated before it can be run.

6.

Natural language is...

a)

what humans use to communicate normally

b)

similar to high level coding

c)

A special type of programming language

7.

An assembler...

a)

Turns high level code into machine code

b)

Turns assembly code into machine code

c)

Is useful where you need very fast code

d)

Executes slower than compilers or interpreters.

8.

Python is an example of 

a)
Machine Code
b)
High Level Language
c)
Assembly Language
d)
Low Level Langauge
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.
Which of these is NOT an example of a High Level Language?
a)
Python
b)
Java
c)
C++
d)
Avalon
12.

Select two uses of low level languages

a)

Often used in the programs used by embedded systems, such as those in cameras, microwaves and televisions, as it can be used to directly control system behaviour

b)

Less time consuming to write and quicker to test

c)

Programs are portable from one machine to another

d)

They are used to write device drivers and real-time systems where speed is essential

13.

Select two uses of high level languages

a)

Often used in the programs used by embedded systems, such as those in cameras, microwaves and televisions, as it can be used to directly control system behaviour

b)

Less time consuming to write and quicker to test

c)

Programs are portable from one machine to another

d)

They are used to write device drivers and real-time systems where speed is essential

14.
Instance (one version) of a class
a)
object
b)
method
c)
variable
d)
void
15.
An operation that an object can do. I.e. a bit of code that makes the object work.
a)
method
b)
class
c)
object
d)
program
16.
Which part means the method does not return anything?
a)
public
b)
void
c)
act
d)
( )
17.
Which part means the method can be accessd by other objects?
a)
public
b)
void
c)
act
d)
( )
18.
Which part contains inputs to the method (parameters)?
a)
public
b)
void
c)
act
d)
( )
19.
Which is the name of the method?
a)
public
b)
void
c)
act
d)
( )
20.
You have a Wombat on screen.  This method is called  whenever you do whatever the Wombat  wants to do. This method is called whenever 'Run' button gets pressed in the environment.
a)
act()
b)
move()
c)
setLocation()