
Code Combat Review
Flashcard
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which line of code is correct? Options: hero.MoveLeft(), heroMoveLeft();, hero.moveleft(:, hero.moveLeft();
Back
hero.moveLeft();
2.
FLASHCARD QUESTION
Front
Which line of code will make the hero move up 4 times? Options: 4.hero.Move.Up();, hero.MoveUp(4);, hero.4MoveUp();, hero.Move4Up();
Back
hero.MoveUp(4);
3.
FLASHCARD QUESTION
Front
What must every line of code end with?
Back
semi-colon ;
4.
FLASHCARD QUESTION
Front
Which line of code will attack Kratt? Options: hero.attack("Kratt");, hero.attack("kratt");, hero.attack(Kratt);, Hero.Attack.Kratt;
Back
hero.attack("Kratt");
5.
FLASHCARD QUESTION
Front
What is the correct way to write a while loop? Options: while { }, while.true { }, while (loop), while (True) { }
Back
while (True) { }
6.
FLASHCARD QUESTION
Front
How do you create a variable for enemy1 Gert?
Back
var enemy1 = "Gert";
7.
FLASHCARD QUESTION
Front
What does the word in red symbolize: hero.moveUp(); ?
Back
The object
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?