Python Arcade 10Com at 26/5/2021

Quiz
•
Computers
•
10th Grade
•
Hard
Peter Erhard
Used 4+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Why did this python code produce an error?
It is no python code.
Indentation is wrong.
The if statement is incorrect
can't see an error
2.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
What statement need to be there for ????
output = "x: " + ?????(self.player_sprite.center_x)
arcade.draw_text(output, 10, 20, arcade.color.WHITE, 14)
output = "y: " + ?????(self.player_sprite.center_y)
arcade.draw_text(output, 10, 40, arcade.color.WHITE, 14)
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is str in this python code?
output = "x: " + str(self.player_sprite.center_x)
arcade.draw_text(output, 10, 20, arcade.color.WHITE, 14)
Python arcade library function
Variable
string
build-in python function
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a 'if' statement?
... programming conditional statement that, if proved true, performs a certain functionality.
Python Library used to provide build in functions.
A loop statement to provide extended functionality.
Sorry, don't know
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many variables have been defined here?
7
5
3
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does the movement, speed of a sprite (character) get controlled in python arcade?
In pushing buttons down.
In controlling the x and y co-ordinates
The code controls it automatically
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What statements are correct to the programming lines 37 to 47?
The assembly a for-loop
The code saves us from having to repeat the same code (adding a bomb) several times.
The are a if-clause
The code belongs together.
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Python Basics

Quiz
•
KG - University
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
10 questions
MakeCode Arcade Intro to CS Unit 1

Quiz
•
9th - 12th Grade
16 questions
GameMaker

Quiz
•
10th - 11th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
15 questions
Python Basics

Quiz
•
KG - University
16 questions
Python programming

Quiz
•
6th - 12th Grade
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade