wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

1.3 Basic Concatenation

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which word means a series of interconnected things?

a)

Condogenation

b)

Concatenation

c)

Conbirdenation

d)

Conrabbitenation

2.

Where's the mistake in this code?

a)

Missing speech mark on first string

b)

Missing speech mark on second string

c)

misspelling of string

d)

Missing spelling on quiz

3.

How many strings in this code?

a)

1

b)

2

c)

3

d)

4

4.

The strings in this code are joined by what?

a)

a "+" symbol

b)

an "=" symbol

c)

a string

d)

an output

5.

What's this an example of?

a)

Joining three sentences together

b)

Printing one string

c)

Concatenation

d)

Using a variable

6.

What will this code do?

a)

Nothing...there's a mistake in it

b)

Input ("This is a Python quizziz")

c)

Print ("This is a Python quiz")

d)

Print ("This is a Python quizziz")

7.

Where's the mistake in this code?

a)

Incorrect spelling of print

b)

Missing speech marks on "the stadium"

c)

Missing speech marks on "people"

d)

Missing "str" before the numbers

8.

Where's the error in this code?

a)

Python can't add numbers

b)

Missing "+" sign

c)

Missing "str" before the numbers

d)

Missing brackets

9.

What does the "str" in this code stand for?

a)

String

b)

Stand

c)

Stressed

d)

Stranded

10.

What will this code print?

a)

The Stadium of Light has a capacity of

b)

Nothing - there's a mistake in the code

c)

The Stadium of Light has a capacity of 24500 people

d)

The Stadium of Light has a capacity of 49000 people