Computer Science
3 years ago
elizarae
Save
Edit
Host a game
Live GameLive
Homework
Solo Practice
Practice
18 QuestionsShow answers
  • Question 1
    900 seconds
    Q. _______ is how we write code
    answer choices
    Syntax
    Loops
    Variables
    Functions
  • Question 2
    900 seconds
    Q. In the code example: hero.moveRight(), what is the object?
    answer choices
    move
    hero
    ()
    Right
  • Question 3
    900 seconds
    Q. In the code example: hero.moveRight(), how is it read aloud? 
    answer choices
    hero move right
    move right hero
    hero dot move right
    right move dot hero
  • Question 4
    900 seconds
    Q. ________ are the building blocks, they are things or characters that perform actions
    answer choices
    Variable
    Functions
    Syntax
    Objects
  • Question 5
    900 seconds
    Q. __________ are actions an object can do
    answer choices
    Value
    Syntax
    Objects
    Functions
  • Question 6
    900 seconds
    Q. Function names are always followed by parentheses 
    answer choices
    True
    False
  • Question 7
    900 seconds
    Q. Order does not matter
    answer choices
    True
    False
  • Question 8
    900 seconds
    Q. A computer cannot understand the directions of code even if there is a mistake in the syntax? 
    answer choices
    True
    False
  • Question 9
    900 seconds
    Q. _____ is a way of repeating code
    answer choices
    While
    Expression
    Loop
    Lopp 
  • Question 10
    900 seconds
    Q. What is a key word in Loop?
    answer choices
    True
    While
    Expression
    Action
  • Question 11
    900 seconds
    Q. ___________ can be evaluated as True or False
    answer choices
    Expression
    Infinite Loop
    Object
  • Question 12
    900 seconds
    Q. Infinite Loop is a loop that repeats forever
    answer choices
    True
    False
  • Question 13
    900 seconds
    Q. What do you type for an infinite loop?
    answer choices
    while True:
    while True ()
    While true:
    While True ()
  • Question 14
    900 seconds
    Q. How much indention is required for the action to be part of the loop
    answer choices
    3 spaces
    4 spaces
    5 spaces
    2 spaces
  • Question 15
    900 seconds
    Q. _________ holds your data for later
    answer choices
    Object
    Expression
    Variable
    Value
  • Question 16
    900 seconds
    Q. In the code example: enemy = "Kratt", the varible is 
    answer choices
    "Kratt"
    Kratt
    enemy
  • Question 17
    900 seconds
    Q. enemy = "Kratt" 
    hero.attack("Kratt") is the same as 
    answer choices
    hero.attack(friend)
    Hero.attack(enemy)
    hero.attack(enemy2)
    hero.attack(enemy)
  • Question 18
    900 seconds
    Q. ______ is a type of programming data that represents text
    answer choices
    Basic
    Syntax
    Argument
    String
Report Quiz
Join a game