
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
12 questions
British film, tv and leisure

Quiz
•
Professional Development
18 questions
MSFFDM4014 - Produce manual and CAD

Quiz
•
Professional Development
13 questions
day1

Quiz
•
Professional Development
10 questions
Python Basics

Quiz
•
Professional Development
11 questions
functions

Quiz
•
Professional Development
20 questions
the truth table - boolean logic (python - lpthw)

Quiz
•
Professional Development
10 questions
Python Workshop

Quiz
•
Professional Development
10 questions
Learning without Tears - Training Week 1

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade