
course2 lesson18
Authored by Academy OneSpace
Computers
2nd Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right code to assign function onSpawn to one soldier in the game with event type “spawn”
soldier.on(“spawn”,onSpawn)
game.setActionFor(“soldier”,”spawn”, onSpawn)
soldier.on(onSpawn, “spawn”)
game.setActionFor(soldier,”spawn”, onSpawn)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the code setActionFor do?
Set a code to a munchkin to attack
Set a function to a character to attack
Set a function to one character
Set a function to bunch of characters
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the code unit=event.target do here?
Targets the character that going to be spawned
Targets the enemy that the hero needs to attack
Targets the character that the function onSpawn is going to be assigned to
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In this code which character is going to say “attaaaack”?
Soliders
Archers and soldiers
archers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right example of game data?
Time of the game
The hero’s health
Number of enemies defeated
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right code to track and display the time of the game
ui.track(“time”,game)
ui.track(game, time)
ui.track(game, “time”)
ui.track(time,game)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right code to generate a random number between 15 and 70 and store it to the variable x
x = game.randomInteger(15, 70)
x = game.RandomInteger(15, 70)
x = game.randominteger(15, 70)
x = Game.RandomInteger(15, 70)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Technologie moderne (Marzo)
Quiz
•
1st - 3rd Grade
12 questions
Zasady kosztorysowania prac
Quiz
•
1st - 3rd Grade
10 questions
Grade 2- PA1
Quiz
•
2nd Grade
10 questions
Grade-3 Computers
Quiz
•
1st - 3rd Grade
10 questions
Ôn tập cuối năm lần I
Quiz
•
1st - 5th Grade
10 questions
Spreadsheets 1
Quiz
•
1st - 3rd Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
13 questions
Power Point
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
22 questions
Equal Groups and Arrays
Quiz
•
2nd Grade
10 questions
Life Cycle of a Frog
Quiz
•
1st - 2nd Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Counting Coins
Quiz
•
2nd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
30 questions
DA Math Mania Bowl - Primary
Quiz
•
2nd Grade
19 questions
Subject-Verb Agreement
Quiz
•
2nd - 5th Grade
10 questions
Harriet Tubman
Quiz
•
2nd - 3rd Grade