Game Preview

Code Combat

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