Code Combat Review

Code Combat Review

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

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

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?