Search Header Logo

Strings, Variables & Concatenation Practice

Authored by Elise Laio

Computers

9th Grade

Used 15+ times

Strings, Variables & Concatenation Practice
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the '#' allow you to do?

Repeat code

Comment on code

Print code

End code

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a Syntax Error?

A problem with the language ("grammar") used

A problem with the logical structure used

A problem with the version of Python used

A problem with the Operating System

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output?

name = ("Dave")

print (name)

Dave

"Dave"

name

(name)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When you have an error in your code what is the term used to define finding and fixing that error?

Error checking

Debugging

Syntax finder

Error finder

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code?
print("Hello world!")

SyntaxError
Hello world!
"Hello world!"
print(Hello world!)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Joining elements together is called what in Python?

Combining
Connecting
Concatenation
Stringing

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Q. What will the output be from the following code?

print("Hello" + "my" + "friends" )

Hello my friends

Hellomyfriends

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?