Search Header Logo

L.8. STRINGS AND STRING MANIPULATION - 2

Authored by Geetha Geetha

Computers

12th Grade

Used 12+ times

L.8. STRINGS AND STRING MANIPULATION - 2
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. Formatting character for string is ___________ .

%d

%s

%u

%f

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Escape sequences starts with a ________________ .

/

\

#

$

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Escape sequences for ASCII Horizontal Tab is ___________

\n

\r

\t

\v

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. The _____________ are used as placeholders which get replaced along with format( ) function.

[ ]

( )

{ }

none of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. _____ function return true if the string contains only letters.

isalpha()

isalnum()

isdigit()

swapcase()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. ____________ operators are called as Membership Operators.

'with in' and 'not in'

'out' and 'not in'

'in' and 'out'

‘in’ and ‘not in’

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. a="god help those who help themselves"

"help" in "a"

true

false

wrong out put

error

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?