Scratch Lab 7

Block:1
Blocks: 2
Blocks: 4

Question:1

One advantage is it is easy to change code and have it affect the entire code. The second advantage is that it makes code easier to read when one is looking at it.

Question:2

Parameters are imputs that allows you to define blocks. They are similiar to variables and is connected to specific block.

Question:3

The distance formula.

Question:4

A situation with no parameters is when you are having a sprite touvh the edge.

Question:5

In order to find the alpha order, the code takes a name, the puts it into the list, then reorders the list to fix it with the new name and finally contiues to get more names until task is complete. It is easy to understand since the blocks are labled with the function of the code.
Click HERE to return to homepage.