Search Header Logo

STRING MANIPULATION (PYTHON)

Computers

11th - 12th Grade

Used 503+ times

STRING MANIPULATION (PYTHON)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?