No student devices needed. Know more
22 questions
What will happen if I hold down the "g" key?
The fish will move 10 pixels to the right, once.
The fish will keep moving 10 pixels further to the right for as long as the key is held down.
The fish will move 10 pixels to the right, once, when the key is released.
The fish will jump, once, to the position (10, 300) on the canvas and stay there.
What will happen if I hold down the "g" key?
The fish will move 10 pixels to the right, once.
The fish will keep moving 10 pixels further to the right for as long as the key is held down.
The fish will move 10 pixels to the right, once, when the key is released.
The fish will jump, once, to the position (10, 300) on the canvas and stay there.
What will happen if I hold down the "g" key?
The fish will move 10 pixels to the right, once.
The fish will keep moving 10 pixels further to the right for as long as the key is held down.
The fish will move 10 pixels to the right, once, when the key is released.
The fish will jump, once, to the position (10, 300) on the canvas and stay there.
What will happen if I hold down the "g" key?
The fish will move 10 pixels to the right, once.
The fish will keep moving 10 pixels further to the right for as long as the key is held down.
The fish will move 10 pixels to the right, once, when the key is released.
The fish will jump, once, to the position (10, 300) on the canvas and stay there.
What will happen when I hold down the left mouse button?
The penguin will disappear, and not reappear when I release the mouse button.
The penguin will disappear, and reappear when I release the mouse button.
The penguin will appear, and then disappear when I release the mouse button.
The penguin will appear, and the bear will disappear.
What is happening in this code?
When I hold down the left mouse button, the bear will move down the canvas at a rate of 5 pixels per frame.
When I click the left mouse button, the bear will move 5 pixels down the canvas, once.
While I am moving the mouse, the bear will move down the canvas. It will STOP moving when the mouse stops moving.
While I am moving the mouse, the bear will not move. It will move down the canvas if the mouse is still.
What will happen when I hold down the left mouse button?
The bear will keep moving down the canvas for as long as I'm holding down the mouse button.
The bear will move down the canvas by 5 pixels, once.
The bear will keep moving up the canvas for as long as I'm holding down the mouse button.
The bear will move up the canvas by 5 pixels, once.
What is happening in this code?
While I move the mouse, the penguin is on the left. When I stop moving the mouse, the penguin is on the right.
While I move the mouse, the penguin is on the right. When I stop moving the mouse, the penguin is on the left.
While I hold down the left mouse button, the penguin moves to the left. When I release the button, it moves back to the right.
While I hold down the left mouse button, the penguin moves to the right. When I release the button, it moves back to the left.
What is happening in this code?
While I move the mouse, the penguin is on the left. When I stop moving the mouse, the penguin is on the right.
While I move the mouse, the penguin is on the right. When I stop moving the mouse, the penguin is on the left.
While I hold down the left mouse button, the penguin moves to the left. When I release the button, it moves back to the right.
While I hold down the left mouse button, the penguin moves to the right. When I release the button, it moves back to the left.
What is happening in this code?
While I move the mouse, the penguin is on the left. When I stop moving the mouse, the penguin is on the right.
While I move the mouse, the penguin is on the right. When I stop moving the mouse, the penguin is on the left.
While I hold down the left mouse button, the penguin moves to the left. When I release the button, it moves back to the right.
While I hold down the left mouse button, the penguin moves to the right. When I release the button, it moves back to the left.
What will happen when the user holds down the left arrow key?
The penguin will move right, and stop moving when the user releases the left arrow key.
The penguin will move left, and stop moving when the user releases the left arrow key.
The penguin will move right, and keep moving when the user releases the left arrow key.
The penguin will move left, and keep moving when the user releases the left arrow key.
Take a look at the direction the penguin is moving. If I want the penguin to "wrap around" and keep moving across the canvas, which IF statement should I use?
Take a look at the direction the penguin is moving. If I want the penguin to "wrap around" and keep moving across the canvas, which IF statement should I use?
What is this code saying?
"When the penguin touches the bear, the bear will move to a new random location on the canvas."
"When the penguin touches the bear, the penguin will move to a new random location on the canvas."
"When the penguin touches the bear, the bear will move OFF the canvas."
"When the penguin touches the bear, the bear will get a new random size.
EVERY TIME the penguin touches the bear, I want the bear to move off the canvas AND I want the penguin's velocity to increase by one. What should that IF statement look like?
Read the code carefully. What happens when I hold down the right arrow key?
The penguin moves left, and stops moving when I release the right arrow key.
The penguin moves right, and stops moving when I release the right arrow key.
The penguin moves left, and keeps going left when I release the right arrow key.
The penguin moves right, and keeps going left when I release the right arrow key.
Read the code carefully. What happens when I hold down the right arrow key?
The penguin moves up, and then moves down when I release the right arrow key.
The penguin moves down, and then moves up when I release the right arrow key.
The penguin moves up, and then stop moving when I release the right arrow key.
The penguin moves down, and then stops moving when I release the right arrow key.
Which tiles or blocks can be used to get the current position of the mouse cursor?
Which of these can be used to move a sprite to the left when a player presses a key?
None of these
Which of these will return the player to the left edge of the screen when they reach the right edge?
When the triangle and square collide, which one will change direction?
triangle
square
neither
both
What direction does the mouse move?
Right
Left
Up
Down
None
Explore all questions with a free account