wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer BTEC U1 quiz terms

Total questions: 14

Worksheet time: 14mins

Name
Class
Date
1.

When working with Strings, "+" means...

a)

addition

b)

swap

c)

concatenation

d)

multiplication

2.

str1 = '101'

x = STRING_TO_INT(str1)

z= x + 400

OUTPUT z

a)

101400

b)

x400

c)

501

d)

none of the above

3.

fruit1 = "kiwi"

fruit2 = "strawberry"

OUTPUT fruit1.LENGTH

OUTPUT fruit2.LENGTH

a)

kiwi and strawberry

b)

4

10

c)

5 11

d)

5

11

4.

str = "BOnVoyage"

OUTPUT str.SUBSTRING(0,5)

a)

BOnVoy

b)

BOnVo

c)

oyage

d)

bonvo

5.

What letter will be printed on the screen after running this code?

a)

e

b)

t

c)

x

d)

Nothing prints

6.

Code executed based on a condition being true..

a)

Sequence

b)

Selection

c)

Iteration

d)

Variable

7.

What does the following code do?


myAge - STRING_TO_INT(myAge)

a)

Converts the variable myAge to a string

b)

Converts the variable myAge to an integer

c)

Converts the variable myAge from a integer to a string

d)

Converts the variable myAge to an if statement

8.

For loops, while loops and repeat until loops are all examples of:

a)

selection

b)

iteration

c)

sequencing

9.
Which type of loop iterates until instructed otherwise?
a)
FOR loop
b)
A count-controlled loop
c)
Repeat-once loop
d)
WHILE loop
10.
What does this flowchart symbol represent?
a)
data input / output
b)
decision
c)
start / end
d)
process / sequence
11.

What is decomposition?

a)

Adding detail to make a problem more complex

b)

Breaking down a complex problem or system into smaller, more manageable parts

c)

When you ignore the unnecessary detail in a problem

12.

Why do we need to look for patterns in problems?

a)

Patterns make it easier for us to solve complex problems

b)

We don't need to look for patterns

c)

Patterns make it more difficult complex problems

13.
a)

heart,heart,heart

b)

octagon, octagon, octagon

c)

octagon, heart, octagon

d)

octagon, octagon, heart

14.

How would you describe this pattern's rule? 16, 11, 6, 1

a)

Add 5

b)

Subtract 3

c)

Subtract 5

d)

Subtract 6