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
What operator is used in Python to find the remainder of a division?
/
*
%
//
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 Wayground
40 questions
Flowchart planning and Programming Constructs

Quiz
•
6th Grade
35 questions
Edublocks and Python

Quiz
•
6th Grade
40 questions
Coding Final Exam 2025

Quiz
•
6th Grade
35 questions
CSIM Final Exam Review

Quiz
•
6th - 7th Grade
43 questions
REVIEW Unit 1 Computers, Information Processing, and Storage

Quiz
•
6th Grade
36 questions
Microsoft Digital Literacy Computer Basics

Quiz
•
6th - 8th Grade
40 questions
END OF TERM EXAMS-YEAR 6

Quiz
•
6th Grade
38 questions
Input Output devices - a lesson

Quiz
•
1st Grade - University
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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Digital Footprint

Quiz
•
6th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade