Did you know that computers can actually only think in numbers? Not words or code blocks. The code blocks are mostly for us to know what we’re telling the robot. The “translation” can take a bit of time; that’s why sometimes it takes awhile for the “Program Edison” button in the pop-up to show up [1 p. 186].

As you continue your journey in coding and robotics you will learn more about how numbers and math (yes math!) can be used to get your computer or robot to do many different things. One way to use numbers with coding blocks is using something called an expression. Think of an expression as a question that can be evaluated and resolved as being either true or false. In order to do this we have to apply our computational thinking (thinking like a computer).

Edison or any computer evaluates an expression by deciding whether it is true or false.

For example:

Expression | Edison processes it as: |

A = B | Is A the same as B? |

A ≠ B | Is A not equal to B? |

A > B | Is A greater than B? |

A >= B | Is A greater than or equal to B? |

A < B | Is A less than B? |

A <= B | Is A less than or equal to B? |

When using expressions- think like a computer! Instead of worrying about an exact value, you just need to determine if the answer is true or false.

Login

Accessing this course requires a login. Please enter your credentials below!