If you create a program with a 'move forward' block followed by a 'turn right' block, what will Dash do?
Go Forward and Then Turn Right
If you want Dash to perform a victory dance that consists of turning left and right three times, what is the most efficient way (fastest way) to code this?
Repeat 3 times, containing turn left and turn right blocks
What color are event blocks?
green
What is a sequence?
putting your instructions in the right order so a computer can follow them correctly.
What is it called when you find and fix an error in computer science?
Debug
What happens if your sequence is out of order?
Why would a programmer use a 'repeat' loop block instead of just listing 10 blocks in a row?
To save time/write less code
To make the program above actually run when you press 'Play', which block must be at the very top of the stack?
When Start
What is a loop?
allows you to repeat a set of instructions/code multiple times.
A student wants Dash to move forward 10 cm, look with only its head to the right, and then move forward another 10 cm. Which sequence achieves this goal with the fewest blocks?
Forward 10, Look Right 90, Forward 10
A program has a 'move forward' block, followed by a 'repeat 3 times' loop containing a 'say Wee!' block. What is the correct sequence of events?
Move forward, then say 'Wee!' three times.
How many times must you repeat the code to create a square
4 times
What is the event block used when something is in front of dash?
When Dash Obstacle in Front
What is an error in computer science called?
Bug
If you create a program where a 'repeat 2 times' loop contains a second, nested 'repeat 3 times' loop with a 'Say Dash Hi' block inside, how many total times will Dash say 'Hello'?
6 times
What is the primary difference between sequencing and looping?
Sequencing is for running code once, while looping is for running code multiple times.
What happens if you place a command block after a 'forever' loop block?
The code will never run
Dash can only listen for one Event at a time. True or False
True
What is an event?
A trigger that tells the robot when to start a specific set of blocks.
You write a program to make Dash drive in a circle 5 times. You use a 'repeat 5 times' loop. Inside, you put a 'turn right 360 degrees' block. What will Dash actually do?
Dash will rotate in a circle in the same spot 5 times
Which method is least efficient (slowest way) for making Dash move forward 10 times, and changing his lights after each move?
Using a sequence of twenty blocks, alternating 'move forward' and 'All Lights' ten times each.
Repeat X Times, Repeat Until, Repeat Forever
Name 5 of the 13 Common Dash Event Triggers
Top Button, Button 1, Button 2, Button 3, Stuck, Hear Voice, Hear Clap, Obstacle in Front, Obstacle Behind, Obstacle on Right, Obstacle on Left, Picked up, See Dot
What is an algorithm?
a set of instructions that is designed to accomplish a task
A student wants Dash to draw two adjacent sides of an equilateral triangle (starting from a vertex). If the student incorrectly places the code as: 'Turn Right 120', 'Move 30 cm', 'Move 30 cm', what will Dash do?
Dash will turn, move 60 cm forward, and end up on a straight line, not an angle.