wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Revision

Total questions: 32

Worksheet time: 16mins

Name
Class
Date
1.

What is pseudocode?

a)

A way to encode a message

b)

A way to represent algorithms using written language

c)

A way to decode a message

d)

A way to represent algorithms using encrypted language

2.

Which statement about pseudocode is correct?

a)

There is no specific syntax

b)

The syntax is exactly like python

c)

There is a very strict syntax

d)

The syntax is exactly like Arduino

3.

Look at the code below.What is this an example of?

a)

Sequence

b)

Selection

c)

Repetition

d)

Looping

4.

What is the meaning of the operator?

a)

Equal to

b)

Less than equal to

c)

Greater than or equal to

d)

Not equal to

5.

Which loop do you use to repeat only 5 times?

a)

If

b)

For loop

c)

Never ending loop

d)

Selection

6.

What operator do you use to assign a variable?

a)

==

b)

-

c)

*

d)

=

7.

What is the error in the code?

a)

The variable "three_years_time" is too long

b)

Line 3 should have = not ==

c)

There are no errors in the code

d)

The variables on lines 1 and 2 should start with capital letters

8.

What is the term for breaking down problems into smaller parts?

a)

Algorithmic thinking

b)

Abstract

c)

Decomposition

d)

Repetition

9.

How would you show decomposition when programming a car simulator?

a)

Write code for everything together at once

b)

Write separate code for each separate part

c)

Write code for the wheels only

d)

Write code for the engine only

10.

Which is the best way to represent the decision symbol in the flowchart?

a)

Use the print statement

b)

Use an if statement

c)

Use an input command

d)

Use an output command

11.

What data type is 75?

a)

Boolean

b)

String

c)

Integer

d)

Float

12.

Which component gives a sound output?

a)

LED

b)

Buzzer

c)

Servomotor

d)

Push button

13.

Which component outputs light?

a)

LED

b)

Buzzer

c)

Ambient light sensor

d)

Servomotor

14.

You are building a system. It will need to know when it is day or night. What component should you use?

a)

LED

b)

Buzzer

c)

Rotation sensor

d)

Ambient light sensor

15.

You have a car. It does not work when it is too cold. What component can you use to help?

a)

Buzzer

b)

Ambient light sensor

c)

Servomotor

d)

Temperature sensor

16.

What is the smallest unit of digital data?

a)

Hexadecimal digit

b)

Denary digit

c)

Decimal digit

d)

Binary digit

17.

Which computer code do we use to store alpha-numeric text characters (characters on a keyboard) as binary digits?

a)

Alphabet

b)

Denary

c)

ASCII

d)

Hexadecimal

18.

Some methods used to create algorithms are pseudocode and ___________.

a)

pie charts

b)

flowcharts

c)

bar charts

d)

bar charts

19.

What is a variable?

a)

A number

b)

A basic data storage

c)

A function

d)

A value

20.

Which data type is used to represent text?

a)

String

b)

Float

c)

Integer

d)

Boolean

21.

What does the "print" function do in Python?

a)

Assign values to variables

b)

Display output on the screen

c)

Perform mathematical operations

d)

Inputs a value

22.

Which computational tool can you use to collect data from the environment?

a)

Survey

b)

Presentation software

c)

Infrared sensor

d)

Google forms

23.

Which computational tool can you use to collect data from people easily?

a)

Motion sensor

b)

Presentation sensor

c)

Google forms

d)

Infrared sensor

24.

Look at the decision tree below. Which question will lead to a bird?

a)

Does it have four legs? -> Can it fly?

b)

Does it have four legs? -> Does it have paws? -> Does it bark?

c)

Can it fly?

d)

Does it bark? -> Can it fly? -> Does it have paws?

25.

Why do you use data transformation?

a)

To make data more difficult to understand

b)

To make data cheaper to use

c)

To make data easier to understand

d)

To make data more expensive to use

26.

Look at the decision tree below. Which animal do you get to if you follow these statements [It has 4 legs -> It does not have paws]?

a)

Dog

b)

Cat

c)

Horse

d)

Bird

27.

Below is a survey of a class on popular future jobs. Why is the data biased?

a)

There are only five jobs

b)

No girls were asked

c)

No boys were asked

d)

The engineer has only two votes

28.

Tis is a decision tree for fruit. What do we use it for?

a)

A computer will use this to make decisions

b)

A person will use this to see what to eat

c)

A computer will use this to decide which color is best

d)

A person will use this to choose the car they want

29.

You are training an AI to identify apples and oranges. You have 20 pictures of apples and 2 pictures of oranges. The AI is not good. How can you improve it?

a)

Have more pictures of oranges

b)

Have fewer pictures of oranges

c)

Have more pictures of apples

d)

Have pictures of pears and strawberries

30.

What question should the computer ask to get to the carrot?

a)

Carrot

b)

Is it a fruit or vegetable? -> Is it a fruit? -> Is it orange?

c)

Is it a fruit? -> Kiwi -> Is it a sunflower seed?

d)

Is it a person? -> Kiwi

31.

Which number system has 16 different digits?

a)

Binary

b)

Hexadecimal

c)

Decimal

d)

Denary

32.

What is the name of the character set used to represent text and numbers?

a)

Binary

b)

Hexadecimal

c)

ASCII

d)

Decimal