girl develop it ottawa introduction to programming with scratch introduction

50
Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Upload: wilfred-phillips

Post on 25-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Girl Develop It Ottawa

Introduction to ProgrammingWith Scratch

Introduction

Page 2: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

About Me

Page 3: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

About Me

http://compscigail.blogspot.com

Page 4: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

About MeBachelor of Computer Science (2002-2007)Masters of Computer Science (2007-2009)

PhD Computer Science (2009-now)

Page 5: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Today’s PlanWhat is computer science?

How do we program in Scratch?

<Break>

Let’s make our own project!

Dinner at a nearby pub (optional)

Page 6: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Girl Develop It Ottawa

Introduction to ProgrammingWith Scratch

What is computer science?

Page 7: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

What is Computer Science?The big fancy definition:

Computer science (or computing science) is the study of the theoretical

foundations of information and computation and their implementation and application in computer systems.

http://en.wikpedia.org/wiki/Computer_science

Page 8: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction
Page 9: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

What is Computer Science?It’s all about finding ways to figure stuff out.

What can be computed automatically?

How hard is it to compute?

What cool applications are there?(Like games!)

What’s the best way to set up a computer so it can do all this stuff fast?

We are limited only by our imagination…

Page 10: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://www.dailygalaxy.com/photos/uncategorized/2007/10/30/robot_5.jpg

Page 11: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://news.cnet.com/i/bto/20080609/iphone_550x550_540x539.jpg

Page 12: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://www.waynepubliclibrary.org/images/music%20notes.JPG

Page 13: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://www.math.msu.edu/~mshapiro/kidmath_files/mathematics.jpg

Page 14: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://www.wadsworth.org/cores/images/stats.jpg

Page 15: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://departments.weber.edu/psychology/Psychology.gif

Page 16: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://images.pearsoned-ema.com/jpeg/large/9780130461094.jpg

Page 17: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

http://hornbillunleashed.files.wordpress.com/2009/10/law.jpg

Page 18: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computer Science Goes Well With…

… pretty much anythingyou want it to!

Page 19: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computational Thinking“Computational thinking enables

you to bend computation to your needs. It is becoming the new literacy of the 21st century.”

Page 20: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Computational Thinking“Informally we might define CT as a set

of thinking or problem-solving strategies that are used to solve

problems when working with computers, and that can also be

applied to many problem types, even absent the computer.”

Page 21: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Benefits of Being Able toThink Computationally

“Confidence in dealing with complexity”

Page 22: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Benefits of Being Able toThink Computationally

“Persistence in working with difficult problems”

Page 23: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Benefits of Being Able toThink Computationally

“Tolerance for ambiguity”

Page 24: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Benefits of Being Able toThink Computationally

“The ability to deal with open-ended problems”

Page 25: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Benefits of Being Able toThink Computationally

“The ability to communicate and work with others to achieve a

common goal or solution”

Page 26: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction
Page 27: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Girl Develop It Ottawa

Introduction to ProgrammingWith Scratch

Programming Concepts in Scratch

Page 28: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

A Tour of Scratch

Page 29: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Boolean Values

Page 30: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Boolean Values

Page 31: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Boolean Values

And: Both must be trueOr: One or both must be true

Not: Must be false

Page 32: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:If Statements

Page 33: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:If Statements

Page 34: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:If Statements

Page 35: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:If Statements

Page 36: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Loops

Start

StopCondition

Page 37: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Loops

Forever loop: no stop condition(literally goes forever – or at least until the program stops)

Page 38: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Loops

Forever if loop: goes forever, butonly runs the code inside when the boolean is TRUE

Page 39: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Loops

Repeat loop: repeats the code exactly the numberof times you tell it to

Page 40: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Loops

Repeat until loop: continues until theboolean value is TRUE, then stops for good

Page 41: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

myObject

Programming Concepts:Variables

Page 42: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Variables

myObject

Page 43: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Variables

Page 44: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Variables

myObject

Page 45: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Variables

Page 46: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Broadcast

Page 47: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Broadcast

Page 48: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Programming Concepts:Broadcast

Page 49: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Girl Develop It Ottawa

Introduction to ProgrammingWith Scratch

Example: Oscar Time!

Page 50: Girl Develop It Ottawa Introduction to Programming With Scratch Introduction

Oscar Time• Download:

http://gailcarmichael.com/Oscartime.sb

• To follow along the tutorial go to:http://www.cs.harvard.edu/malan/

scratch/oscartime.php