Python Arcade 10Com at 26/5/2021

Python Arcade 10Com at 26/5/2021

10th Grade

11 Qs

quiz-placeholder

Similar activities

For and While Loops in Python

For and While Loops in Python

9th - 12th Grade

16 Qs

Python basics

Python basics

9th - 12th Grade

16 Qs

Principles of Programming

Principles of Programming

KG - University

13 Qs

Scratch 2

Scratch 2

KG - University

10 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Gamemaker Studio 2

Gamemaker Studio 2

10th - 11th Grade

16 Qs

BJC Unit 2 Concepts Review

BJC Unit 2 Concepts Review

10th Grade - University

12 Qs

ocr computer science 2.5

ocr computer science 2.5

10th 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?