presentation unit 2 programming

Post on 22-Jan-2018

2.756 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

UNIT 2_ programming

Technologies 1 ESOgabriela-teacher.blogspot.com

INTRODUCTION &

FIRST STEPS

COMPUTATIONAL THINKING

“Computers are incrediblyfast, accurate and stupid.

Human beings are incredibly slow, inaccurate and brilliant.

Together they are powerfulbeyond imagination”.

(Leo Cherne, 1968)

Creativity Solving problems

Analytical thinking Understanding data

Patience Learning takes a time

Will Really wanting to make it happen

Critical thinking Using the right tools

Searching skills Looking for the right tools

Abstract thinking De-coding a problem before coding its solution

Flexibility Programming is not a repetitive task

WHAT WILL WE IMPROVE?

AN EXAMPLE… LETS COUNT!!Use your computational thinking skills!! You have

to find a method to answer to this question:

How many people are there at ademonstration?

WHAT IS SCRATCH?

It’s a slide-and-drop language that allowschildren to create games and programs.

It uses a simple interface of “blocks” that are puttogether to make simple codes.

It’s a language that lets us express feelings,thoughts or ideas… So it’s very creative!

In Scratch we work with a group of objects thatcommunicate in a virtual word.

HOW TO START… We can download and install Scratch on our

computer:https://scratch.mit.edu/scratch2download/

We can use it online: https://scratch.mit.edu/

If we create an account, we can share ourprojects.

We will create accounts and groups ofstudents the first day we go to the computerlab.

SCRATCH INTERFACESTAGE: Shows the results

THUMBNAILS: Shows the sprites and backdrops

BLOCKS: Commands,costumes and sounds

WORKSPACE: Wherewe drag and dropblocks to createcode

THE STAGE AREAPROJECT’S name

Save, open ordownload a project

LANGUAGEsettings

REDUCE/ENLARGEobject

DUPLICATEobject

DELETEobject

FULL SCREEN RUN/STOP program

THE THUMBNAILS AREA

SPRITES LIBRARY(double click)

PHOTO SHOOTING: Usethe webcam to take aphoto

DRAWING PAD: designfrom scratch

UPLOAD AN IMAGEfrom my computerto use as sprite orbackdrop

SPRITE’S SETTINGS: Name,rotation style (linear,rotatory)…

BLOCKS WINDOW

SCRIPTS TAB: Showsall the blocks bycategories

SOUNDS TAB: A spritecan have differentsounds that we canedit or change

COSTUMES TAB: A sprite canhave different costumes toshow a posture, clothing, astate…

STARTING TO PROGRAM!!! Access Scratch.

Start your session withyour username andpassword.

Add two more spritesfrom the library to thestage.

Reduce or enlarge themto have themproportioned.

PROGRAMMING SPRITE 1 Double click on one of

the sprites and programthese comands:

When right arrow keypressed Point indirection 90 & Move 5steps.

When left arrow keypressed Point indirection -90 & Move 5steps.

ANALYSING THE RESULT Click the right and left arrows:

Are you happy with the result?

Click on the “i” label in your sprite and changeits rotation style to linear.

PROGRAMMING SPRITE 2 Double click on the

second sprite andprogram this command:

Since we start (run) theprogram For ever,point towards themouse pointer andmove 5 steps.

What about this sprite’srotation style?

PROGRAMMING SPRITE 3 Double click on the third

sprite and program thiscommand:

Since we start (run) theprogram For ever,turn 15 degrees.

CONGRATULATIONS!You have created your first program

top related