Which line of code is correct?
Python + CodeCombat Review

Quiz
•
Computers
•
6th - 9th Grade
•
Medium
Used 33+ times
FREE Resource
Student preview

12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for Computers
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade