With what symbol can we access attributes and methods of an object?

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
.
-
*
:
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
12 questions
Micro:bit Quiz 2

Quiz
•
6th - 8th Grade
11 questions
Revision CHECKPOINT 2

Quiz
•
7th Grade
10 questions
Pre-Test Term 3 Cycle 1-2

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

Quiz
•
KG - University
10 questions
Pygame

Quiz
•
6th - 8th Grade
9 questions
Викторина по Pygame 1

Quiz
•
8th Grade
10 questions
BCCK SNLTW HP4

Quiz
•
6th - 8th Grade
11 questions
PYTHON Создание множества пришельцев

Quiz
•
7th 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