
MODULE 3_Python
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Sumathi K
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods is used to add a new key-value pair to a Python dictionary?
add()
insert()
append()
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet?
[‘a’, ‘b’, ‘c’]
(‘a’, ‘b’, ‘c’)
dict_keys([‘a’, ‘b’, ‘c’])
{‘a’, ‘b’, ‘c’}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet?
(‘a’, 1), (‘b’, 2), (‘c’, 3)]
((‘a’, 1), (‘b’, 2), (‘c’, 3))
dict_items([(‘a’, 1), (‘b’, 2), (‘c’, 3)])
{(‘a’, 1), (‘b’, 2), (‘c’, 3)}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods is used to add an element to the end of a list in Python?
append()
add()
insert()
extend()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code snippet?
[3, 4]
2, 3, 4]
[1, 2, 3]
[4, 5]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following Python code snippet do?
Prints “Hello, World!” in lowercase
Converts “Hello, World!” to uppercase and prints it
”
Reverses the string “Hello, World!”
Removes all whitespace characters from the string “Hello, World!
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the isupper() method return if all characters in a string are uppercase?
True
False
1
Error
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Software Security
Quiz
•
University - Professi...
10 questions
C Programming
Quiz
•
Professional Development
10 questions
BASIC OF COMPUTER
Quiz
•
Professional Development
10 questions
Web Browsing
Quiz
•
10th Grade - Professi...
10 questions
SUBMARINE LIFE
Quiz
•
10th Grade - Professi...
13 questions
G Suite
Quiz
•
4th Grade - Professio...
10 questions
Python-Quiz-Basic-Datatypes
Quiz
•
12th Grade - Professi...
10 questions
ER Model
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
