Introduction to Coding

Slides:



Advertisements
Similar presentations
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Advertisements

Create a Simple Game in Scratch
Section 1 Introduction National 4/5 VB Course. What you should know after this lesson What is a program Who writes programs Why is sequence important.
CS001 Introduction to Programming Day 3 Sujana Jyothi
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
Learn… Create… Program. Manipulation of Multiple Media Connects with youth culture Scratch is a new graphical programming language designed to support.
Introduction to TouchDevelop
Introduction to TouchDevelop
Section 1 Introduction National 4/5 Scratch Course.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech June 2008.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
From last time… Explore the blue commands from the motion menu Find at least three ways to get the sprite to move to the UPPER LEFT corner.
Creating an Interactive Game using Scratch. Getting Started Schedule: 45 minutes of introduction to Scratch SHORT break Remainder of the time to start.
Computer Programming Modeling a Passive Solar Home.
Creating a Simple Game in Scratch Barb Ericson Georgia Tech May 2009.
School of Computer Science Space School 2015 Programming a Lunar Lander Game.
Using MIT Scratch for Programming and Control Programming 9.
Scratch Programming Cards
Under the direction of Susan Rodger
Activity 1 30 Two Feet Jumps.
Scratch Helicopter Game
Create a Halloween Computer Game in Scratch
Broadcasting (Adding a new level)
Games Programming in Scratch
Scratch for Interactivity
Intro CS – Loops & Creating Shapes
Welcome to Computer Science!
Unit 2 Getting Started With
Control Structures
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
Scratch for Interactivity
Learning to program with Logo
Gaming with conditionals
Scratch Programming Intro
Introduction to.
Dance Cards Dance Cards
Drama At Cornwallis Academy
Getting Started with Scratch
Objective of the lesson
Dance Cards Dance Cards
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Introduction to Coding
Objective of the lesson
Go to =>
Objective of the lesson
Hour of Code.
Go to =>
Go to =>
Dance Cards Dance Cards
Ephesians 1:7a In him we have redemption  through his blood, the forgiveness of our trespasses. ACTION Have the children stand at attention and repeat.
Dance Cards Dance Cards
Procedure A set of instructions grouped together to carry out a task
Getting Started with Scratch
Gaming with conditionals
Introduction to Snap Programming
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Game development using Scratch
Mod 2 Lesson 2 Repeating with loops
Creating a Simple Game in Scratch
Lesson One Movement.
Dance Cards Dance Cards
2 Making Blocks.
Animate a Sprite. By M, M and C P6
Dance Cards Dance Cards
Presentation transcript:

Introduction to Coding ENG 2P Unit: The Hero’s Journey Ms. DeJong

Coding uses a specific set of instructions – called “algorithms” Step-by-step processes needed to solve problems and/or to complete a task

Algorithm Action: learning the coding language The sprite is the character that does the movement in the game. Today it is YOU! You should only do what the If action tells you to do IF the condition is true! Otherwise, skip to the next Else If If NONE of the If conditions are true  complete the Else action instead A Loop means to repeat an action any number of times (as shown)

Algorithm Action: Lets practice! Wait (10 seconds) If 12 - 4 = 8 Then Do 10 Jumping Jacks Else Do 8 Squats End If Wait (10 seconds) If you have at least 1 pet Then Clap 5 times Else Do 3 lunges End If selection

Algorithm Action: Lets practice! Wait (10 seconds) If your first name begins with A to L Then Stomp your left foot on the ground 5 times Else If your first name begins with M to Z Then Hop using your right leg 5 times Else Spin around 3 times End If Selection

Algorithm Action: Lets practice! Wait (10 seconds) Do until teacher says stop If your favourite subject is phys. Ed Then Run on the spot Else If your favourite subject is science Then Do the Macarena dance Else Tap your hands on your knees End If End Do Selection, repeition

Algorithm Action: Lets practice! Wait (10 seconds) If you are wearing black Then Loop 5 times Wait 1 second Touch your toes End Loop Else Loop 10 times End IF Selection, repetition via loop (patterns)

Algorithm Action: Lets practice! Wait (10 seconds) Do while teacher is standing If teacher points up Then Jump as high as you can Else If teacher points down Then Touch your toes Else Stay standing End If End Do

Playing with Scratch An online coding software

Instructions Visit https://scratch.mit.edu Click “Join Scratch” in the left corner – enter an email & create a password for the website! Select the “Create” tab on the upper left of the page (a new screen with a Cat should pop up) Cat = the sprite (or character) in the game Select “Events” and add button onto your page by dragging it

Learn through discovery Play around with the different effect blocks of Scratch Try to make Scratch move in a straight line and turn Try to get Scratch to draw with his pen CHALLENGE #1: Code the cat to draw a square!

What Type of shape will these codeS make? Square Circle Octagon