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?
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++
?
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?
What happens if there is no path forward in the conditional statement?
What happens if there is no path forward in the conditional statement?
Signup and view all the answers
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(); }
?
Signup and view all the answers
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?
Signup and view all the answers
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?
Signup and view all the answers
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?
Signup and view all the answers
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?
Signup and view all the answers
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?
Signup and view all the answers
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?
Signup and view all the answers
In coding, what does an 'If' statement represent?
In coding, what does an 'If' statement represent?
Signup and view all the answers