placeholder image to represent content

Graphics & Booleans

Quiz by Joshua Vance

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
10 questions
Show answers
  • Q1
    What is the purpose of "readBoolean" in this question?
    Question Image
    readBoolean means you are asking a question and want a numeric response
    readBoolean is used when asking questions about days of the week
    You use readBoolean anytime you want to ask any question
    To ask a true/false question
    30s
  • Q2
    Which line of code tells the program where on the screen you want the circle to go?
    Question Image
    Line 3
    Line 4
    Line 5
    Line 2
    30s
  • Q3
    What does the number "100" represent in this code?
    Question Image
    The width of the circle
    The radius of the circle
    Where you want the circle to appear on the screen
    100 represents the color blue, so the circle will be blue
    30s
  • Q4
    Which line contains an error in code?
    Question Image
    Line 4
    Line 5
    Line 3
    Line 2
    30s
  • Q5
    Which of the following creates a new variable in JavaScript?
    var
    VAR
    Var
    v
    30s
  • Q6
    What was the name of the guy who "booleans" are named after?
    John Wilkes Boothe
    Babe Ruth Boolean
    Lean Boo Jangles
    George Boole
    30s
  • Q7
    Which type of "read" value would I use to ask the user "how many hours they sleep per night?"
    readInt
    readBoolean
    readln
    readLine
    30s
  • Q8
    Which of the following codes is only used in Karel, and not in JavaScript?
    var
    turnLeft
    println
    readBoolean
    30s
  • Q9
    What is wrong with Line 2?
    Question Image
    You should not include the word "new" before rectangle
    The "R" in rectangle should be capitalized
    "car" is not an appropriate variable
    You should only have one number in the parentheses, not two
    30s
  • Q10
    Which of the following is the correct way to set a color?
    setColor(Color.Green)
    setColor(color.GREEN)
    setColor(Color.green)
    setcolor(color.green)
    30s

Teachers give this quiz to your class