wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

course 2 lesson5

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

Point A with coordinates y = 20 and x= 3

a)

A (3,-20)

b)

A(3 20)

c)

A (20,3)

d)

A (3, 20)

2.

Choose the correct code to build a fence at y= 54 and x = 36

a)

Hero.buildXY(“fence”, 36,54)

b)

hero.builsXY(“fence”, “36”, “54”)

c)

hero.buildXY(“fence”,36,54)

d)

hero.build(“fence”, 36, 54)

3.

game.spawnXY(“knight”,23,35)

 spawn a fence 10 units away at the top of hero.

a)

hero.spawnxy(“fence”,33,35)

b)

hero.spawnXY(“fence”,23,45)

c)

hero.spawnXY(“fence”,33,45)

d)

hero.spawnxy(“fence”,33,35)

4.

Choose the right code to check if the enemy exists then attack

a)

b)

c)

d)

5.

Choose the right code to spawn a player

a)

game.spawnPlayerXY(“knight”, 10,10)

b)

game.SpawnXY(“knight”, 10,10)

c)

game.SpawnPlayerXY(“knight”, 10,10)

d)

Game.spawnPlayerXY(“knight”, 10,10)

6.

How to check if cleave is ready?

a)

if hero.isReady(“cleave”)

b)

If hero.IsReady(“Cleave”):

c)

If cleave.isReady:

d)

if hero.isReady(“cleave”):

7.

Choose the right code to find the distance to the enemy

a)

d=Hero.distanceto(enemy)

b)

d=hero.distanceTo(enemy): 

c)

d=hero.findDistanceTo(enemy):

d)

di=hero.distanceTo(enemy)