What command makes the drone leave the ground?
What is takeoff
What is a variable used for?
What is to store information/data.
What does a loop do?
What is repeat instructions
What programming word is used to make a decision?
What is if
CLI stands for
What is Command Line Interface
What command safely ends a flight and brings the drone to the ground?
Land
Which of these is a variable name?
What is batteryLevel
What is a function?
What is a reusable block of code
If the first condition is true, which block of code runs?
What is if
Which command changes from one folder (directory) to another?
What is cd
A drone flies forward 50 cm, yaws right 90°, then flies forward another 50 cm. Is it flying in a straight line or changing direction?
What is changing directions
What is the value of distance after this code runs?
distance = 50
distance = distance + 25
What is 75
hat do you have to do after creating a function if you want it to run?
What is call the function
What programming word means "otherwise"?
What is else
Which command displays the files and folders in the current directory?
What is dir
Which command would you use to rotate the drone 90 degrees to the right without changing its location?
What is yaw
What is the value of speed after this code runs?
speed = 10
speed = speed * 2
What is 20
A loop repeats a command 5 times. The drone moves forward 20 cm each time. How far does it travel?
What is 100 cm
if battery > 50:
fly_forward()
else:
land()
The battery level is 30%. What will the drone do?
What is land
What IP address is commonly used to refer to your own computer (localhost)?
What is 127.0.0.1
Which drone maneuver typically uses more battery power than normal flight?
What is a flip
A variable named flips starts at 2. Then this code runs:
flips = flips + 3
What is the new value of flips?
What is 5
What shape is created by repeating:
four times?
What is a square
if light == "green":
go()
elif light == "yellow":
slow_down()
else:
stop()
What happens when the light is yellow?
What is slow down
What Python package manager command is used to install applications and libraries from the command line?
What is pip install