
Graphics & Booleans
Quiz by Joshua Vance
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
10 questions
Show answers
- Q1What is the purpose of "readBoolean" in this question?readBoolean means you are asking a question and want a numeric responsereadBoolean is used when asking questions about days of the weekYou use readBoolean anytime you want to ask any questionTo ask a true/false question30s
- Q2Which line of code tells the program where on the screen you want the circle to go?Line 3Line 4Line 5Line 230s
- Q3What does the number "100" represent in this code?The width of the circleThe radius of the circleWhere you want the circle to appear on the screen100 represents the color blue, so the circle will be blue30s
- Q4Which line contains an error in code?Line 4Line 5Line 3Line 230s
- Q5Which of the following creates a new variable in JavaScript?varVARVarv30s
- Q6What was the name of the guy who "booleans" are named after?John Wilkes BootheBabe Ruth BooleanLean Boo JanglesGeorge Boole30s
- Q7Which type of "read" value would I use to ask the user "how many hours they sleep per night?"readIntreadBooleanreadlnreadLine30s
- Q8Which of the following codes is only used in Karel, and not in JavaScript?varturnLeftprintlnreadBoolean30s
- Q9What is wrong with Line 2?You should not include the word "new" before rectangleThe "R" in rectangle should be capitalized"car" is not an appropriate variableYou should only have one number in the parentheses, not two30s
- Q10Which of the following is the correct way to set a color?setColor(Color.Green)setColor(color.GREEN)setColor(Color.green)setcolor(color.green)30s
