AISubs
In 2020, a programing class will be held at an elementary school!
In all subjects, such as Japanese, Mathematics, Science, and Society,
a class that incorporates elements of programing will be held!
In the first place, programing is an order book!
What does it mean to incorporate programing into Japanese and Mathematics?
It's hard to imagine, isn't it?
Therefore, in the program, everyone will be challenged to the original class that incorporates the elements of programing one step ahead!
For example, in science, you can do experiments to measure the brightness of light using a computer,
and in mathematics, you can use programing thinking to make it easier to learn how to solve fractions!
If you watch this program, you can learn more fun by using programing in difficult school classes!
Well then, everyone, are you ready?
Aim for the Programing Star!
Hello, everyone.
I'm Kyoko Gunji, the Programing Star.
And the one who will teach us about programming is...
Prosta-kun!
Let's study together today!
Nice to meet you!
Today, we're going to study with the people in front of the TV.
Shonan no Kaze's young husband, Shinji Nira.
From Equal Love, Emily Otani, Iori Noguchi, Shoko Takiwaki.
And Not Equal Me's Natsune Kawaguchi and Saya Tanizaki.
You're not wearing uniforms today, are you?
We're wearing jerseys!
You look like comedians.
It's a jersey that comedians often wear.
The reason why we're wearing jerseys today is because...
Today's subject is PE!
Did you all like PE?
PE and programming?
That's right.
Are you good at PE?
I love it.
It's not that I'm good at it.
It looks like Emi-chan is having a hard time.
That's right.
I'm not good at it.
I'm not good at sports.
That's right.
That's right?
You look like you're not good at it.
But I heard that Saya-chan is not good at sports.
I'm not good at it.
Are you the type to go sightseeing?
I try my best, but I feel like I'm dragging my feet.
I want to do my best today.
I'm looking forward to it.
Today's subject is PE.
Prosta-kun.
How is PE connected to programming?
That's right.
For example, didn't you do math exercises in elementary school?
That's right.
And everyone uses it a lot.
I'm going to incorporate the flow chart.
You can create a composition of math exercises, such as front, balance, side, and pose at the end.
I see.
In addition to that, soccer and basketball strategies and strategies are also programmed.
That's right.
If you think about how you move when your opponent does this in rugby or soccer, I think it's a flow chart.
I think it's an algorithm.
As expected of Shinji-kun.
You say things like Shinji-kun.
Do you remember the algorithm?
Do you remember?
I remember.
In elementary schools all over the country, flow charts are incorporated into dance and math exercises, and acting composition is assembled using order processing and repetition.
In order to exercise in a program that you set up yourself, you can do the acting that suits you without having to force yourself to move.
Let's get started with the programming of physical education.
Kurosita-kun, what's today's theme?
Today's theme is...
Let's run 100 meters using a micro bit!
Micro bit...
I remember that.
Do you remember it?
It looks like Emily-chan remembers it.
Huh?
Iori-chan, this is definitely a face you don't remember.
Is it a cat running?
Is it moving?
Was it that?
That's not it!
That's not it, is it?
You shook it a lot.
Did you shake it?
Like Rika-chan?
That's right!
As expected of Emily-chan!
This is it, the micro bit!
You measured the brightness of the room with this, right?
I did.
You used the heart mark and shook it a lot, like shaking a towel.
You did Rika-chan's class, right?
I did.
You studied the light, right?
That's right.
Today, we're going to make a 100 meter game using this micro bit.
The micro bit used in programming this time.
It's a small computer developed for education.
When you program it, you can measure the brightness and temperature of the light.
It's also used in elementary school classes.
This time, we will use a micro bit gravity sensor to perform a 100-meter run.
If you program with a scratch, attach a micro bit to your foot and step on it, the gravity sensor will work and the scratch cat will run.
The course used in this class is on the program homepage, so let's download it.
Let's start programming.
First, select the extension function at the bottom left and select the micro bit.
Then it will appear as if you are searching for a device.
If possible, insert a battery into the micro bit.
If you insert a battery, the micro bit will be displayed, so click Connect.
You can now connect to the Ecolab team.
Let's start programming.
It's very easy.
First, select the time when it moved from the micro bit.
The bottom one?
Isn't it this one?
Isn't it the top one?
It's on the top!
Ah, I got it!
Did you find it?
Yes!
Okay!
Then, let's continue!
From the movement, connect the X coordinates 10 at a time.
That's it!
Change the X coordinates 10 at a time.
Yes!
Okay!
Change the X coordinates 10 at a time.
Okay!
Next, change 10 to 2 and change it two at a time.
Okay!
That's fast!
Nice voice!
Then, from the appearance...
Appearance...
It's the appearance.
...connect the next costume.
From the appearance, connect the next costume.
Okay!
Then, everyone, shake the micro beat lightly.
Okay!
Then...
It's moving.
Wow!
Even if you do it quickly, it reacts.
Then, let's review the programming so far!
First, click the add expansion function and select the micro beat.
Next, select when it moves from the micro beat.
Then, from the movement, connect the X coordinates 10 at a time,
and change 10 to 2 to move the cat 100 meters.
Next, select the next costume from the appearance.
Next, select the next costume.
Next, let's build a program to measure the time the cat runs.
First, select when the flag is pressed from the event.
Next, let's connect the X coordinate from the movement to 〇〇.
Next, let's set the 〇〇 to 〇〇.
Next, let's enter it in a semicircle.
Next, select the school from the variable.
Next, let's name it.
Next, let's set the 〇〇 to 〇〇.
Next, let's set the 〇〇 to time.
Next, let's select 〇〇 from the control.
Next, let's take out the mouse pointer.
Next, let's set the 〇〇 to time.
Done.
Is everyone set up?
Next, let's choose a mouse pointer and change it to a goal.
Next, let's connect 〇〇 to 〇〇.
Next, let's change 〇〇 to 〇〇.
Next, let's change 〇〇 to time.
Next, let's change 〇〇 to 0.1.
Now, let's review the programming so far.
First, select when the flag is pressed from the event.
Next, select 〇〇 from the movement and set 〇〇 to 〇〇-220.
By setting 〇〇 to 〇〇-220, the cat moves to the starting position.
Select 〇〇 from the variable and name it Time.
Next, connect 〇〇 to 〇〇-0 from the variable and change 〇〇 to Time.
Next, select 〇〇 to 〇〇-0 from the variable and change 〇〇 to Time.
Next, select 〇〇 from the variable and name it Time.
Next, connect 〇〇 to 〇〇-0 from the variable and change 〇〇 to Time.
Next, select 〇〇 from the variable and name it Time.
Next, connect 〇〇 to 〇〇-1 from the variable and change 〇〇 to Time.
Next, select 〇〇 to 〇〇-0 from the variable and change 〇〇 to Time.
Next, connect 〇〇 to 〇〇-1 from the variable and change 〇〇 to Time.
Then, the time of the stage will be counted.
Then, everyone, please press the flag and check if the cat moves by shaking the micro beat.
Then, everyone, let's go to the goal.
The time stopped when the cat reached the goal.
Now, you can see that the micro beat and the scratch are linked.
Now that the coding is finished, Team Taiko Pro Star Sports Festival!
This time, the students will compete in a game based on the Tokyo Olympics,
the 100-meter track and field race, the road bike race, and the skateboard.
Any competition can be played using micro beat and scratch.
Which team will win?
This program is brought to you by the programming learning system Pro Star.
Team Taiko Pro Star Sports Festival! The first game is Iori-chan vs. Saya-chan 100-meter track and field race.
They will compete in 100-meter track and field race using the programming we made earlier.
They will put a micro bit on their ankle and have them step on the ground.
The team that reaches the goal first wins.
Iori-chan will challenge first.
The winner will be decided by the time, so the team that reaches the goal first wins.
Are you ready?
Yes!
Please give us a word of encouragement.
Let's go!
3, 2, 1, start!
Iori-chan is very fast. How is she doing?
She's not reacting much.
She's almost at the goal. Hang in there!
The current record is 17.9 seconds.
Iori-chan, how was it?
I think I used more energy than the actual 100-meter track.
You definitely did.
I thought I had to go all out.
Next, Saya-chan will challenge.
Saya-chan, you don't have to rush.
Yes!
When I look at you now, sometimes you don't react.
Let's change the strategy.
That's not fair.
You can aim for the strategy.
Will Shinji-kun's strategy work?
Slowly.
Now, it's Saya-chan's turn.
3, 2, 1, start!
Wait, you're slow!
It's ok, it's ok.
Saya-chan, it's a good time. Do your best!
You can go slowly.
11, 12, 13, 14, 15
Don't rush, don't rush.
Ah!
The current record is 18.2 seconds.
It's a good match.
So, with a difference of about 1 second, Iori-chan wins!
I'm glad!
The second match of the Pro Star Sports Festival is a bicycle race.
This competition uses a function that detects the magnetic force of the micro bit.
A micro bit is attached to a cycling machine,
a magnet is attached to a pedal,
and every time the magnet passes through the micro bit,
a programming that allows the scratched bicycle to move is set up.
The winner of this competition is the one who reaches the goal of 400 meters earlier.
First, Natsune-chan will challenge.
Natsune-chan, do you ride a bicycle?
I go to school by bicycle, so I'm very confident.
I'm going to be late by 1 minute.
I understand.
Show me your example.
You also have a handle.
Then, ready, start!
Go for it! Go for it!
Natsune-chan, is the handle in the way?
Go for it! Go for it!
It's surprisingly light.
Go for it! Go for it!
You can hold the chair.
Natsune, pedal more and go for it!
Go for it! Go for it!
A little more.
Almost there.
Finished!
The time is 24.6 seconds.
I wasn't late.
You made it in time.
Next is Shoko's challenge.
Shoko's challenge.
Ready, go!
Go for it!
She's fast.
Shoko is really fast.
She's really fast.
She's fast.
She's really fast.
I feel like I'm going to fly.
200 meters left.
Go for it!
A little more.
Go for it! Go for it!
She made it.
She made it in time.
The time is 26.8 seconds.
Natsune won!
It's a one-on-one battle on TV.
It's the best!
Team Ecolab got 1 point.
Team Shinji got 1 point.
It's a tie.
The third game is skateboarding.
It's a leader battle.
Leader?
I was the leader.
It's a leader battle.
After this, it's a skateboarding leader battle.
Which team will win?
The last game is skateboarding.
This game uses a micro-bit gravity sensor.
Put a micro-bit on a board with a round wooden stick.
If you move your body left and right like a skateboard,
the scratchy cat will move with you.
In this game, you have to dodge obstacles and compete for points.
The red cone is to the right.
The green cone is to the left.
If you hit an obstacle, you get a minus point.
First, Emily will challenge.
How is it?
It's good.
Good luck, Emily.
3, 2, 1.
Start.
The red cone is to the right.
To the left.
It's good.
To the right.
Emily is struggling.
Good luck.
It's difficult.
OK.
Go back.
To the right.
The result is minus 4 points!
I got minus points!
Shinji will challenge the Pro Star Sports Festival.
Who will win?
The Pro Star Sports Festival.
The score is 1 to 1.
The score of Emily's skateboard is minus 4 points.
Emily's skateboard
Shinji's skateboard
3, 2, 1, start!
The red one is on the right.
Shinji, do your best!
You're hitting the obstacle.
To the left!
To the right!
To the left!
Shinji, you got minus 8 points.
The result is
The final battle.
The result is minus 6 points.
Which team will win?
The winner is the Eco Love Team!
Now, we have studied the physical education subject in a micro bit,
with a programmatic way of thinking.
I feel like even a child who is not good at sports can play with the feeling of a game.
I thought that I would like to try various sports.
Also, you can do it on a rainy day.
Yes, I can do it.
Surprisingly, with this strengthening,
it seems that you can enjoy it regardless of whether you are good at sports or not.
This is the same.
I think I can beat Yuri-san in other sports.
No way! Do you want to try it next time?
Next time, we will review English and Taiko, which we learned in March.