STRING MANIPULATION (PYTHON)

STRING MANIPULATION (PYTHON)

Assessment

Flashcard

Computers

11th - 12th Grade

Hard

Created by

Quizizz 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

8.

FLASHCARD QUESTION

Front

"help" in "a="god help those who help themselves""

Back

true

9.

FLASHCARD QUESTION

Front

What is the output of the following Python function?
```python
s=lower("INDIA")
print(s)
```

Back

india