An algorithm is a step-by-step set of instructions for a computer to follow. Computers follow algorithms exactly as they are written, without 'figuring out' what the coders meant
Computers are not smart and need very specific instructions
But, they can do millions of instructions in a second!
Debugging
When you test your algorithm in Code Combat, you may notice errors (bugs) in your code
You then adjusted your commands and retested your sequence. This process is called debugging
(The first computer was the size of a classroom, and the first computer error was a moth stuck in the machine - hence the term bug)
Loops& Variables
A loop is a repeated sequence of code
Loops are useful in coding by saving space when you have to repeat commands
The fewer lines of code you use in a program, the more efficient it is
A variable is a container (or box) that can store information (like a number, name, or value). A variable can also be a stand-in for an unknown value (like in Math, y=5x)
STEM Class Computers
Getting Logged Out
If you get logged out of your computer, choose the LEARNER profile, and just hit the Return/Enter key on your keyboard (there is no password)
How to Use the Mouse
Closing Programs/Apps
If you are on an Apple Mac (White Keyboard), you have to hold Command + Q to close your programs
If you are on a Windows (Black Keyboard), you have to click the X in the TOP RIGHT
Submit Your Practice Assignment and check your score. You can Edit Your Responses until you get 12/13 points
Once you get 12/13, watch this video and think about how it relates to coding
Then test your typing speed on the Typing Tests and tell Dr. Pollina your high score!