SlideShare uma empresa Scribd logo
1 de 59
Agenda:
• Learn the basics of some visual programming languages like Scratch,
Hopscotch, App Inventor, Raptor and others.
• Understand basic code syntax to gain important mathematical,
computational, and creative thinking concepts through playful learning!
• Discover alternative tools and applications to give people practice
programming while having fun!
• Gain other programming ideas, computing devices, and apps to help
children & young adults thrive in a world based on technology
Is coding a cryptic visual of typed languages?
Or a process? Or both?
Describe in natural language how to make
a peanut butter and jelly sandwich.
Why learn to code?
• Why not?
• Learn the importance of clarity/brevity of expression.
• Be able to think and problem solve more accurately.
• Have a better understanding of how technology works.
• Create a tool that can make your life and many others’ lives easier.
• It can be fun!!
What is computer programming?
• A set of commands a computer understands – like a recipe.
• Computer programs can help cure diseases; drive cars; create video
games; make animated movies/graphics; build websites and apps; and
much more.
• Basic coding concepts are used by most every program and most every
programmer.
• To learn more visit http://www.bfoit.org/itp/Programming.html
.mit.edu
Scratch is a programming language for everyone. Create
interactive stories, games, music and art and share them online.
Play and/or remix it! https://goo.gl/9ERZIJ
Create video motion games!
https://www.scratchjr.org/
https://github.com/LLK/scratch-flash
How does moving blocks around teach
programming?
Learn more at: http://scratched.gse.harvard.edu/
Program robots etc.!
http://snap.berkeley.edu/
www.finchrobot.com/loanprogram
A Snap! user can create new control structures, such as
a for loop (which isn’t built into the language), by writing a
script as shown at the left. Once the for block is created, it
can be used even to make nested loops, as shown in the
center. A sprite carries out that script at the right.
More info: http://snap.berkeley.edu/about.html
http://snap.berkeley.edu/
Use devices with
http://s4a.cat/
Scratch for Arduino
http://snap4arduino.org/
https://www.gethopscotch.com/
http://hop.sc/hopscotchcurriculum
What is App Inventor?
A web-based app development tool that allows
non-developers to create Android apps.
Using it is like putting a puzzle together.
App Inventor resembles …
Scratch LEGO MINDSTORMS
http://ai2.appinventor.mit.edu
https://lightbot.com/
Download it for free and get great handouts at
http://raptor.martincarlisle.com
RAPTOR is a flowchart-based
programming environment.
DEMO
A program is an ordered set of instructions that tells a
computer to perform the tasks in a pre-arranged
manner.
A variable name is actually a location in memory. By
naming the location, one is able to store and retrieve
data from that location.
Article available at: http://bit.ly/2o1Y26i
Article available at: https://goo.gl/wodCa
A Few Basic Programming Components
• Variables & Arrays
• Operators
• Flow Control
• Functions
Slide courtesy of Brian Pichman
Variables & Arrays
• A variable is a bucket that holds one piece of information. A
variable can change value when
• Specific conditions are met
• Based on user input
• Examples (concept)
• $string_myhomelibrary = “Montgomery Library”;
• $numeric_variable= 100;
• $myname = “Brian”;
Slide courtesy of Brian Pichman
Variables & Arrays
• An array is a type of variable (or bucket) that holds many pieces of
information.
• Example (language doesn’t matter here; the concept does):
• $FavoriteCities = array(“Orlando”, “Boulder”, “Miami”)
• $FavoriteCities[0] holds “Orlando”
• $FavoriteCities [1] holds “Boulder”
• $States = array(“1” => “Prime”; “FL”=> “Florida”, “CO” => “Colorado”)
• $States[“FL”] holds “Florida”
Slide courtesy of Brian Pichman
Operators
• Arithmetic
+, -, *, / (add, subtract, multiply, divide)
• Assignment
= (assign the value of 2 to the variable called v)
$v = 2;
+= (“Add the value of 3 to the variable that already holds 1”)
$v += 3; // $a now holds 5
Slide courtesy of Brian Pichman
Flow Control - Sequence
• Reads like a book, the instructions are executed in the same order
they where given:
• OPEN the door
• WALK inside the room
• SIT on a chair
• PICKUP a book
• READ the book.
Slide courtesy of Brian Pichman
Flow Control - Choice
• If Then
if (something is true/conditions are met) {
then do this
}
• If Then Else
• Else: XYZ
• Starts the same as “If Then” but allows a result if condition is false
• Else If
if (something is true/conditions are met) {
then do this
} elseif (another something is true/conditions are met) {
then do this instead
}
Slide courtesy of Brian Pichman
Flow Control - Continual
• With continual, instructions are executed based on variables, commands,
outputs, etc … as they remain true
• While (or repeat)
while (something is true) {
do something here
}
• for
for (something is true) {
do something here
}
Slide courtesy of Brian Pichman
Flow Control – Putting It Together
• 1) Sequence
• Go to the library
• Check out a book
• Read the book
• Return the book
• 2) Choice
• If you have a library card, you can check out books. Otherwise open a library card account.
• 3) Repeat
• Continue to read the book till there are no more pages.
Slide courtesy of Brian Pichman
Functions
• A function is type of procedure or routine and usually returns a value.
• A procedure preforms an operation, but typically doesn’t provide a value.
• Most languages have pre-built or pre-defined functions in its library.
• For instance, the “delete” function means to “remove”. You don’t have to
code what “remove” does; only what to remove.
Defining a function in Python
Other ways to learn coding
and have fun doing it!
Kano OS powered by Raspberry Pi
https://kano.me
https://world.kano.me/projects
http://getfirebug.com/
See how things on the Web work behind the scenes using …
Ozobot
http://www.ozobot.com/
Lego WeDo / Lego Mindstorms
Sphero
http://www.sphero.com/
Dash and Dot
https://www.makewonder.com/
Interact with the real world
using the Tickle App
https://tickleapp.com
Learn to program Arduino, drones, robots, connected
toys, and smart home devices, all wirelessly.
pinocc.io
Read more at http://goo.gl/Hgy16A
Some great resources to help you learn to code
.com
Learn to code interactively, for free.
http://www.oeconsortium.org/
https://www.coursera.org/
https://www.codeavengers.com/
https://www.khanacademy.org
https://teamtreehouse.com/
https://www.codeschool.com/
Image source: http://goo.gl/6rRJ8s
http://coderdojo.com
Coding Resources
• Lightbot is a programming puzzle game that gives the user a one-to-one relationship with programming concepts. Try it today
at http://light-bot.com/!
• Hopscotch: Coding for Kids is an iPad programming language. Download it today at https://www.gethopscotch.com/ .
• Code.org wants to bring Computer Science classes to every K-12 school. Check it out at http://code.org/ and find some
excellent computer programming tutorials.
• Scratch helps children create stories, games, animations, and also lets them share these projects with others around the world.
More info at http://scratch.mit.edu/.
• www.scratchjr.org is a free iPad app that brings coding to students as young as age five.
• www.kodable.com gives children opportunities to program in order to solve puzzles. http://www.allcancode.com is similar.
• Visit Medium for a “2 minute read” listing other ideas and resources to help inspire children and teens to code.
• There are several MOOCs (Massive Open Online Course) and other freely available resources that offer computer programming
classes. Coursera, Udacity, and Edx are great examples. Also, Khan Academy has some great resources for kids and adults too!
• A Google search query for computer programming resources for kids limited to the last year can be found at
http://goo.gl/RaUups.
http://www.slideshare.net/chadmairn
@cmairn
Contact me!

Mais conteúdo relacionado

Mais procurados

flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
Student
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
Raja Hamid
 

Mais procurados (20)

Introducing Computational Creativity
Introducing Computational CreativityIntroducing Computational Creativity
Introducing Computational Creativity
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Coding for kids
Coding for kidsCoding for kids
Coding for kids
 
선형 최소 자승 최적화
선형 최소 자승 최적화선형 최소 자승 최적화
선형 최소 자승 최적화
 
Visual studio code
Visual studio codeVisual studio code
Visual studio code
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
 
Introduction to Robotic Process Automation by K.G.Maheshwari
Introduction to Robotic Process Automation by K.G.MaheshwariIntroduction to Robotic Process Automation by K.G.Maheshwari
Introduction to Robotic Process Automation by K.G.Maheshwari
 
Basic computer class 1
Basic computer class 1Basic computer class 1
Basic computer class 1
 
Coding For Kids
Coding For Kids Coding For Kids
Coding For Kids
 
flutter intro.pptx
flutter intro.pptxflutter intro.pptx
flutter intro.pptx
 
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
Introduction To UiPath | RPA Tutorial For Beginners | RPA Training using Uipa...
 
Usability basics
Usability basicsUsability basics
Usability basics
 
Go vs Python Comparison
Go vs Python ComparisonGo vs Python Comparison
Go vs Python Comparison
 
Django Seminar
Django SeminarDjango Seminar
Django Seminar
 
How to Work with Dev-C++
How to Work with Dev-C++How to Work with Dev-C++
How to Work with Dev-C++
 
What is an algorithm?
What is an algorithm?What is an algorithm?
What is an algorithm?
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
How To Learn Programming For Beginners | How To Start Coding | Learn Programm...
How To Learn Programming For Beginners | How To Start Coding | Learn Programm...How To Learn Programming For Beginners | How To Start Coding | Learn Programm...
How To Learn Programming For Beginners | How To Start Coding | Learn Programm...
 

Destaque

Destaque (20)

How to Think in the Information Age: Finding Facts in a Post-Truth World
How to Think in the Information Age: Finding Facts in a Post-Truth WorldHow to Think in the Information Age: Finding Facts in a Post-Truth World
How to Think in the Information Age: Finding Facts in a Post-Truth World
 
Scratch Demo Day Beach Cities CUE Talk 2016
Scratch Demo Day Beach Cities CUE Talk 2016Scratch Demo Day Beach Cities CUE Talk 2016
Scratch Demo Day Beach Cities CUE Talk 2016
 
Advertising Powerpoint
Advertising PowerpointAdvertising Powerpoint
Advertising Powerpoint
 
2D Game Development with scratch
2D Game Development with scratch2D Game Development with scratch
2D Game Development with scratch
 
Facebook pixel
Facebook pixelFacebook pixel
Facebook pixel
 
How To Create Winning Ads On Facebook
How To Create Winning Ads On FacebookHow To Create Winning Ads On Facebook
How To Create Winning Ads On Facebook
 
Cross curricular scratch
Cross curricular scratchCross curricular scratch
Cross curricular scratch
 
Technology of Peace - Child builds computer, computer grows with child
Technology of Peace - Child builds computer, computer grows with childTechnology of Peace - Child builds computer, computer grows with child
Technology of Peace - Child builds computer, computer grows with child
 
Code Like A Boss - NETA 2016
Code Like A Boss - NETA 2016Code Like A Boss - NETA 2016
Code Like A Boss - NETA 2016
 
Writing Codes Instead of Tweets
Writing Codes Instead of TweetsWriting Codes Instead of Tweets
Writing Codes Instead of Tweets
 
What I Learned While Teaching Kids at Flying Robot School - YOW! Night August...
What I Learned While Teaching Kids at Flying Robot School - YOW! Night August...What I Learned While Teaching Kids at Flying Robot School - YOW! Night August...
What I Learned While Teaching Kids at Flying Robot School - YOW! Night August...
 
ABCs of Social Media Advertising by Crystal Vilkaitis
ABCs of Social Media Advertising by Crystal VilkaitisABCs of Social Media Advertising by Crystal Vilkaitis
ABCs of Social Media Advertising by Crystal Vilkaitis
 
How to run and manage Facebook Ads
How to run and manage Facebook AdsHow to run and manage Facebook Ads
How to run and manage Facebook Ads
 
Facebook ads vs Instagram ads - Eva Romeu Openclass Inesdi
Facebook ads vs Instagram ads - Eva Romeu Openclass InesdiFacebook ads vs Instagram ads - Eva Romeu Openclass Inesdi
Facebook ads vs Instagram ads - Eva Romeu Openclass Inesdi
 
Teach your kids to code
Teach your kids to codeTeach your kids to code
Teach your kids to code
 
Coding Basics with Scratch
Coding Basics with ScratchCoding Basics with Scratch
Coding Basics with Scratch
 
Programming from scratch™
Programming from scratch™Programming from scratch™
Programming from scratch™
 
Coding: the smart future for our kids - Chau Au
Coding: the smart future for our kids - Chau AuCoding: the smart future for our kids - Chau Au
Coding: the smart future for our kids - Chau Au
 
Primary Programming and Scratch
Primary Programming and ScratchPrimary Programming and Scratch
Primary Programming and Scratch
 
Computer coding resources for your library
Computer coding resources for your library Computer coding resources for your library
Computer coding resources for your library
 

Semelhante a Learn to Code and Have Fun Doing It!

What’s New and Exciting in Library Makerspaces
What’s New and Exciting in Library MakerspacesWhat’s New and Exciting in Library Makerspaces
What’s New and Exciting in Library Makerspaces
St. Petersburg College
 
Using iPads with Students
Using iPads with StudentsUsing iPads with Students
Using iPads with Students
Nell Eckersley
 

Semelhante a Learn to Code and Have Fun Doing It! (20)

Programming the Real World: Javascript for Makers
Programming the Real World: Javascript for MakersProgramming the Real World: Javascript for Makers
Programming the Real World: Javascript for Makers
 
Maker Boot Camp
Maker Boot CampMaker Boot Camp
Maker Boot Camp
 
Inspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsInspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other Tools
 
Inspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsInspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other Tools
 
STEM Programming Ideas at the Library.pdf
STEM Programming Ideas at the Library.pdfSTEM Programming Ideas at the Library.pdf
STEM Programming Ideas at the Library.pdf
 
Computational Thinking - 101
Computational Thinking - 101Computational Thinking - 101
Computational Thinking - 101
 
py4inf-01-intro.ppt
py4inf-01-intro.pptpy4inf-01-intro.ppt
py4inf-01-intro.ppt
 
Py4 inf 01-intro
Py4 inf 01-introPy4 inf 01-intro
Py4 inf 01-intro
 
Pythonlearn-01-Intro.pptx
Pythonlearn-01-Intro.pptxPythonlearn-01-Intro.pptx
Pythonlearn-01-Intro.pptx
 
Mastering python lesson1
Mastering python lesson1Mastering python lesson1
Mastering python lesson1
 
What’s New and Exciting in Library Makerspaces
What’s New and Exciting in Library MakerspacesWhat’s New and Exciting in Library Makerspaces
What’s New and Exciting in Library Makerspaces
 
Raspberry pi education_manual
Raspberry pi education_manualRaspberry pi education_manual
Raspberry pi education_manual
 
Raspberry pi education_manual
Raspberry pi education_manualRaspberry pi education_manual
Raspberry pi education_manual
 
Year 5-6: Ideas for teaching coding
Year 5-6: Ideas for teaching codingYear 5-6: Ideas for teaching coding
Year 5-6: Ideas for teaching coding
 
How Open Source / Open Technology Could Help On Your Project
How Open Source / Open Technology Could Help On Your ProjectHow Open Source / Open Technology Could Help On Your Project
How Open Source / Open Technology Could Help On Your Project
 
Using iPads with Students
Using iPads with StudentsUsing iPads with Students
Using iPads with Students
 
How to Teach Yourself to Code
How to Teach Yourself to CodeHow to Teach Yourself to Code
How to Teach Yourself to Code
 
Notice Me, Senpai! Get Discovered with Creative Technical Content
Notice Me, Senpai! Get Discovered with Creative Technical ContentNotice Me, Senpai! Get Discovered with Creative Technical Content
Notice Me, Senpai! Get Discovered with Creative Technical Content
 
A quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for researchA quick overview of why to use and how to set up iPython notebooks for research
A quick overview of why to use and how to set up iPython notebooks for research
 
Preparing Our Children for Success: Finding Resources & Funding To Fuel Their...
Preparing Our Children for Success: Finding Resources & Funding To Fuel Their...Preparing Our Children for Success: Finding Resources & Funding To Fuel Their...
Preparing Our Children for Success: Finding Resources & Funding To Fuel Their...
 

Mais de St. Petersburg College

Mais de St. Petersburg College (20)

Introducing Immersive Technologies for Libraries
Introducing Immersive Technologies for Libraries  Introducing Immersive Technologies for Libraries
Introducing Immersive Technologies for Libraries
 
Introducing How to Build a Personal Voice Assistant (AIY Edition)
Introducing How to Build a Personal Voice Assistant (AIY Edition) Introducing How to Build a Personal Voice Assistant (AIY Edition)
Introducing How to Build a Personal Voice Assistant (AIY Edition)
 
360° Tours and More
360° Tours and More360° Tours and More
360° Tours and More
 
Taking the Magical Leap with Immersive Technologies in Libraries
Taking the Magical Leap with Immersive Technologies in LibrariesTaking the Magical Leap with Immersive Technologies in Libraries
Taking the Magical Leap with Immersive Technologies in Libraries
 
Open Education Resources in Libraries
Open Education Resources in LibrariesOpen Education Resources in Libraries
Open Education Resources in Libraries
 
How to Repurpose Library Space: Listening Lab Edition
How to Repurpose Library Space: Listening Lab EditionHow to Repurpose Library Space: Listening Lab Edition
How to Repurpose Library Space: Listening Lab Edition
 
Using CoSpaces Edu to Create Virtual and Augmented Reality Experiences
Using CoSpaces Edu to Create Virtual and Augmented Reality ExperiencesUsing CoSpaces Edu to Create Virtual and Augmented Reality Experiences
Using CoSpaces Edu to Create Virtual and Augmented Reality Experiences
 
Understanding Artificial Intelligence
Understanding Artificial IntelligenceUnderstanding Artificial Intelligence
Understanding Artificial Intelligence
 
Web Design Trends: 2018 Edition
Web Design Trends: 2018 EditionWeb Design Trends: 2018 Edition
Web Design Trends: 2018 Edition
 
What’s New With 3D Design and Printing?
What’s New With 3D Design and Printing?What’s New With 3D Design and Printing?
What’s New With 3D Design and Printing?
 
Creating a Program to Assist Users Cutting Cable
Creating a Program to Assist Users Cutting CableCreating a Program to Assist Users Cutting Cable
Creating a Program to Assist Users Cutting Cable
 
Understanding Artificial Intelligence
Understanding Artificial Intelligence Understanding Artificial Intelligence
Understanding Artificial Intelligence
 
Beginning Python Programming
Beginning Python ProgrammingBeginning Python Programming
Beginning Python Programming
 
3D Design Fundamentals
3D Design Fundamentals3D Design Fundamentals
3D Design Fundamentals
 
STEM Demystified
STEM DemystifiedSTEM Demystified
STEM Demystified
 
Learn to Compose, Record, and Produce Songs and Podcasts Using GarageBand
Learn to Compose, Record, and Produce Songs and Podcasts Using GarageBandLearn to Compose, Record, and Produce Songs and Podcasts Using GarageBand
Learn to Compose, Record, and Produce Songs and Podcasts Using GarageBand
 
Open Education Resources in Libraries
Open Education Resources in LibrariesOpen Education Resources in Libraries
Open Education Resources in Libraries
 
Learning Kodu: Basic Video Game Design for Kids
Learning Kodu: Basic Video Game Design for KidsLearning Kodu: Basic Video Game Design for Kids
Learning Kodu: Basic Video Game Design for Kids
 
Technologies to Watch: 2017 Edition
Technologies to Watch: 2017 EditionTechnologies to Watch: 2017 Edition
Technologies to Watch: 2017 Edition
 
Put the Internet of Things to Work Using IFTTT, Amazon Echo, and other tools.
Put the Internet of Things to Work Using IFTTT, Amazon Echo, and other tools.Put the Internet of Things to Work Using IFTTT, Amazon Echo, and other tools.
Put the Internet of Things to Work Using IFTTT, Amazon Echo, and other tools.
 

Último

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

Learn to Code and Have Fun Doing It!

  • 1.
  • 2. Agenda: • Learn the basics of some visual programming languages like Scratch, Hopscotch, App Inventor, Raptor and others. • Understand basic code syntax to gain important mathematical, computational, and creative thinking concepts through playful learning! • Discover alternative tools and applications to give people practice programming while having fun! • Gain other programming ideas, computing devices, and apps to help children & young adults thrive in a world based on technology
  • 3. Is coding a cryptic visual of typed languages? Or a process? Or both?
  • 4. Describe in natural language how to make a peanut butter and jelly sandwich.
  • 5. Why learn to code? • Why not? • Learn the importance of clarity/brevity of expression. • Be able to think and problem solve more accurately. • Have a better understanding of how technology works. • Create a tool that can make your life and many others’ lives easier. • It can be fun!!
  • 6. What is computer programming? • A set of commands a computer understands – like a recipe. • Computer programs can help cure diseases; drive cars; create video games; make animated movies/graphics; build websites and apps; and much more. • Basic coding concepts are used by most every program and most every programmer. • To learn more visit http://www.bfoit.org/itp/Programming.html
  • 7. .mit.edu Scratch is a programming language for everyone. Create interactive stories, games, music and art and share them online.
  • 8. Play and/or remix it! https://goo.gl/9ERZIJ Create video motion games!
  • 11. How does moving blocks around teach programming? Learn more at: http://scratched.gse.harvard.edu/
  • 13. A Snap! user can create new control structures, such as a for loop (which isn’t built into the language), by writing a script as shown at the left. Once the for block is created, it can be used even to make nested loops, as shown in the center. A sprite carries out that script at the right. More info: http://snap.berkeley.edu/about.html
  • 17. What is App Inventor? A web-based app development tool that allows non-developers to create Android apps. Using it is like putting a puzzle together.
  • 18. App Inventor resembles … Scratch LEGO MINDSTORMS
  • 21.
  • 22. Download it for free and get great handouts at http://raptor.martincarlisle.com RAPTOR is a flowchart-based programming environment. DEMO
  • 23. A program is an ordered set of instructions that tells a computer to perform the tasks in a pre-arranged manner. A variable name is actually a location in memory. By naming the location, one is able to store and retrieve data from that location.
  • 24.
  • 25. Article available at: http://bit.ly/2o1Y26i
  • 26. Article available at: https://goo.gl/wodCa
  • 27. A Few Basic Programming Components • Variables & Arrays • Operators • Flow Control • Functions Slide courtesy of Brian Pichman
  • 28. Variables & Arrays • A variable is a bucket that holds one piece of information. A variable can change value when • Specific conditions are met • Based on user input • Examples (concept) • $string_myhomelibrary = “Montgomery Library”; • $numeric_variable= 100; • $myname = “Brian”; Slide courtesy of Brian Pichman
  • 29. Variables & Arrays • An array is a type of variable (or bucket) that holds many pieces of information. • Example (language doesn’t matter here; the concept does): • $FavoriteCities = array(“Orlando”, “Boulder”, “Miami”) • $FavoriteCities[0] holds “Orlando” • $FavoriteCities [1] holds “Boulder” • $States = array(“1” => “Prime”; “FL”=> “Florida”, “CO” => “Colorado”) • $States[“FL”] holds “Florida” Slide courtesy of Brian Pichman
  • 30. Operators • Arithmetic +, -, *, / (add, subtract, multiply, divide) • Assignment = (assign the value of 2 to the variable called v) $v = 2; += (“Add the value of 3 to the variable that already holds 1”) $v += 3; // $a now holds 5 Slide courtesy of Brian Pichman
  • 31. Flow Control - Sequence • Reads like a book, the instructions are executed in the same order they where given: • OPEN the door • WALK inside the room • SIT on a chair • PICKUP a book • READ the book. Slide courtesy of Brian Pichman
  • 32. Flow Control - Choice • If Then if (something is true/conditions are met) { then do this } • If Then Else • Else: XYZ • Starts the same as “If Then” but allows a result if condition is false • Else If if (something is true/conditions are met) { then do this } elseif (another something is true/conditions are met) { then do this instead } Slide courtesy of Brian Pichman
  • 33. Flow Control - Continual • With continual, instructions are executed based on variables, commands, outputs, etc … as they remain true • While (or repeat) while (something is true) { do something here } • for for (something is true) { do something here } Slide courtesy of Brian Pichman
  • 34. Flow Control – Putting It Together • 1) Sequence • Go to the library • Check out a book • Read the book • Return the book • 2) Choice • If you have a library card, you can check out books. Otherwise open a library card account. • 3) Repeat • Continue to read the book till there are no more pages. Slide courtesy of Brian Pichman
  • 35. Functions • A function is type of procedure or routine and usually returns a value. • A procedure preforms an operation, but typically doesn’t provide a value. • Most languages have pre-built or pre-defined functions in its library. • For instance, the “delete” function means to “remove”. You don’t have to code what “remove” does; only what to remove. Defining a function in Python
  • 36. Other ways to learn coding and have fun doing it!
  • 37. Kano OS powered by Raspberry Pi https://kano.me
  • 39. http://getfirebug.com/ See how things on the Web work behind the scenes using …
  • 41. Lego WeDo / Lego Mindstorms
  • 44. Interact with the real world using the Tickle App https://tickleapp.com Learn to program Arduino, drones, robots, connected toys, and smart home devices, all wirelessly.
  • 46. Read more at http://goo.gl/Hgy16A
  • 47. Some great resources to help you learn to code
  • 48. .com Learn to code interactively, for free.
  • 57. Coding Resources • Lightbot is a programming puzzle game that gives the user a one-to-one relationship with programming concepts. Try it today at http://light-bot.com/! • Hopscotch: Coding for Kids is an iPad programming language. Download it today at https://www.gethopscotch.com/ . • Code.org wants to bring Computer Science classes to every K-12 school. Check it out at http://code.org/ and find some excellent computer programming tutorials. • Scratch helps children create stories, games, animations, and also lets them share these projects with others around the world. More info at http://scratch.mit.edu/. • www.scratchjr.org is a free iPad app that brings coding to students as young as age five. • www.kodable.com gives children opportunities to program in order to solve puzzles. http://www.allcancode.com is similar. • Visit Medium for a “2 minute read” listing other ideas and resources to help inspire children and teens to code. • There are several MOOCs (Massive Open Online Course) and other freely available resources that offer computer programming classes. Coursera, Udacity, and Edx are great examples. Also, Khan Academy has some great resources for kids and adults too! • A Google search query for computer programming resources for kids limited to the last year can be found at http://goo.gl/RaUups.