Python Strings: words, letters and text

Python Strings: words, letters and text

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

JavaScript Variables Quiz

JavaScript Variables Quiz

10th Grade

19 Qs

Data Type

Data Type

7th - 12th Grade

20 Qs

AQA GCSE Computer Science - 3.2.2 Programming Concepts

AQA GCSE Computer Science - 3.2.2 Programming Concepts

8th - 10th Grade

20 Qs

Python Strings & Lists

Python Strings & Lists

11th - 12th Grade

20 Qs

8525 AQA GCSE 3.2.1 Data Types

8525 AQA GCSE 3.2.1 Data Types

10th - 11th Grade

15 Qs

Data Structures: 1D,2D & List

Data Structures: 1D,2D & List

11th Grade

17 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

1) Python Data Types

1) Python Data Types

8th - 11th Grade

19 Qs

Python Strings: words, letters and text

Python Strings: words, letters and text

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Sofia d'Orey

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is a string?
A number
A bit of text
A variable
A quote

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image
Strings can be made up of:
Words
Numbers
Symbols

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

True or false: strings can only be surrounded by single quotes.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

A ParseError can happen when you forget quotes on one side of the String or use both single and double quotes.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
How can you make multi-line Strings?
Use a single and a double quote
Use three sets of single quotes
Press Enter
Use three sets of double quotes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

True or False: Although Strings are text, you can add them together.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does it mean to add Strings together?
Adding the values of the letters of the Strings
Joining the Strings together
Adding the values of the numbers in the String
You cannot add Strings

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?