Python Arcade 10Com at 26/5/2021

Python Arcade 10Com at 26/5/2021

10th Grade

11 Qs

quiz-placeholder

Similar activities

Python

Python

10th - 11th Grade

10 Qs

Python Strings

Python Strings

8th - 12th Grade

14 Qs

10.4 Python Lists

10.4 Python Lists

7th - 10th Grade

14 Qs

Python Syntax

Python Syntax

10th Grade

16 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

J277 - 10QQ - Basic Python 1

J277 - 10QQ - Basic Python 1

8th - 10th Grade

10 Qs

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 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?