Strings, Variables & Concatenation Practice

Strings, Variables & Concatenation Practice

9th Grade

12 Qs

quiz-placeholder

Similar activities

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

Revision Gr2-2025

Revision Gr2-2025

3rd Grade - University

12 Qs

Cyber Security

Cyber Security

1st - 10th Grade

10 Qs

Acceptable Use Policy

Acceptable Use Policy

6th - 9th Grade

16 Qs

Programing test

Programing test

1st Grade - University

10 Qs

Programs and Variables in Code and Play

Programs and Variables in Code and Play

5th - 9th Grade

7 Qs

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

Strings, Variables & Concatenation Practice

Strings, Variables & Concatenation Practice

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Elise Laio

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create a free account and access millions of resources

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?

Discover more resources for Computers