Search Header Logo

L.8. STRINGS AND STRING MANIPULATION -1

Authored by Geetha Geetha

Computers

12th Grade

Used 28+ times

L.8. STRINGS AND STRING MANIPULATION -1
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

30 sec • 1 pt

1.____________ is a data type in python, which is used to handle an array of characters.

char

String

integer

floating

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Defining strings within _______ quotes also allows the creation of multiline strings.

single

double

triple

none of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Python provides a function _______ to change all occurrences of a particular character in a string.

exchange()

reproduce()

change()

replace()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Joining of two or more strings is called as _______________ .

Append

Stride

slice

Concatenation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. ___________ is also known as slicing operator.

< >

( )

{ }

[ ]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. what is a string?

any numeric value

any float value

any character value

any special symbol value

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

addition

Swapp

concatenation

multiplication

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

Already have an account?