Common Computer Science References
At the end of this lesson, you will be able to:
start to understand what a variable is used for
go over what is programming
just a set of instructions
go over Arduino C++ programming
go over how to load Ubuntu on linux, running on ChromeOS
sudo apt update
sudo apt full-upgrade
sudo apt install arduino
a variable is just a place to store information, that can change, hence the name
we use them in math all the time
in programming, we do not use a single letter to represent a variable, we use a word( or several words) to describe it
ex: counter, numberOfStudents, totalCost, ...
notice how we spell variable names
go over starting a program from new
use the one from last time as an example
ensure you add in a proper comment
show demo of creating a variable in Arduino
show the counting up example
see code example below
write a program that adds 1 second to the length of time the LED stays on
save it and back it up to GitHub
if you finish early, write the "Blink with variable" program in CircuitPython
use this as your IDE, ide.mths.ca
save this code and back it up to GitHub