Python Arcade 10Com at 26/5/2021

Python Arcade 10Com at 26/5/2021

10th Grade

11 Qs

quiz-placeholder

Similar activities

Using Scratch

Using Scratch

3rd - 10th Grade

13 Qs

Intro Loop Vocabulary

Intro Loop Vocabulary

9th - 12th Grade

12 Qs

Gamemaker Studio

Gamemaker Studio

10th - 11th Grade

16 Qs

KS4 Programming Techniques (1)

KS4 Programming Techniques (1)

8th - 10th Grade

10 Qs

Game Lab - Basic Sprite Control

Game Lab - Basic Sprite Control

6th - 12th Grade

10 Qs

Scratch MOVING SPRITE quiz!

Scratch MOVING SPRITE quiz!

6th Grade - University

10 Qs

Python - Week 1

Python - Week 1

8th - 10th Grade

10 Qs

Quizizz KiddoFair_Dec22

Quizizz KiddoFair_Dec22

8th - 12th Grade

16 Qs

Python Arcade 10Com at 26/5/2021

Python Arcade 10Com at 26/5/2021

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Peter Erhard

Used 4+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?