String & String Functions

String & String Functions

12th Grade

10 Qs

quiz-placeholder

Similar activities

12 CS Lesson-9

12 CS Lesson-9

12th Grade

10 Qs

Python Basics Quiz

Python Basics Quiz

9th - 12th Grade

12 Qs

கணினி பயன்பாடுகள் பாடம் 11.2.2

கணினி பயன்பாடுகள் பாடம் 11.2.2

12th Grade

10 Qs

12 CS Lesson-1

12 CS Lesson-1

12th Grade

10 Qs

12 CS Lesson-14

12 CS Lesson-14

12th Grade

10 Qs

Python String Slice

Python String Slice

4th Grade - University

10 Qs

Java String Methods

Java String Methods

10th - 12th Grade

10 Qs

Lesson 15

Lesson 15

12th Grade

10 Qs

String & String Functions

String & String Functions

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Gopalakrishnan Angamuthu

Used 34+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...

str1 = "PYnative"

print(str1[1:4], str1[:5], str1[4:], str1[0:-1], str1[:-1])

PYn PYnat ive PYnativ vitanYP

Yna PYnat tive PYnativ vitanYP

Yna PYnat tive PYnativ PYnativ

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...

str1 = "my isname isisis jameis isis bond";

sub = "is";

print(str1.count(sub, 4))

5

6

7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...

str1 = 'Welcome'

print (str1[:6] + ' PYnative')

Welcome PYnative

WelcomPYnative

Welcom PYnative

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"welcome to the beautiful world of python" என்ற சரத்தை "Welcome To The Beautiful World Of Python" என மாற்றப் பயன்படும் செயற்கூறு எது?

capitalize ()

title()

upper()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...

print("John" > "Jhon")

print("Emma" < "Emm")

True

False

False

True

True

True

False

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...

min('strings')

s

r

i

g

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

பின்வரும் குறிமுறையின் வெளியீடு எவ்வாறு இருக்கும் ...

print('san' 'thosh')

san thosh

san

santhosh

thosh

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?