
WORKSHEET ON TEXT HANDLING IN PYTHON - 3

Quiz
•
Computers
•
11th - 12th Grade
•
Hard
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
Similar Resources on Wayground
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
10 questions
RL Python Basics Quiz 1

Quiz
•
9th - 12th Grade
10 questions
Python L2

Quiz
•
10th - 11th Grade
15 questions
Python Basics Quiz 1

Quiz
•
8th Grade - University
12 questions
Python Loops

Quiz
•
9th - 11th Grade
10 questions
Python Testing

Quiz
•
9th - 12th Grade
15 questions
Problem Solving using Python and R - UNIT II - Tuples

Quiz
•
12th Grade
10 questions
10 CS // Pseudocode

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade