Game Preview

Algorithm & Programming

  •  English    20     Public
    Recall on the keywords
  •   Study   Slideshow
  • Which data type is used to store: 100
    Integer
  •  5
  • Which data type is used to store: TRUE
    Boolean
  •  5
  • Which data type is used to store: "D"
    String
  •  5
  • This data type is used to store whole numbers
    Integer
  •  5
  • A price such as £3.65 should be saved as which data type?
    Float
  •  5
  • Which Data Type would the following be stored as:--- " Biscuit "
    String
  •  5
  • Which of the following is an integer?
    2
  •  5
  • The number or word we give to a variable
    Value
  •  5
  • What is the word (command) used to display numbers and text on the screen?
    Print
  •  5
  • What symbol is used in python to assign values to a variable?
    equals =
  •  5
  • Which of these would work as a piece of code?
    if answer=="Yes" :
  •  5
  • Which loop is best when the number of repetitions is known in advance?
    For statement
  •  5
  • What will this code output?
    1,2,3,4,5,6,7,8,9
  •  5
  • When does a while loop stop running?
    When the condition is false
  •  5
  • What is the purpose of an if statement?
    Decision making
  •  5
  • What does break do in a loop?
    stop the execution
  •  5