Python Quiz 1 and 2
Quiz
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
Archie Miranda
Used 2+ times
FREE Resource
Enhance your content in a minute
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
35 questions
Windows 10 Configuration
Quiz
•
1st - 10th Grade
37 questions
Computer Terms
Quiz
•
6th - 12th Grade
35 questions
Code.org Unit 2 Web Development
Quiz
•
6th - 12th Grade
35 questions
Spreadsheet Basics
Quiz
•
6th - 8th Grade
35 questions
Digital Citizenship and Social media
Quiz
•
6th - 8th Grade
40 questions
MS office 2016
Quiz
•
1st Grade - Professio...
37 questions
IC3 GS6 Domain 1 Assessment
Quiz
•
6th - 12th Grade
41 questions
Ponavljanje - moje računalo (3. razred)
Quiz
•
2nd - 6th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
