WORKSHEET ON TEXT HANDLING IN PYTHON - 3

WORKSHEET ON TEXT HANDLING IN PYTHON - 3

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Python Quiz

Python Quiz

12th Grade

11 Qs

Unit 1 Post Test: Basic Python

Unit 1 Post Test: Basic Python

9th - 12th Grade

10 Qs

Problem Solving using Python and R - UNIT II - Dictionary

Problem Solving using Python and R - UNIT II - Dictionary

12th Grade

15 Qs

Python Domain

Python Domain

10th - 11th Grade

13 Qs

Quiz on String

Quiz on String

12th Grade

15 Qs

Python Quiz

Python Quiz

12th Grade

15 Qs

WORKSHEET ON TEXT HANDLING IN PYTHON - 3

WORKSHEET ON TEXT HANDLING IN PYTHON - 3

Assessment

Quiz

Computers

11th - 12th Grade

Hard

Created by

RANJITA SARKAR

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('{0:.2}'.format(1/3))

a) 0.333333

b) 0.33

c) 0.333333:.2

d) Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('{0:.2%}'.format(1/3))

a) 0.33

b) 0.33%

c) 33.33%

d) 33%

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('ab12'.isalnum())

a) True

b) False

c) None

d) Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('ab,12'.isalnum())

a) True

b) False

c) None

d) Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('ab'.isalpha())

a) True

b) False

c) None

d) Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?print('a B'.isalpha())

a) True

b) False

c) None

d) Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code snippet?print('0xa'.isdigit())

a) True

b) False

c) None

d) Error

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?