Search Header Logo

Code Combat Review 1

Authored by Christi Brown

Computers

8th Grade

Used 3+ times

Code Combat Review 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What must every line of code end with?

comma ,

semi-colon ;

parantheses ()

period .

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which line of code will attack Kratt?

hero.attack("Kratt");

hero.attack("kratt");

hero.attack(Kratt);

Hero.Attack.Kratt;

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which line of code is correct?

hero.MoveLeft()

heroMoveLeft();

hero.moveleft(:

hero.moveLeft();

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which line of code will make the hero move up 4 times?

4.hero.Move.Up();

hero.MoveUp(4);

hero.4MoveUp();

hero.Move4Up();

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is the correct way to write a while loop?

while {

while.true {

while (loop)

while (true) {

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

How do you create a variable for enemy1 Gert?

var enemy1 = "Gert";

variable enemy1 = "Gert";

var.enemy1 = Gert;

var.Enemy.1 = "Gert";

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What does the word in red symbolize: hero.moveUp(); ?

The title

The header

The object

The hero

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?