
Python Term 2 - Quiz 2

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Tomasz Michalski
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With what symbol can we access attributes and methods of an object?
.
-
*
:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In what way can we display an image on a screen by using the pygame module?
display.draw(image, (20, 20))
display.blit(image, (20, 20))
image.draw(display, (20, 20))
display.display(image, (20, 20))
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to set the size of the display?
pygame.display.set_mode()
pygame.display.set_screen()
pygame.display.set_size()
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to close a pygame program?
pygame.quit()
pygame.exit()
pygame.terminate()
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class in the pygame module is used to create new game objects?
Sprite
Image
Object
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is pygame.sprite.Group() ?
A group of similar objects that allows to operate on them as a whole
An image object
Such thing does not exist in pygame module.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is this program written correctly?
Yes
No
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way of defining a constructor?
class init(self):
def __init__(self):
clas __init__:
def init(self):
Similar Resources on Wayground
8 questions
Computer Systems 1: Computer Structure

Quiz
•
7th - 11th Grade
10 questions
Computer Hardware

Quiz
•
KG - 9th Grade
5 questions
Git М1У1

Quiz
•
6th - 8th Grade
10 questions
Input-Process-Output Model Quiz

Quiz
•
6th Grade
10 questions
Arduino Intermediate Level 2

Quiz
•
7th - 8th Grade
10 questions
MS EXCEL FORMULAS, FUNCTIONS AND ANALYSIS

Quiz
•
6th - 8th Grade
11 questions
python4-lesson02

Quiz
•
4th - 12th Grade
10 questions
Check-up Exercise: Wick Editor Interface

Quiz
•
7th Grade
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
10 questions
Understanding the Internet and Data Transmission

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

Quiz
•
6th - 8th Grade