Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Scratch programmingconcepts v14
1. PROGRAMMING CONCEPTS AND SKILLS SUPPORTED IN
In the process of creating interactive stories, games, and animations with Scratch, young people
can learn important computational skills and concepts.
PROBLEM-SOLVING AND PROJECT-DESIGN SKILLS
FUNDAMENTAL IDEAS ABOUT COMPUTERS AND PROGRAMMING
SPECIFIC PROGRAMMING CONCEPTS
Concept Explanation Example
To create a program in Scratch, you when space key pressed
go to x: -100 y: -100
the order of steps. glide
say
2 secs to x:
Let the show begin!
0 y: 0
for secs
play sound fanfare until done
iteration (looping) forever and repeat
for iteration (repeating a series of
instructions)
conditional statements if and if-else check for a condition. if x position > 200
set x to -200
wait .01 secs
e variable
lists (arrays) e list
strings. is kind of data structure
http://scratch.mit.edu
2. Concept Explanation Example
event handling when key pressed and when
sprite clicked when left arrow key pressed
handling – responding to events point in direction -90
move 10 steps
of the program.
threads Launching two stacks at the same
time creates two independent
coordination and broadcast and when I receive can
winner when this condition is met:
synchronization coordinate the actions of multiple
wait until score > 100
sprites. Using broadcast and wait
broadcast
allows synchronization. winner
is script in Sprite2 is triggered when
the message is received:
when I receive winner
play sound cheer
say You won the game!
ask and wait prompts users to type.
answer
pick random selects random set x to pick random -100 to 100
integers within a given range.
boolean logic and, or, not
logic.
dynamic interaction mouse_x, mouse_y, and loudness
user interface design You can design interactive user
PROGRAMMING CONCEPTS NOT CURRENTLY INTRODUCED IN SCRATCH:
return values
http://scratch.mit.edu