top of page
BASIC

CODING EXERCISES - BASIC

Code Hopper

Demonstration - “Take Off Test”


  • Program Hopper to take off, and then land




Code - Challenge 1


  • Take off, rotate in a complete circle 3 times, and then land


Solution Code Challenge 1



Code - Challenge 2


  • Take off, move forward for 1 second @ 100% power, and then land


Solution Code Challenge 2



Code - Challenge 3


  • Pick a point on the ground some distance in front of the take off point

  • Code Hopper to take off, move forward to the point on the ground, and then fly back to where you started

  • Use trial and error to hit your point


REMINDER: In programming there is usually more than one potential solution, and solutions can vary slightly from drone to drone.

Algorithm

a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer

Closed Block

A type of coding block in which other blocks can be placed inside of them but they cannot be placed inside of any other blocks.

Code

Code is a term used to describe text that is written using the protocol of a particular language by a computer programmer

Functions

A function is a block of organized, reusable code that is used to perform a specific action

Program

detailed plan or procedure for solving a problem with a computer;

Snap Block

A type of coding block that can be placed inside a closed block.

CODING INTRODUCTION

FTWCODE - PROGRAMMING PLATFORM

CODING EXERCISES - BASIC

Sign Out

Home

Build | Fly | Code

Activities

News & Updates

Main Menu

Select an Option

home

build | fly | code

activities

news & updates

bottom of page