Search Header Logo

STRING MANIPULATION (PYTHON)

Computers

11th - 12th Grade

Used 500+ times

STRING MANIPULATION (PYTHON)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

what is a string?

any numeric value

any float value

any character value

any special symbol value

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

how we store string value in variable?

'string'

"string"

%string%

#sring#

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

addition

swapp

concatenation

multiplication

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

str1='101'

x=int(str1)

z=x+400

print(z)

101400

x400

501

none of above

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

fruit1="kiwi"

fruit2="strawberry"

print(len(fruit1))

print(len(fruit2))

kiwi and strawberry

4

10

4 10

410

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

index of a string begins with

1

0

a

-1

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

slicing string X="BOnVoyage"

print X[0:5]

BOnVoy

BOnVo

oyage

bonvo

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?