
Python Programming Quiz Unit 2
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Hard
Chayan Bhattacharjee
FREE Resource
Enhance your content in a minute
70 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, strings are:
Mutable
Immutable
Changeable
Partially mutable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these creates a multi-line string in Python?
Triple quotes
Double quotes
Single quotes
Curly braces
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does len("Python") return?
5
6
7
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, lists are:
Immutable
Mutable
Static in size
Immutable but sortable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add a single element at the end of a list?
append()
extend()
insert()
add()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to repeat a string in Python?
+
*
%
**
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of "Hello" + "World"?
HelloWorld
Hello World
Hello+World
Error
Create a free account and access millions of resources
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
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
