String methods in Python

String methods in Python

KG - Professional Development

19 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

8th - 12th Grade

23 Qs

Python-ICT

Python-ICT

8th Grade

20 Qs

EXCEPTION HANDLING IN PYTHON

EXCEPTION HANDLING IN PYTHON

University

22 Qs

Python

Python

11th Grade

20 Qs

Python Revision

Python Revision

8th Grade

15 Qs

GCSE J277 - 2.3.2 - Syntax and Logic Errors

GCSE J277 - 2.3.2 - Syntax and Logic Errors

7th Grade

20 Qs

Dasar - dasar Komputer

Dasar - dasar Komputer

10th Grade

20 Qs

What's the Icon?

What's the Icon?

9th - 12th Grade

20 Qs

String methods in Python

String methods in Python

Assessment

Quiz

Computers

KG - Professional Development

Hard

Created by

Anastasiia Maslechko

Used 6+ times

FREE Resource

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

print(capitalize("ABBA"))

ABBA

aBBA

abba

Error

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

print(capitalize("plotter"))

Plotter

PLOTTER

plotter

Error

3.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

print("New Age".lower())

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

print("TeLeGrAm".casefold())

tElEgRaM

TELEGRAM

telegram

Error

TeLeGrAm

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

print("ABACUS".count('b'))

1

2

0

Error

6

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

print("linear algebra".count("a"))

3

14

0

Error

2

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

word = "sucaba!"

print("yes" if word.endswith('a') else "ok")

yes

no

ok

error

Create a free account and access millions of resources

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

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

Already have an account?