
Python Basics Quiz

Quiz
•
Other
•
Professional Development
•
Medium
SANJANA PRASAD
Used 6+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of type(10) in Python?
<class 'str'>
<class 'float'>
<class 'int'>
<class 'bool'>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid Boolean value in Python?
TRUE
true
False
Yes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of: 3 > 2 and 5
A) False
B) True
C) 0
D) SyntaxError
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a comparison operator in Python?
==
!=
=
>=
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. What is the output of 10 == '10'
A) True
B) False
C) TypeError
D) None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of bool(0)?
True
False
0
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used to stop the execution of the loop and continue with the next iteration?
return
break
continue
exit
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Workshop

Quiz
•
Professional Development
10 questions
dance

Quiz
•
KG - Professional Dev...
15 questions
Band Instruments

Quiz
•
6th Grade - Professio...
12 questions
British film, tv and leisure

Quiz
•
Professional Development
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
10 questions
Google Classroom

Quiz
•
Professional Development
12 questions
4. Test Techniques

Quiz
•
Professional Development
12 questions
Fortnite dances

Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade