WITH ANSWERS |\
A store has 20 apples in its inventory. How can you store
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
this information in a JavaScript variable? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\
ANSWERS ✔✔var numApples = 20; |\ |\ |\ |\
You want to read input from the user to know how many
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
apples they would like to buy. Which statement should
|\ |\ |\ |\ |\ |\ |\ |\ |\
you use to read in a number from the user? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
ANSWERS ✔✔var applesToBuy = readInt("How many|\ |\ |\ |\ |\ |\
apples would you like? ");
|\ |\ |\ |\
In a graphics canvas, what are the coordinates of the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
bottom right corner of the window? - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\ |\
✔✔getWidth(), getHeight() |\
You are splitting up all of your apples equally between 3
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
people. Which statement below will calculate how many
|\ |\ |\ |\ |\ |\ |\ |\
apples will be left over? - CORRECT ANSWERS ✔✔var
|\ |\ |\ |\ |\ |\ |\ |\ |\
leftOver = numApples % 3; |\ |\ |\ |\
What are the coordinates of the center of the window? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
CORRECT ANSWERS ✔✔getWidth() / 2, getHeight() / 2
|\ |\ |\ |\ |\ |\ |\
, Which of the following choices is a properly formed
|\ |\ |\ |\ |\ |\ |\ |\ |\
JavaScript variable name, meaning it is both legal in the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
JavaScript language and considered good style -
|\ |\ |\ |\ |\ |\ |\
CORRECT ANSWERS ✔✔userAge
|\ |\
Who/What is Karel? - CORRECT ANSWERS ✔✔Karel is a
|\ |\ |\ |\ |\ |\ |\ |\ |\
dog
What DOES NOT belong in the start function? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
ANSWERS ✔✔Function definition
|\ |\
Which of these is a valid Karel command? - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
ANSWERS ✔✔move() |\
Which of these commands does Karel NOT know? -
|\ |\ |\ |\ |\ |\ |\ |\ |\
CORRECT ANSWERS ✔✔turnCircle();
|\ |\
What commands does Super Karel know that regular Karel
|\ |\ |\ |\ |\ |\ |\ |\
does not? - CORRECT ANSWERS ✔✔turnAround( ) and
|\ |\ |\ |\ |\ |\ |\ |\ |\
turnRight( ) |\
Abstraction is ... - CORRECT ANSWERS ✔✔All of the above
|\ |\ |\ |\ |\ |\ |\ |\ |\