# data[].attributes.body
1. Event Block:

When Green Flag Clicked

2. Pen Block:

Clear

3. Control Block:

Forever

4. Pen Block:

Pen Down

5. Motion Block:

Go to Mouse Pointer

6. Looks Block:

Set Pen Color to (pick random 1 to 100)

7. Control Block:

Wait 0.1 seconds

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
1. Event Block:

When Green Flag Clicked

2. Motion Block:

Go to x: 0 y: -150

3. Control Block:

Forever

4. Motion Block:

If (key [right arrow v] pressed?)

Change x by 5

5. Motion Block:

If (key [left arrow v] pressed?)

Change x by -5

6. Motion Block:

If on Edge, Bounce

Extension Task

Sprite can move left and right only. Include programming code blocks so that it can move up and down as well when you pressed the appropriate keys.

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
1. Event Block:

When Green Flag Clicked

2. Motion Blocks:

Go to x: -200 y: -150

3. Looks Block:

Switch Costume to [rocket 1 v]

4. Control Block:

Forever

5. Motion Block:

Change y by 2

6. Looks Block:

Next Costume

7. Motion Block:

If on Edge, Bounce

Extension task:

Include programming statements to move the rocket according to mouse pointer

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
Select bear as your sprite from the sprite library

1. Event Block:

When Green Flag Clicked

2. Motion Blocks:

Go to x: -180 y: 0

3. Control Block:

Forever

If then

4. Sensing Block:

If (key [right arrow v] pressed?)

Change x by 5

5. Motion Block:

If (key [left arrow v] pressed?)

Change x by -5

6. Control Block:

If on Edge, Bounce

Execute your instructions

Extension Task

Bear can move left and right only. Include programming code blocks so that bear can move up and down as well when you pressed the appropriate keys.

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
Select sprite of your choice from the sprite library

1. Event Block:

When Green Flag Clicked

2. Looks Block:

Clear Graphic Effects

3. Control Block:

Forever

4. Looks Block:

Set Color Effect [color v] to (pick random -100 to 100)

5. Control Block:

Wait 1 second

Extension Task

Include two more sprites and apply the random color generator code to all sprites at the same time.

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
Random Number Generator

Use the following sequence and execute

Event Block:

When Green Flag Clicked

Control Block:

Forever

Operators Block:

Set [variable] to (pick random 1 to 10)

Looks Block:

Say [variable] for 2 seconds

Control Block:

Wait 1 second

Extension Task

Include another sprite and repeat the above instructions

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
1. Event Block:

When Green Flag Clicked

2. Motion Block:

Go to x: -150 y: 0

3. Control Block:

Forever

4. Looks Block:

Switch Costume to [robot 1 v]

5. Motion Block:

Move 10 steps

6. Looks Block:

Next Costume

7. Control Block:

If on Edge, Bounce

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
1. Event Block:

When Green Flag Clicked

2. Looks Blocks:

Say [Your Name!] for 2 seconds

Clear Graphic Effects

3. Motion Block:

Go to x: -180 y: 0

4. Control Block:

Forever

5. Looks Block:

Set Size to 100%

6. Motion Block:

Change x by 5

7. Looks Block:

Switch Costume to [Next Costume v]

8. Control Block:

If on Edge, Bounce

9. Control Block:

If (key [Space v] pressed?)

Set Size to 150%

Play Sound [Pop]

10. Control Block:

If (key [Up Arrow v] pressed?)

Point in Direction 90

Change Y by 5

11. Control Block:

If (key [Down Arrow v] pressed?)

Point in Direction -90

Change Y by -5

12. Control Block:

If (key [Right Arrow v] pressed?)

Point in Direction 0

Change X by 5

13. Control Block:

If (key [Left Arrow v] pressed?)

Point in Direction 180

Change X by -5

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
1. Event Block:

When Green Flag Clicked

2. Control Block:

Forever

3. Looks Block:

Say "What is 5 + 7?" for 2 seconds

4. Sensing Block:

If <Answer> = [12 v]

5. Looks Block:

Say "Correct!" for 2 seconds

6. Control Block:

Wait 1 second

7. Control Block:

Change Score by 1

8. Control Block:

If (Score = 5)

Say "Congratulations! You won!"

Extension Task

Include some more questions to the quiz

# data[].attributes.attachment_link.description
Scratch is a free programming language and online community where you can create your own interactive stories, games, and animations.

# data[].attributes.body
Taco....

# data[].attributes.body
when the green flag is clicked the character will follow a set of instructions initially the values for the character will be set at x=0 and y=-150 when right arrow is pressed x will change to 5 and when left arrow v is pressed x will change to -5 when the character reaches an it will bounnce and repeat all actions due to forever command