1. Which of the following is a valid variable name in Python?

Python Basics Quiz

Quiz
•
Other
•
University
•
Medium
Nana Amoah
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
1_variable
my-variable
my_variable
if
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of print(5 + 3 * 2)?
16
11
13
10
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operator is used to get the remainder of a division in Python?
/
%
//
**
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will print(type(10.5)) output?
<class 'int'>
<class 'float'>
<class 'double'>
<class 'str'>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(10 // 3)?
3
3.33
3.0
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a numeric data type in Python?
int
float
complex
bool
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(not (5 > 3))
False
Error
None
True
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Tech quiz Round 1

Quiz
•
University
12 questions
Brainy Bites: Python

Quiz
•
University
10 questions
Java set 1

Quiz
•
University
11 questions
Junk Genius

Quiz
•
University
10 questions
PYTHON set4

Quiz
•
University
14 questions
Intro to Python Programming Quiz 9D

Quiz
•
1st Grade - University
12 questions
CS201: Chapter 1

Quiz
•
University
10 questions
Lección 3 - Lenguaje de programación: Python

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade