Python strings

Python strings

University

25 Qs

quiz-placeholder

Similar activities

PHP First Internal Practical Viva

PHP First Internal Practical Viva

University

20 Qs

ICT WEBINAR QUIZ

ICT WEBINAR QUIZ

KG - Professional Development

20 Qs

ISPM2  Quiz 1

ISPM2 Quiz 1

University

20 Qs

Industrial Electronics Prelim Quiz 1

Industrial Electronics Prelim Quiz 1

University

20 Qs

Quiz UTS Mata Pelajaran Sistem Komputer

Quiz UTS Mata Pelajaran Sistem Komputer

9th Grade - University

20 Qs

Motherboard

Motherboard

10th Grade - University

20 Qs

IT (data, viruses and more)

IT (data, viruses and more)

8th Grade - Professional Development

20 Qs

Python strings

Python strings

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

dhruv patel

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What letter will be printed on the screen after running this code:

e
x
t
Nothing prints

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will this code produce?

Exeter
4
6
city

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will this code produce?

Exeter
4
6
city

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

word = "amazing"


For the given string if we run word[2:5] , what would the result be?

mazi

mazin

azi

azin

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a valid string function?

isalphanumeric

isspace

islower

isalnum

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

string="HELlo"

What will be the result of string.isupper()?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is printed by the following statement?

print("P" not in "APCSP")

True

False

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

Already have an account?