
Python Term 2 - Quiz 2
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
Tomasz Michalski
FREE Resource
Enhance your content in a minute
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
9 questions
Design Esthetics #3: Layout 2
Quiz
•
7th Grade
12 questions
Drawing using binary
Quiz
•
7th Grade
7 questions
Preguntas de free fire
Quiz
•
1st - 11th Grade
13 questions
BÀI THỰC HÀNH 2
Quiz
•
7th - 8th Grade
14 questions
CMU CS Academy Unit 2 Checkpoint
Quiz
•
6th - 8th Grade
14 questions
Blockly Grok Microbit Level 1
Quiz
•
7th - 8th Grade
10 questions
Small Basic 2
Quiz
•
KG - 8th Grade
10 questions
Edison & Edpy Test (T2)
Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
