Hour of Code Code.org/lightbot Learning Outcome: I can plan a series of instructions by using commands programmers use.
Kickstart: Take your computer. Take out your notebook (for Plickers) Kickstart: Take your computer. Take out your notebook (for Plickers). Fill in the chart on the worksheet. Put each vocabulary word in the appropriate column. Write how each vocabulary word relates to computer science. Word Bank: ProgrammingExecute, Loop, Recursion, Algorithm
If Lightbot does not do what you want it to do, how would you find the mistake and fix it? Program it Test it Debug it Create an algorithm
Key Terms Programming- A set of instructions that is written by a programmer Execute- Tell a computer to perform the instructions given Loop- A control-flow concept in which a set of instructions is executed repetitively, over and over Recursion- When a procedure is called from within itself Algorithms- a process or set of rules to be followed in problem-solving operations
What is programming? Programming is the way in which a person tells a computer what to do Computers understand only a small set of instructions. Programming is the way in which a computer is told to execute a series of instructions
What is Control- Flow? The order in which a program executes between instructions It flows from one command to another Control flow deals with how program execution occurs one-step at a time Can include: procedures and loops (step-by-step sequences)
The Big Idea Programming is more about the process which we come to a solution and think algorithmically about: how to a solve a problem.
The Process Planning Programming Testing Debugging
Lightbot Language
Lightbot Language
Lightbot Language Translate the code above in words…
partner translate them Lightbot Language Create your own codes and have your partner translate them
Exit Ticket: If Lightbot did not do what you wanted, how did you find the mistake and fix it? Execute it Loop it Debug it Create an algorithm