Search Header Logo

Code Combat - Introduction to Computer Science

Computers

6th Grade

Used 1+ times

Code Combat - Introduction to Computer Science
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Which line of code is correct?

hero.MoveLeft()

heroMoveLeft();

hero.moveleft(:

hero.moveLeft()

2.

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();

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What must every line of code end with?

comma ,

semi-colon ;

parantheses ()

period .

4.

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;

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?

enemy1 = "Gert"

enemy1 = Gert

var.enemy1 = Gert;

var.Enemy.1 = "Gert";

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

It is not important to capitalize the name of the variables.

True

False

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?