What does 'forward movement' mean in drone programming?
Forward movement means the drone moves straight ahead in the direction it is facing.
Click to reveal answer
beginner
How do you make a drone move backward?
To move backward, the drone flies in the opposite direction of where it is facing.
Click to reveal answer
beginner
What is lateral movement in drone control?
Lateral movement means the drone moves sideways, either left or right, without changing its facing direction.
Click to reveal answer
intermediate
Why is lateral movement useful for drones?
Lateral movement helps drones avoid obstacles or adjust position without turning, making flying smoother and safer.
Click to reveal answer
beginner
If a drone moves forward 5 meters, then backward 3 meters, what is its net forward movement?
The net forward movement is 2 meters forward (5 meters forward minus 3 meters backward).
Click to reveal answer
What direction does a drone move when it goes backward?
ASame as where it is facing
BOpposite to where it is facing
CSideways to the left
DSideways to the right
✗ Incorrect
Backward movement means moving opposite to the drone's facing direction.
Which movement lets a drone move sideways without turning?
AVertical movement
BBackward movement
CForward movement
DLateral movement
✗ Incorrect
Lateral movement is sideways movement without changing the drone's facing direction.
If a drone moves forward 10 meters and then backward 4 meters, what is the net movement?
A10 meters backward
B14 meters forward
C6 meters forward
D4 meters backward
✗ Incorrect
Net movement is forward 10 minus backward 4, which equals 6 meters forward.
Why might a drone use lateral movement?
ATo avoid obstacles sideways
BTo speed up forward movement
CTo change altitude
DTo rotate in place
✗ Incorrect
Lateral movement helps the drone move sideways to avoid obstacles without turning.
Which movement changes the drone's facing direction?
ANone of the above
BForward movement
CLateral movement
DBackward movement
✗ Incorrect
Forward, backward, and lateral movements do not change the drone's facing direction.
Explain the difference between forward, backward, and lateral movement in drone programming.
Think about which way the drone faces and how it moves relative to that.
You got /3 concepts.
Describe a real-life situation where lateral movement is important for a drone.
Imagine flying a drone indoors or near trees.
You got /3 concepts.
Practice
(1/5)
1. Which command moves the drone forward by 5 meters?
easy
A. move_right(5)
B. move_forward(5)
C. move_left(5)
D. move_backward(5)
Solution
Step 1: Understand the direction commands
The command move_forward(distance) moves the drone forward by the given distance.
Step 2: Match the distance and direction
Since we want to move forward by 5 meters, move_forward(5) is the correct command.
Final Answer:
move_forward(5) -> Option B
Quick Check:
Forward move = move_forward(5) [OK]
Hint: Forward means move_forward with distance [OK]
Common Mistakes:
Confusing forward with backward commands
Using lateral move commands instead of forward
Mixing up distance units
2. Which of these is the correct syntax to move the drone 3 meters to the left?
easy
A. move_left(3)
B. moveLeft(3)
C. move_left 3
D. move_left(three)
Solution
Step 1: Identify correct function syntax
The correct syntax uses the function name followed by parentheses enclosing the distance number.
Step 2: Check parameter type and spelling
move_left(3) uses move_left(3) which is correct. moveLeft(3) uses camelCase which is incorrect here. move_left 3 misses parentheses. move_left(three) uses a word instead of a number.
Final Answer:
move_left(3) -> Option A
Quick Check:
Function call with number in parentheses [OK]
Hint: Use function_name(number) with parentheses and digits [OK]
Common Mistakes:
Omitting parentheses in function call
Using wrong case in function name
Passing string instead of number
3. What is the final position of the drone after these commands starting at (0,0)?
Step 1: Check each function call for required arguments
All move commands require a distance number. move_backward() is missing the distance argument.
Step 2: Verify other commands
move_left(2), move_forward(5), and move_right(3) all have correct syntax and arguments.
Final Answer:
Missing distance argument in move_backward() -> Option A
Quick Check:
Functions need distance parameter [OK]
Hint: All move commands need a number inside parentheses [OK]
Common Mistakes:
Calling move functions without distance
Confusing left and right commands
Assuming order of commands matters for syntax
5. You want the drone to move in a square path of 4 meters each side starting at (0,0). Which sequence of commands achieves this?
hard
A. move_right(4)
move_forward(4)
move_left(4)
move_forward(4)
B. move_forward(4)
move_left(4)
move_backward(4)
move_left(4)
C. move_forward(4)
move_right(4)
move_right(4)
move_backward(4)
D. move_forward(4)
move_right(4)
move_backward(4)
move_left(4)
Solution
Step 1: Understand square path directions
A square path means moving forward, then right, then backward, then left, each by the same distance.
Step 2: Check each option's sequence
move_forward(4)
move_right(4)
move_backward(4)
move_left(4) follows forward, right, backward, left by 4 meters each, completing a square back to start.
Step 3: Verify final position
After these moves, the drone returns to (0,0), confirming a square path.
Final Answer:
move_forward(4)
move_right(4)
move_backward(4)
move_left(4) -> Option D
Quick Check:
Square path = forward, right, backward, left [OK]
Hint: Square path: forward, right, backward, left same distance [OK]
Common Mistakes:
Mixing left and right order
Not returning to start point
Using different distances for sides
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.