Python + CodeCombat Review

Python + CodeCombat Review

Assessment

Quiz

Computers

6th - 9th Grade

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

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?