SlideServe
Menu
Préférences
© SlideServe · v2026

Starting to Program From Scratch

latoya avatar
16 diapositives · 337 Views · Aug 08, 2014

CS110: Intro to Computer Science. Starting to Program From Scratch. Core Issue Programming Concepts. scratch is a new programming language that lets you create your own interactive stories, animations, games, music, and art. Supporting Issues Programming Logic. Prepared by Fred Annexstein

Starting to Program From Scratch - slide 1
01 / 16Starting to Program From Scratch
1 / 17

Télécharger la présentation

Starting to Program From Scratch
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. CS110: Intro to Computer Science Starting to Program From Scratch Core Issue Programming Concepts scratch is a new programming language that lets you create your own interactive stories, animations, games, music, and art. Supporting Issues Programming Logic Prepared by Fred Annexstein University of Cincinnati Some rights reserved 007

  2. Beginning Programming • Download Scratch! from scratch.mit.edu

  3. Varieties of Computer Languages Interpreted <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <head> <title>Hello, World!</title> </head> <body> Hello, World! </body> </html> Compiled int main(int argc, char * argv[]) { printf("Hello world!"); exit(0); } 10000011 00000001 00010001 00000000 00111101 11111100 01110100 00111101 00000000 01000000 00000000 00000000 00000000 00000000 00000000 00000000 10010000 00000000 00000000 00000000 01010000 00000000 00000111 00110000 00001011 00000001 00001011 00000011 00001010 00000000 00000000 00

  4. The Scratch Interpreted Environment 8 Categories of Programming Objects

  5. Scratch Programming Elements Looks: Control: Sound:

  6. Boolean Expressions and Boolean connectives Sensing: Numbers:

  7. Conditionals: If then else statements:

  8. Basic Repetition: Loops

  9. Using Program Variables

  10. Programming the Movement of a Sprite

  11. Programming the Movement Multiple Sprites: Threads

  12. Programming Events

  13. Game Programming: “Knock the Kitty in Hole” Basic Design: Start the game with 0 score and pick random location at top to drop the Kitty Use a touching mouse? sensing event to grab kitty and knock into hole. Use a touching hole? sensing event to add to score and drop another kitty.

  14. Game Programming: “Knock the Kitty in Can”

  15. Project to turn in: Modify the Game above to include another sprite into the action. Turn in your project by saving the scratch program and uploading to Bb.