STRING MANIPULATION (PYTHON)

STRING MANIPULATION (PYTHON)

Assessment

Flashcard

Computers

11th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

what is a string?

Back

any character value

2.

FLASHCARD QUESTION

Front

For string symbol + means........................

Back

concatenation

3.

FLASHCARD QUESTION

Front

What is the output of the following code?
str1='101'
x=int(str1)
z=x+400
print(z)

Back

501

4.

FLASHCARD QUESTION

Front

What are the lengths of the strings 'kiwi' and 'strawberry'?

Back

4
10

5.

FLASHCARD QUESTION

Front

index of a string begins with

Back

0

6.

FLASHCARD QUESTION

Front

slicing string X="BOnVoyage"
print X[0:5]

Back

BOnVo

7.

FLASHCARD QUESTION

Front

Slicing string
x="BOnvoyage"
print(x[4: ])

Back

voyage

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?