0% found this document useful (0 votes)
2K views

Intro To Coding

This document provides an introductory lesson on algorithms and coding. It instructs students to write out the steps of their morning routine as an algorithm in their coding journal. It then discusses algorithms more broadly as step-by-step instructions to solve problems or complete tasks. Students are directed to an online coding studio to practice writing algorithms. The document concludes by having students answer reflection questions in their journal.

Uploaded by

api-362588611
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

Intro To Coding

This document provides an introductory lesson on algorithms and coding. It instructs students to write out the steps of their morning routine as an algorithm in their coding journal. It then discusses algorithms more broadly as step-by-step instructions to solve problems or complete tasks. Students are directed to an online coding studio to practice writing algorithms. The document concludes by having students answer reflection questions in their journal.

Uploaded by

api-362588611
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

Intro to Coding

Mr. Hendy Industries


Learning Goal:

WALT: Create and use


algorithms
Can You?
In your CODING JOURNAL write
down what you do (in general on
a week day) from waking up to
coming to school
Algorithms
An algorithm is a detailed step-by-step
instruction or formula for solving a
problem or completing a task. In
computing, programmers write
algorithms that instruct the computer
how to perform a task.
• Extend your right arm out in front of you
• Place your right hand, palm down, flat on your table
• Keeping your hand flat, raise your right arm so that your
hand is near eye level
• Close your right hand into a fist
• Rotate your fist 90 degrees clockwise
• Raise your thumb upwards
• Make eye-contact with Mr. Hendy
• Smile awkwardly…
Can You?
In your CODING JOURNAL, take
what you wrote down for your
morning routine and try writing it
as an algorithm (step-by-step,
being very specific)
Visual Algorithms
START
Visual Algorithms
START
Visual Algorithms
START
START
Test out your Skills
Now you’re going to test out
your algorithm creation skills
online
Visit our Google Classroom for
science and access the
studio.code link
Wrap Up
Answer the quiz on Google Classroom, then write a
few sentences in your CODING JOURNAL to answer
the questions below
• What was this week’s lesson about?
• Did you enjoy this week’s lesson? Why or why not?
• Write out an algorithm that would take you from
your desk to the front of the class.
LOOPS and
CONDITIONALS
Mr. Hendy Industries
Learning Goal
WALT: Use and write loops
and conditional statements
LOOPS
A LOOP is a command that repeats (loops) as many times as you want
A LOOP is a command that repeats (loops) as many times as you want
A LOOP is a command that repeats (loops) as many times as you want
A LOOP is a command that repeats (loops) as many times as you want
A LOOP is a command that repeats (loops) as many times as you want
A LOOP is a command that repeats (loops) as many times as you want
A LOOP is a command that repeats (loops) as many times as you want
Can You Think of Anything
that Uses LOOPS?
Coding Your Friends
Coding Your Friends
Coding Your Friends
Conditional Statements
Conditional Statements, commonly called “if-then”
statements tell a program to do something when
something happens.

For example: last week you had to tell your Minecraft


character specifically to chop a tree. With a
conditional statement you could have just told
him/her to chop a tree if they were next to one.
Test out your Skills
Now you’re going to test out
your LOOP and conditional
creation skills online
Visit our Google Classroom for
science and access the compute
it link
Wrap Up
Answer the quiz on Google Classroom, then write a
few sentences in your CODING JOURNAL to answer
the questions below
• What was this week’s lesson about?
• Did you enjoy this week’s lesson? Why or why not?
• Create an if-then statement about studying and
grades
Algorithm Games

You might also like