
Python Programming Quiz

Quiz
•
Other
•
12th Grade
•
Medium
Mamta Kaundal
Used 2+ times
FREE Resource
52 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
2variable
my_var
break
var-name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? print(type("Hello"))
<class 'char'>
<class 'string'>
<class 'str'>
<class 'text'>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a keyword in Python?
def
class
return
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of 5 + 3 * 2 in Python?
16
11
13
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? a = 10 b = 5 a, b = b, a print(a, b)
10 5
5 10
5 5
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is immutable in Python?
List
Dictionary
Tuple
Set
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python statement? print(10 > 5 and 5 < 3)
True
False
Error
None
Create a free account and access millions of resources
Similar Resources on Wayground
51 questions
FFA Quiz

Quiz
•
9th - 12th Grade
50 questions
Banking Review

Quiz
•
11th - 12th Grade
55 questions
Examination - PR2

Quiz
•
12th Grade
53 questions
Chapter 3 Quizizz Review

Quiz
•
12th Grade - University
50 questions
Personal Finance Knowledge Check

Quiz
•
9th - 12th Grade
54 questions
1 KAPPALE

Quiz
•
9th - 12th Grade
47 questions
Pre-Assessment - Interviewing

Quiz
•
10th - 12th Grade
50 questions
24NTP

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade