0% found this document useful (0 votes)
54 views

Code.org SessionPlan#5(1 4)

Uploaded by

mzmegastorm
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Code.org SessionPlan#5(1 4)

Uploaded by

mzmegastorm
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 29

Code.

org
LESSON 5:
Birthday Dance Party
Warm - up

Hello, how are you?


Let’s revise what we learned in the previous session by answering some
questions
What is an event?
*students reply*
Answer: Event is an action that causes something to happen or that triggers
other actions.
What is event and action in the process of starting a microwave?
*student reply*
Answer: Pressing the ‘start’ button of a microwave is an event and functioning of
the microwave is an action.
In the last session, on which platform did we create the project?
*students reply*
Answer: We created the project on Play Lab using different actors, events,
scenes.
Problem Statement

In the colorful town of Celebrationville, there lived a


group of friends who loved dancing. Among them
was Mia, a creative and enthusiastic girl who was
about to celebrate her birthday. Mia had a brilliant
idea – she wanted to throw a virtual dance party for
all her friends, complete with interactive dance
moves and groovy music. And so, the journey to
create the "Birthday Dance Party" project on the
Dance Lab of code.org began.
Solution

Mia knew that a dance party needed a special dance floor. In the Dance Lab, she
chose a vibrant background and added colorful lights to set the mood. She
realized that just like creating a stage for a real dance party, coding was about
setting the right environment. She learned to adjust the colors, lights, and
decorations to make the dance floor inviting and exciting.
Student Login

Step 1: Open the link and click on “sign in”.


(Share this link with the students in the comment section).
Link: http://www.studio.code.org

Step 2: To sign in to the platform, enter the section code.


(Share the section code created by you this is session)
Once done, click on the ‘Go’ option to log in.
Student Login

Step 3: Time to choose your name from the


names listed in the grey boxes.

Step 4: Now, enter the ‘secret words’ as given


by your teacher and type them in the white
box below the instruction: “Now enter your
secret words”.
(Refer to the image attached)
Instructions for Teachers
Instructions for Teachers

Play space is the area where your dancers will show up.
Toolbox contains blocks of codes that you will require for
creating a dance party.
Workspace is the area where you do coding or drag and drop
the code blocks.
Instructions for Teacher

In this puzzle you have to create your


first dancer, either a cat or sloth.

Where do you want to place your


dancer?
*student reply*

Drag and drop the ‘make a new’


block inside ‘setup’.

Solution: Place your dancer at your favorite


position by selecting from the drop
down list.
Instructions for Teachers

In this puzzle make cat cap on


pressing of up arrow key.

What is ‘when up pressed’ block?


*student reply*

It is an event block.

Cat will clap up when you press up


arrow key.
Solution:
Instructions for Teachers

In this session two activities will be performed:

1. Dance Party Puzzles


2. Birthday Dance Party Project
Dance Party
Puzzles

Activity Link: Dance Party Puzzles


Activities For Learner

Complete all these puzzles(in accordance to the student’s pace):

1. https://studio.code.org/s/dance-2019/lessons/1/levels/1
2. https://studio.code.org/s/dance-2019/lessons/1/levels/2
3. https://studio.code.org/s/dance-2019/lessons/1/levels/3
4. https://studio.code.org/s/dance-2019/lessons/1/levels/4
5. https://studio.code.org/s/dance-2019/lessons/1/levels/5
6. https://studio.code.org/s/dance-2019/lessons/1/levels/6
7. https://studio.code.org/s/dance-2019/lessons/1/levels/7
8. https://studio.code.org/s/dance-2019/lessons/1/levels/8
9. https://studio.code.org/s/dance-2019/lessons/1/levels/9
Solution of Dance
Party Puzzles

Note: The answers to puzzles may serve as a teacher's guide.


Dance Party Puzzles

Puzzle
1

Drag the red block to the workspace on the right and create a new block from
the toolbox on the left. Connect it inside the setup block. Now, you have written
your first program. Don't forget to press Run to observe the result. You should
hear music and watch a character move in the display area.
Answer Key
Explain the following for puzzle 2 and 3.

Green blocks are special blocks that start a new code. They don't have to be
inside the setup block. If you put a purple block under a green block, you can
make a character dance by pressing the orange buttons or keys on your keyboard.
Remember to press the Run button first or the dancer won't move.

Puzzle 2 Puzzle 3
Answer Key

(Explain about ‘measures’ while solving puzzles.)


The ‘after’ and ‘measures’ event blocks also start a new sequence of code and
should not be connected inside the setup block.

Puzzle 4 Puzzle 5
Answer Key

Puzzle 7
Puzzle 6 Puzzle 8
Birthday Dance Party Project

Activity Link:
Birthday Dance Party Project
Birthday Dance Party Game

To create a Birthday Dance Party project on code.org, we need to follow the


below steps:

1. Selection of background, foreground and dancers.


2. Assign dancing moves to dancers on clicking of left and right arrow keys.
3. Set the visibility of dancers.
4. Set the layout of the dancers.
5. Repeat certain actions in every 4 and 8 measures.
Birthday Dance
Party
1. Selection of background,
foreground and dancers:

● Create a cool, snowy


background.
● Set stage light as foreground
effect.
● Make 10 cats and place them
in top row.
● Make 10 bears and place them
in bottom row.
Birthday Dance
Party
2. Assign dancing moves to
dancers on clicking of left and
right arrow keys:

● When the left arrow key is


pressed then make all dancers do
any random dancing move.

● When the right arrow key is


pressed, make all dancers do the
Gangnam dance move.
Birthday Dance
Party
3. Set the visibility of dancers:

● When the ‘enter ‘key is pressed,


place all cats in a circle and make
bears invisible.
● When the down arrow key is
pressed, make all dancers
invisible.
● When the up arrow key is
pressed, make all dancers visible.
Birthday Dance
Party

4. Set the layout of the dancers:

When the space key is pressed, set


the layout of cats as a left column and
bears as a right column.
Birthday Dance
Party
5. Repeat certain actions in every
4 and 8 measures:

Repeat the following in every 4


measures: Set random foreground
effect and make bears do floss forever.

Repeat the following in every 8


measures: Make cats do clap high
forever.
Birthday Dance Project For
Learner

Empty project link

Completed project link


Resource Table

Learners Link Activities Links

For learner Project link Dance Party Puzzles (1-9)

Assignment Assignment
Wrap - Up

Okay, so this leads us to the end of the session. Congratulations! You


did very well in the class today.

How about we revise what we studied today?


● What is an event?
● What are the new blocks you studied
today?
● Which block is used to create a group of
dancers together?
● Which loop block is present in the
Dance Party?
Thank You !

29

You might also like