AISubs
In 2020, programming education will be introduced in elementary school classes.
Computers are necessary in our lives now.
It is important for children to know the mechanism of the computer.
To do that, they need to learn programming.
Learning programming is not a dream to change the world in the future.
So, we will challenge programming one step ahead for the next year.
We will learn programming happily using games and music.
What?
It's Takayama!
Takayama!
So, everyone in front of the TV should prepare tablets and computers.
Let's go on a journey of programming while having fun with us.
Go for it! Programming Star!
Hello, everyone.
I'm Kyoko Gunji, the head of the Faculty of Education, and I'm going to make a future programming star.
Nice to meet you.
And Mr. Ando is going to teach us programming.
Nice to meet you.
Mr. Ando is the principal of PLOSTA, a popular series of programming courses that can be learned online and in person by more than 100 schools nationwide.
This time, he is going to study with everyone in front of the TV.
He is Shinji Nira, the young master of Shonan no Kaze.
Let's go! Programming Star!
From Sashihara Rino's Equal Love,
Emiri Ohtani and Iori Noguchi.
In addition, a new student has joined us.
I'm Marisa Otoshima from Equal Love. Nice to meet you.
Nice to meet you.
And the second student, Moeko Kanisawa.
I'm Moeko Kanisawa from Not Equal Me. Nice to meet you.
Nice to meet you.
This is your second time, Moeko-san.
Did you prepare for the revenge?
I did my best.
It's quite difficult, isn't it?
It may be more difficult than the first time.
Just ask the teacher anything.
Please ask me anything.
Let's practice together. Nice to meet you.
Before today's mission, let's review what we've done so far.
Programming
Programming is to create an instruction manual.
Algorithm is to execute the programming efficiently.
What we're learning now is a programming software called Scratch.
In Scratch, it's different from the source code used in conventional programming.
You can do programming just by connecting blocks.
It's easy to start Scratch.
Search for Scratch on the Internet and select the Scratch website.
If you click Create, everyone can start immediately, so let's get ready.
Requirements
This month, we're learning one of the three human skills of programming, the requirement division.
What is the requirement division?
The three human skills of programming are sequential processing, repetition, and requirement division.
The first thing we learned in April was sequential processing.
Processing the programming from top to bottom in order.
The point was to line up the blocks in the order you wanted to move.
And what we learned in May was repetition.
Repeating the programming over and over again.
You can process efficiently without lining up the same blocks.
And what we're learning this month is requirement division.
We're going to make the requirement division using this tool.
You can download the requirement division from the official website.
Let's review.
Iori-chan, please.
Please teach us the program to make the character bend at the corner using the last time's conditional division.
Last time, we learned the programming to make the character bend at the left when it touches the green square.
Let's review it together.
First, select when the space key of the yellow event palette is pressed.
Then, select 〇〇 if from the control palette.
Then, select 〇〇 if from the blue palette.
Then, select 〇〇 if from the control palette.
Then, select 〇〇 if from the blue palette.
Next, since Iori-chan has a total of 36 squares,
select 〇〇 if from the blue palette.
To turn 90 degrees to the left,
select 〇〇 if from the blue palette.
Since there are 30 squares,
select 〇〇 if from the blue palette.
Next, I want to change the color.
If you click on the color part,
select 〇〇 if from the blue palette.
Then, you can see a square-like character.
Select it.
Then, along the center of Shinji-kun's hair,
select 〇〇 if from the green palette.
If you select the green part of this gun,
select 〇〇 if from the green palette.
Then, let's see Moeko-chan's programming.
Moeko-chan's programming is complete.
I did two laps.
Why did you do two laps?
Actually, there is another space key here.
Ah, I see.
I doubled it and did 60 times.
I see.
But it's correct.
It's correct as a programming, right?
Yes, it's correct.
Moeko-chan's Scratch had the programming
to walk on the course that she learned last time,
but when I pressed the space key, it worked twice.
And last time, we learned how to define a block.
To put a complicated program together, we use the pink block definition.
If you click on Create a block in the block definition, you can create a new block, so let's name the program you want to put together.
Once you have a block with a name, you can connect the programming you want to put together with this block.
Next, when you press the space key on the event block, and when you connect the block definition block, a complete program will be executed.
When you connect the block definition block, a complete program will be executed.
Today's mission! Learn how to classify conditions!
Don't miss the nice errors on their programming!
This program is brought to you by Holostar, a programing learning system.
The first study is to count the number of courses.
I want to do it right away, but there is something wrong with this SUGOROKU, and I will proceed 30 steps regardless of the number of courses.
If possible, it is desirable to proceed only the number of courses, so I would like to change it like that.
Here, let's review how to make the dice we made last time.
First, prepare six illustrations that will be the eyes of the dice.
When the illustration is ready, select to create a variable from the variable palette.
Name the new variable and click OK.
When that is done, connect the event palette to when the space key is pressed and the variable palette to zero the eyes of the dice.
Then, select the number of courses from 1 to 10 from the event palette and change 10 to 6.
And if you press the space key, the value of the eyes of the dice will be displayed randomly.
This time, we will program to proceed only the number of eyes of this dice.
To do that, I will send a message to connect the dice and Shinji.
Let me explain.
First, there is a dice.
From here, I will send a message saying that I shook the dice.
Event.
Then, send a message.
Here, I will send a message saying that I shook the dice.
I sent a message saying that I shook the dice.
Then, Shinji will receive the message saying that he shook the dice.
Then, Shinji will start walking after shaking the dice.
To make Shinji walk after shaking the dice, he uses a message.
First, select the dice in the sprite and connect the message to the event pallet in the dice- shaking program.
Name the event and click OK.
Next, select Shinji from Sprite and select the time when he received a message from the event palette.
Under that, connect the programming to walk on the course.
Then...
Yes.
Did you hear the creepy sound?
Yes, that's right.
However, since there are 30 episodes now, I would like to proceed with the number of dice, such as 3, so it is necessary to receive the value.
What did you need to receive the value?
Buckets!
That's right. Buckets.
That's right.
What did you say about the bucket? What did you say about the program?
What is the number of buckets to receive the value?
What is the number of buckets?
The number of buckets!
Yes, that's right.
The number of buckets is like a bucket that contains the number of changes in the program.
The easy-to-understand example of the number of buckets is the number of dice.
When you roll the dice, the numbers from 1 to 6 change to the number of dice.
Then, you receive the number of changes in the program.
Now, where do you receive the value?
This is Shinji's program.
Walk on the course.
From the number of changes in the program, you receive the value of the number of dice.
What happens when you do this?
Now, the number of dice has been received by the number of changes in the program.
The number of dice has been received by the number of changes in the program.
To make Shinji walk on the path of the dice,
he has to combine the eyes of the dice from the palette of the number of changes in the program of walking on the course 30 times repeatedly.
Then, Shinji will receive the number of dice, and only the number of eyes will advance.
It's simple to do.
That's right.
You just choose from one palette.
It's different every time.
That's right.
And it's becoming like a game.
Yes, it is.
That's great.
Now that we have the order to only look at the dice,
let's count the numbers for today's study.
This time, we want to have an event where we stop at Sugoroku,
so we need to count the numbers.
To count the numbers, we need a variable.
By adding the number values of 1, 2, and 3,
we can determine where we are now.
It's a bit difficult, isn't it?
Create a variable.
Here, the number of the course.
The number of the course.
Yes, it's the number.
Now, here, it says the number of the course.
The number of the course is also displayed on this screen.
Then, since the starting point is 0, the number of the course will be 0 at first.
So, let's set the number of the course to 0 at first.
Yes.
So now, let's set the number of the course to 0.
From the palette.
Yes, when the flag is pressed.
Furthermore, Shinji-kun,
you can increase it one step at a time.
So, let's increase the number of the course one step at a time.
I'll put it in here.
Yes.
Yes, by addition.
Yes.
Yes, like this.
It's now the number of where it stopped.
To count which square Shinji-kun is in Sugoroku,
click to create a variable from the variable palette.
Let's name it the number of the course.
Then, to the program that walks on the course,
add the number of the course one by one.
Then,
Zabun, Kirin, Kaon, Kaon, Pyon, Zabun.
Yes, it's cute.
It's good.
The tempo is good.
Shinji-kun.
Yes.
Meow.
Poon, Poon.
Meow.
Poon, Poon.
There are various cats.
It's good.
Yes.
Then, to speak the number of the course,
add a new block.
This is called the expansion function.
Here it is.
Expansion function.
Here,
voice synthesis.
Yes.
Click this.
Then, a new voice synthesis block will be added here.
Then, to Shinji-kun,
speak with Hello.
This is it.
Now, the number of the course.
Transfer this to Hello.
Here,
add the number of the course here.
1, 2, 3, 4, 5.
To speak the number of the course,
click the expansion function under the palette.
Select voice synthesis.
Then, a new block will be added to the palette.
Connect Hello and Speak from the new palette to the programming to walk on the course.
And combine the number of courses from the variable palette to the Hello section.
Then...
1, 2, 3, 4, 5, 6
After this, it's time to create an event for the Sugo-6.
What kind of event will be created?
In Hulu, there is a popular game that has more than 100 million people registered in the world, Minecraft.
We are delivering original content to learn the programming function of the educational version.
Watch it!
The next study is to create an event.
This is very easy.
To create an event, just make a stage and blow sound into it.
Now, let's create a new stage.
For example, choose a background.
For example, blue sky.
In the background, write the most fun memory you've ever had.
Then, blow sound into it.
When the background becomes blue sky, blow sound into it.
This is the recording.
Then, when it becomes like this,
Please say the most fun memory you've ever had.
It will be like this.
The person who stops will do this event.
It's very easy to make an event.
First, choose the insect glasses from the stage and choose the background.
If you select the T mark, you will be able to type.
Type the order you want the person who stops to do.
Next, click the sound tab, select the microphone from the speaker, and record the voice.
To program this, click the code tab and select when the background becomes 〇〇 from the event palette.
If you select 〇〇 until the end from the sound palette, the event will be completed.
What kind of event has been completed?
Don't miss it!
Let's take a look at them one by one
Let's start with Lisa
Please make a funny face with all your might
I don't think there is a chance for an idol to make a funny face
Next, Moeko
Next, Tameta
Please make a serious face towards Tameta
3, 2, 1
Hey!
Isn't it too fast?
Amazing
It's like a hand gesture
Amazing
I'm looking forward to seeing it in action
Next, Iori
Here I go
Next, Aya
This is the 25th question
It's a Nico Nico Stage
Please show us the brightest smile you've ever had
You bet on 25
Yes, I did
I see
Nico Nico Stage
That's good
What will you do if you win?
If I win?
I will decide
As expected of Aya
Next, Emily
Here I go
Say what you like
She is good at this
That's right
She always says what she hasn't taught
She always adds something
The most advanced thing
The last is Shinji
Yes, impersonation
What's that?
Was Tetsuya Kenzo in this classroom?
Next time, we will put together this event
and record it together
Please look forward to it
Can I look at the camera?
Please look at the camera
Review of the day!
This time, we used variables to count the number of courses!
To count which square Shinji is in,
click Create Variable from the Variable Palette!
Let's name it the number of courses!
Then, we'll add the number of courses to the programming to walk on the course!
And then?
2, 1, 3
On Hulu, the popular game that has more than 100 million people registered in the world, Minecraft!
We're delivering original content to learn the programming function of the educational version!
Watch it!
This program was brought to you by PLOSTA of the Programming Learning System.