SlideServe
Menu
Préférences
© SlideServe · v2026

Introduction to Programming with Scratch: Building Logic and Problem-Solving Skills

chaylse avatar
28 diapositives · 364 Views · Feb 24, 2013

World of programming with Scratch! Learn the fundamentals of writing, testing, and maintaining source code to create unique computer programs. Develop problem-solving skills and attention to detail while having fun with practical exercises. Understand statements, Boolean expressions, conditions, loops, variables, threads, and events through engaging projects like Cat Walk, Tweak a Game, and Your First Game. Enhance your programming knowledge and creativity in this beginner-friendly course.

Introduction to Programming with Scratch: Building Logic and Problem-Solving Skills - slide 1
01 / 28Introduction to Programming with Scratch: Building Logic and Problem-Solving Skills
1 / 17

Télécharger la présentation

Introduction to Programming with Scratch: Building Logic and Problem-Solving Skills
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Intro to Programming Algebra-Geometry

  2. Computer Programming? • What is programming? • The process of writing, testing, and maintaining the source code of computer programs. • Telling the computer what to do • Why learn to program? • Develops logic and problem-solving skills • Improves attention to detail • It’s fun!

  3. But I’m Not a Geek! • Until recently, programming required knowledge of computer language syntax

  4. Anyone Can Program! • New tools, like Scratch, allow ANYONE to create computer programs without learning complicated syntax.

  5. Programming with Scratch • Open Scratch from either the desktop icon or Start Menu

  6. Homework • Make sure you have the latest version of Scratch installed on your Tablet PC • Finish working through the Scratch Getting Started Guide • Feel free to experiment and explore!

  7. Scratch Syntax: Part 1 Algebra-Geometry

  8. Statements • In programming, a statement is simply a directive that tells the computer to do something. Think of it as a command or an instruction. • In Scratch, any block whose label reads like a command is a statement.

  9. Boolean Expressions • Sometimes, you only want a statement to be executed under certain conditions. Such conditions are defined in terms of Boolean expressions. • In programming, a Boolean expression is an expression that is either true or false. In Scratch, any block shaped like an elongated diamond is a Boolean expression.

  10. Boolean Expressions • One such block is: After all, it is either true that the mouse button is down or it is false. • Another such block is: After all, it is either true that some number is less than another number or it is false. • With Boolean expressions can we construct conditions.

  11. Conditions • In programming, a condition is something that must be true in order for something to happen. • A condition is thus said to "evaluate to true" or "evaluate to false." • In Scratch, any block whose label says "if," "when," or "until" is a sort of conditional construct.

  12. Conditions • If Construct: Instruct a sprite to say hello only if, say, the user has depressed the mouse button: • If-Else Construct: Instruct a sprite to say hello or goodbye, depending on whether the user has depressed the mouse button:

  13. Conditions • When Construct: Instruct a sprite to do something when an event occurs: • When Construct: Instruct a sprite to wait to do something until a condition is true:

  14. Loops • In programming, a loop can induce multiple executions of statements. • In Scratch, any block whose label begins with "forever" or "repeat" is a looping construct.

  15. Follow Me Follow Me applet

  16. Homework • Complete the Cat Walk Project • You may wish to use the Scratch Reference Guide and the Programming Concepts Handout as resources • Completed projects need to be submitted via Interact by the due date.

  17. Scratch Syntax: Part 2 Algebra-Geometry

  18. Variables • In programming, a variable is a placeholder for some value, much like x and y are popular variables in algebra. • In Scratch, variables are represented with blocks shaped like elongated circles, uniquely labeled by you.

  19. Threads • In programming, a thread is like a mini-program within a program that can execute at the same time as other threads. • In Scratch, any block whose label begins with "when" essentially demarks the start of a thread.

  20. Events • An event is a signal from one thread to another. • Blocks whose labels begin with "broadcast" signal events whereas blocks whose labels begin with "when" handle events.

  21. Pac Man and Pong • Games like Pac Man use Threads • A Variablecould be added to Pong

  22. Homework • Complete the Tweak a Game Project • Remember that the video tutorials can be very helpful • Completed projects need to be submitted via Interact by the due date. Don’t forget to include your brief written summary!

  23. Scratch Syntax: Your First Game Algebra-Geometry

  24. Adding a Level • Levels can be added using threads and events.

  25. Copter Game Flight Code

  26. Copter Game—One Level

  27. Homework • Complete the Your First Game Project • You may wish to use the Copter Game and Levels program as resources • Completed projects need to be submitted via Interact by the due date.