
Python Term 2 - Quiz 3
Authored by Tomasz Michalski
Computers
6th - 8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to check if a variable number has a value of 3?
if number = 3:
if number == 3:
if number is 3:
if number(3):
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the font object from pygame module used for?
for using fonts
for using sounds
pygame does not have a font object
for using images
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is needed to create an object?
a class
a function
a method
a loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a class and an object?
There's no difference
Objects are created from classes
You cannot call objects
Classes cannot have attributes (values)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used in creating functions?
function
def
try
import
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What instruction is used to display text in the console?
echo
output
console.write
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed into the console? print(22 % 3)
7
0
1
5
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
11 questions
Computer Programming: Graphics
Quiz
•
8th - 11th Grade
10 questions
Flash Concepts
Quiz
•
7th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
7 questions
1.3 Customize graphic objects
Quiz
•
6th Grade - University
10 questions
Animation Interface
Quiz
•
7th - 8th Grade
10 questions
Grade 8- Microsoft Visual Studio 2015
Quiz
•
8th Grade
9 questions
Introduction To Python
Quiz
•
6th - 8th Grade
14 questions
KS3 Vector Graphics Topic Assessment
Quiz
•
6th - 8th 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