course3 lesson6

course3 lesson6

2nd Grade

9 Qs

quiz-placeholder

Similar activities

Cuối Khóa CS3

Cuối Khóa CS3

2nd Grade

14 Qs

S3 Software Dev Quiz

S3 Software Dev Quiz

KG - University

10 Qs

ASK Tingkatan 3

ASK Tingkatan 3

1st - 5th Grade

10 Qs

JS Review

JS Review

2nd - 5th Grade

13 Qs

Kiểm tra thường xuyên lần 2 (11/9-11/7)

Kiểm tra thường xuyên lần 2 (11/9-11/7)

KG - 12th Grade

10 Qs

Quiz 9 (15.09.2021)

Quiz 9 (15.09.2021)

1st - 12th Grade

10 Qs

HTML Quiz

HTML Quiz

KG - University

10 Qs

Minecraft/Fortnite

Minecraft/Fortnite

KG - Professional Development

12 Qs

course3 lesson6

course3 lesson6

Assessment

Quiz

Computers

2nd Grade

Medium

Created by

Academy OneSpace

Used 29+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

which answer is type string

test1

145

3,5

"warning"

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

what is string concatenation?

make the hero say a type string data

adding two strings together

storing a string in a variable

adding a string with an integer

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

what can we use the property .id for?

to get the type of a character

to get the type of an item

to get the name of a character

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

choose the right code to make the hero say "hi" and the name of the friend

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

num1=7

num2=15

substract num1 from num2

=8

=7

=-8

=-7

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

finish the missing code to make the hero go collect the item

x=item.pos.x

y=item.pos.y

hero.collect(x,y)

hero.collect(item.pos)

x=item.pos.x

y=item.pos.y

hero.moveXY(y,x)

hero.moveXY(item.pos.x,item.pos.y)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

what we use the property .type for?

check the type of the character human or ogre

check the type of the enemy

check the type of items and characters in the game

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

what is a function that return?

a block of reusable code that returns a value to the call statement

a function that returns a code

a block of code that returns True or False

9.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

this loop uses the function checkEnemy to check if the type of the enemy is a munchkin then attack. choose the right checkEnemy function for this loop to work

Media Image
Media Image
Media Image
Media Image