Podcast
Questions and Answers
How many spaces does the bird move forward in the first block of instructions?
How many spaces does the bird move forward in the first block of instructions?
- 3
- 2
- 1 (correct)
- 4
How many times does the bird move forward in the loop with var count = 0; count < 3; count++
?
How many times does the bird move forward in the loop with var count = 0; count < 3; count++
?
- 3 (correct)
- 9
- 4
- 6
What action does the bird take if there is a path forward in the conditional statement?
What action does the bird take if there is a path forward in the conditional statement?
- Turn around
- Do nothing
- Move forward (correct)
- Turn left
What happens if there is no path forward in the conditional statement?
What happens if there is no path forward in the conditional statement?
How many times should the enclosed action be repeated in the loop while (notFinished()) { moveForward(); turnLeft(); }
?
How many times should the enclosed action be repeated in the loop while (notFinished()) { moveForward(); turnLeft(); }
?
What determines which block of actions the bird performs based on the condition provided?
What determines which block of actions the bird performs based on the condition provided?
What type of block can be used to make the bird move forward until it reaches the pig?
What type of block can be used to make the bird move forward until it reaches the pig?
How can you instruct the zombie to turn left if a path is found to the left?
How can you instruct the zombie to turn left if a path is found to the left?
What is the extra part in an If-else block that sets it apart from the regular If block?
What is the extra part in an If-else block that sets it apart from the regular If block?
Which block would make Scrat the squirrel turn left if there's no path ahead?
Which block would make Scrat the squirrel turn left if there's no path ahead?
What common statement do we use daily that is similar to using an 'If' statement in coding?
What common statement do we use daily that is similar to using an 'If' statement in coding?
In coding, what does an 'If' statement represent?
In coding, what does an 'If' statement represent?
Flashcards are hidden until you start studying