Python + CodeCombat Review

Python + CodeCombat Review

Assessment

Quiz

Computers

6th - 9th Grade

Practice Problem

Medium

Used 33+ times

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which line of code is correct?

hero.moveUp()

hero.moveUp();

hero.moveUP(

Hero.MoveUp();

2.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 1 pt

Which line of code will make Voldemort attack Harry?

voldemort.avadaKedavra("Harry")

voldemort.avadaKedavra("harry")

voldemort.avadaKedavra(Harry)

Voldemort.Attack.Harry

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

The title

The header

The object

The hero

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

The function

The last part

The method

The end of the code

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

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

True

False

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A string will always have quotation marks.

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?