How to check if a variable number has a value of 3?

Python Term 2 - Quiz 3

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Tomasz Michalski
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Python L2- Quiz 1

Quiz
•
5th - 12th Grade
10 questions
Python Turtle - Knowledge Check

Quiz
•
7th - 8th Grade
15 questions
Pygame Shapes

Quiz
•
8th Grade
10 questions
Пајгејм 01

Quiz
•
7th - 8th Grade
10 questions
Списки Python + Pygame

Quiz
•
KG - University
10 questions
Управление персонажем с клавиатуры

Quiz
•
KG - 9th Grade
13 questions
Python Basics (Y9)

Quiz
•
8th - 10th Grade
14 questions
Lists, Subroutines and Sequence in Pseudocode - Python

Quiz
•
1st - 11th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade