Edit Game
Code Combat
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public




Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   15  Close
To identify and remove errors from software program
 
Debugging
 
Clarify
 
Decoding
 
Refining
A ______ holds data for later use in the code.
 
Variable
 
Expression
 
Function
 
Loop
What is a # used for in Python?
 
Signifies a Comment Line (for instructions, notes)
 
It is used with forever loops
 
The start of a set of code lines
 
It has no use in Python
How do you write a loop that never ends?
 
while True:
 
while Object = 0:
 
while Object > 0:
 
While True:
What programming language are we learning in Code Combat?
 
Python
 
HTML
 
Java
 
Javascript
What comes first in the line of code that will make your character move?
 
Object
 
Function
 
Loop
 
Syntax
What would the code look like of you need the hero to Move Right 3 times?
 
hero.moveRight(3)
 
heromove.Right(3)
 
hero.moveRight3()
 
Hero.moveRight(3)
What would the line of code look like if you need the hero to move up?
 
hero.moveUp()
 
hero.moveUp{}
 
Hero.moveUp()
 
hero.moveup()
The statement below will do what?
 
Attack the door over & over
 
Attack the door
 
Ask for the password
 
Move to the door
What will the code (shown below) do:
 
Move Right, Up, Right, Down - Repeating over & over
 
Move Right, Up, Right, Down - 1 time through this sequence
 
Move Right, Up, Right, Down - 2 times through this sequence
 
Move Right, Down, Right, Down - Repeating over and over
Find the coding error in the image below:
 
Capital Letter
 
Brackets ()
 
Stop .
 
Brackets & Capital Letter
What is missing from this line of code? self.moveright()
 
Capital Letter
 
Brackets ()
 
Full Stop .
 
Hero
A loop will make the character
 
Repeat the Same Moves
 
Move once
 
Move twice
 
Move the number of times listed in the brackets
What is missing from this line of code? selfmoveRight
 
Brackets () & Full Stop .
 
Brackets ()
 
Full Stop .
 
Hero
What is missing from this line of code? selfmoveRight()
 
Full Stop .
 
Brackets ()
 
Capital Letter
 
Hero