What operator is used in Python to find the remainder of a division?
Python Quiz 1 and 2

Quiz
•
Computers
•
6th Grade
•
Hard
Archie Miranda
Used 2+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
/
*
%
//
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the remainder when an even number is divided by 2?
0
1
2
Undefined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the remainder when an odd number is divided by 2?
0
1
2
Undefined
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? num = 8 if num % 2 == 0: print("Even") else: print("Odd")
Odd
Even
Error
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you take user input in Python?
input()
print()
read()
scan()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to convert user input into an integer?
int(input())
float(input())
str(input())
bool(input())
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the user enters a non-numeric value and we try to convert it using int(input())?
The program will print the value
The program will crash with a ValueError
The program will return None
The program will treat it as 0
Create a free account and access millions of resources
Similar Resources on Quizizz
35 questions
Hazel Park M/W S1 Advanced Post Assessment

Quiz
•
6th - 8th Grade
40 questions
server installation

Quiz
•
1st Grade - University
42 questions
Computing Essentials (final Exam Review )

Quiz
•
6th - 8th Grade
40 questions
OPERATING SYSTEM

Quiz
•
6th Grade
40 questions
Lego EV3 - Basics

Quiz
•
6th - 8th Grade
35 questions
PLTW CSIM Lesson 1 Assessment

Quiz
•
5th - 9th Grade
40 questions
Basic and Advanced Programming Questions - Final Project

Quiz
•
6th Grade
39 questions
6th Grade Computer Science ~ Final Exam

Quiz
•
6th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions

Quiz
•
6th Grade
9 questions
1. Types of Energy

Quiz
•
6th Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
6 questions
Final Exam: Monster Waves

Quiz
•
6th Grade
10 questions
Final Exam Grandfather's Chopsticks

Quiz
•
6th Grade