Python String Methods

Python String Methods

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

20 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What are strings in Python?

Back

characters (text)

2.

FLASHCARD QUESTION

Front

What is one way to print the statement below:
It’s a Wonderful Life!
Options:
print( “It’s a Wonderful Life!’ ),
print ( ‘It’s a Wonderful Life!’ ),
print ( It’s a Wonderful Life! ),
print ( “It’s a Wonderful Life!” )

Back

print ( “It’s a Wonderful Life!” )

3.

FLASHCARD QUESTION

Front

What will print out as a result of this code? Options: Quint, quint, QUINT, QuInT

Back

QUINT

4.

FLASHCARD QUESTION

Front

In the code that you see, am I using the upper method on a string or an a variable?

Back

string

5.

FLASHCARD QUESTION

Front

What is the outcome of running this code? Options: LOVELACE, Ada, ADA lovelace, LOVELACE, none of the above

Back

LOVELACE, Ada

6.

FLASHCARD QUESTION

Front

What character begins a comment?

Back

#

7.

FLASHCARD QUESTION

Front

How do you combine two strings?

Back

string1 + string2

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?