AISubs
In 2020, programming education will be introduced in elementary school classes.
Computers are a must 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, in the program, we will challenge programming one step ahead for the first week of next year.
We will learn programming with fun using games and music.
What?
It's Takayama!
Programming star, sing a song of love.
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 class president, and I'm aiming to become a programming star in the future.
Thank you very much.
And the one who will teach us programming is Mr. Ando.
Nice to meet you.
Nice to meet you. Mr. Ando is the class president of PROSTA, a popular series of learning programs that can be learned in school and online more than 100 schools nationwide.
This time, too, I'm going to study with everyone in front of the TV.
This is the second time. Thank you, Nagisa Saito.
Thank you.
And this is the first time. Ms. Hana Ogi.
Yes, I'm Hana Ogi from Natto Economy.
I've been practicing at home, so I'll do my best. Thank you.
Great.
You've been practicing properly.
That's great.
Did you learn it at school?
That's right. I learned it when I was in junior high school.
Programming?
Yes, I was doing programming in an information class.
That's great. That's great.
That's great.
Before today's mission, let's review what we've done so far.
Programming is to create an instruction manual.
The algorithm is to perform the programming efficiently.
What we're learning now is a programming software called Scratch.
Scratch is different from the source code used in conventional programming.
You can do programming just by connecting blocks.
It's easy to get Scratch.
Search for Scratch on the Internet and select Scratch's website.
If you click on Create, everyone can start right away, so let's get ready.
And last time, we learned how to move the pattern.
To rotate this arrow, select 15 degrees from the movement palette and click on it.
Then the arrow will rotate 15 degrees each.
If you change 15 degrees to 30 degrees, it will rotate 30 degrees each.
Let's try programming this.
Emily, please tell us.
I want to rotate this one time, so I'll pinch the repeat button from the control palette.
I pinched it.
If you press this once, it will rotate around.
I want to make it a little bigger, so I'll pinch the move button from the movement palette.
If you want to make it colorful, click on the tab of the costume and prepare arrows of various colors.
Select the next costume from the appearance palette.
Then the color came out.
It's beautiful.
It's perfect.
It's a firework.
It's wonderful.
Let's listen to the review and draw a pattern.
I'll try it.
It's done.
It's fast.
Is it done?
It's fast.
It's done.
It's fast.
It's done.
It's excellent.
It's fast.
If you can review it, let's learn the conditions for today's mission.
Don't miss the nice error of them.
Let's start with today's mission.
Today's mission is to learn how to break down the conditions.
Break down the conditions?
Have you ever heard the word, break down the conditions?
I don't think so.
I don't know what it means.
We have to follow the kanji.
Break down the conditions.
Up until now, we have been drawing fireworks using repetitive processes.
This time, we are going to break down the conditions.
This is one of the three types of programming.
The third one is breaking down the conditions.
There are three types of programming, which are sequential processing, repetitive processing, and breaking down the conditions.
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 them.
And what we learned in May was repetition.
Repeating the programming over and over again.
Now we can process efficiently without lining up the same blocks.
And what we are going to learn this month is breaking down the conditions.
Now, Mr. Ando, please tell us.
We use it on a daily basis.
What would you do if it was sunny?
That's right. That's breaking down the conditions.
If it's sunny, you put an umbrella on it.
This is breaking down the conditions.
This is a block of breaking down the conditions.
The mechanism is like this.
If it rains, you put an umbrella on it.
If you master these three, all the basics of programming are over.
That's it.
In other words, if you finish all the classes this month,
you will have completed the basics of programming.
Wow!
Really?
Yes, really.
However, this breaking down the conditions is a little more difficult than before,
so let's study hard.
In order to learn this breaking down the conditions,
we will study using SUGOROKU this month.
However, SUGOROKU cannot be made immediately,
so we will study one step at a time.
This is the first time to use SUGOROKU in the first class.
We will use this map to learn how to use SUGOROKU.
We will also use SUGOROKU to make dice and events that occur when you stop at a square.
You can download SUGOROKU from the official website of the program.
This time, there is a mark of SUGOROKU.
The width is 36 steps.
The meaning of 36 steps is that the width of a square is the length of 36 steps.
So, let's move 10 steps from the movement palette and change 10 to 36.
Let's do it.
If you press the space key, you can change the number of steps.
What did you do, Nagisa-san?
Press Shinji-kun with the arrow key.
Press Shinji-kun.
Press the space key and move 10 steps.
Is this really your first class?
You are a teacher.
Hana-san?
Hana-san.
Press the space key.
I did it.
Hana-chan.
If you can do this, it's the first study.
Let's use 〇〇 nara.
If 〇〇 nara.
It's like pokan.
Sensei, please go next.
If you use the conditional division, you can think like the following.
When Shinji-kun touches the green, it turns to the left.
Isn't this a condition?
This is all regular.
When Shinji-kun touches the green, it turns to the left.
The center of Shinji-kun's body should be good.
Let's make it turn when 〇〇 touches here.
Search.
Click this and enlarge it.
To choose the color of Shinji-kun, click the spot mark here.
Click Shinji-kun's order form here and it turns white.
Next is this.
When Shinji-kun touches the green, it turns white.
When Shinji-kun touches the green, it turns to the left.
Let's choose 〇〇 touches 〇〇 from the palette.
Click the color part and select the spot mark.
You can choose the color of the stage, so click the memo.
In the same way, you can choose the color of the green.
Once you've done this much, let's start programming the next step.
First, let's look at the condition-division block.
This orange block is the condition-division block.
This orange block is the control block.
From the control block, if...
Please pay attention to this number.
This is the condition-division block.
Now we have the condition-division block.
Once you've touched the green block, what should you do?
You should turn 90 degrees to the left.
In the movement, turn 15 degrees to the left and make it 90 degrees.
From the control block, if...
Let's combine it with the condition-division block.
Once you've touched the green block, turn 15 degrees to the left.
Let's put it in the condition-division block.
Turn 15 degrees to the left and make it 90 degrees.
And if you press the space key,
If Shinji-kun touches the green block, it will turn to the left.
How is it?
It's coming!
It's back!
Let's learn the variables for the next study!
After this, let's use the variables to make the original dice!
In Hulu, there is a popular game that has more than 100 million people registered in the world, Minecraft!
We are delivering the original content to learn the programming function of the educational version!
Please watch!
Suddenly, Shinji-kun, what do you think is the most important thing in the world?
The most important thing in the world...
Dice
That's right!
We are going to make the dice
What we need for that is...
Variables
A new word
A calculator and a variable
Shinji-san, please
I got it
As you can see, the variable is the number of changes
The number of changes
In short, it's something that changes
A variable is something like a bucket
For example, you can put a lot of things in a bucket
You can put water, sand, or stones in it
This is something that changes
So, what is a variable?
It's like a container that receives a lot of values
A variable is something like a bucket that puts the number of changes in the program
A simple example of a variable is a dice
If you roll the dice, the numbers from 1 to 6 change every time you roll the dice
Teacher, please tell us how to make the dice
I designed the dice
Let's take a look
1 is a dog
2 is a cat
3 is a snake
4 is a pig
5 is a giraffe
That's an ant
6 is a cedar
Why a cedar?
It's not an animal
I thought I was good at it, but I felt the limit of a giraffe
I changed it from a cedar to a pollen
When drawing a dice, it's important to draw from 1 to 6 in order from top to bottom
It's easy to draw the number of rows on the dice
Where is the variable?
It's the second from the bottom, the orange one
There are a lot of similar ones, but let's make a variable here
Let's say it's the dice's eyes
There is a bucket called dice's eyes
I'll put the number here
When the space of the event is pressed, the dice will roll
Put the number of rows from 1 to 6 in the variable
It's 6 sides, so it's 6
What kind of image is this?
I put the number from 1 to 6 in the bucket called dice's eyes
The dice is completed
Where does this number come out?
It's the dice's eyes in the variable palette
When you check this, the dice's eyes come out here
When you press the space key, the number changes
5, 3, 2, 6, 1
To make a dice, let's make a variable from the variable palette
Name the new variable and click OK
Once you've done that, let's connect the space key from the event palette to the variable palette and set the number of dice eyes to 0.
Since the number of dice eyes is random, let's select the number of dice eyes from the number palette and change the number from 1 to 10 to 6.
If you press the space key, the number of dice eyes will be displayed randomly.
In addition, there is one more thing for the bucket.
For example, you can hand over what you put in to the other party.
For example, if you ask your mother to get water, you can get water and hand it over.
For example, it is the role of this bucket to put in the number of variables and random numbers and give them to other characters.
You can hand over the number of variables to other blocks.
For example, let's connect the costume from the appearance palette to the dice programming and combine it with the dice eyes from the variable palette.
Then, if you press it, it will look like this.
If you've made it this far, let's make the original dice for today's work.
What kind of dice will be made after this?
I love you.
In Hulu, they are broadcasting the programming of Equal Love without cut.
Don't miss their nice error.
From now on, it's work.
Everyone, let's make the original dice using the variables.
Please make your own dice freely with pictures and sounds.
The way to draw the eyes of the dice is to choose a cat's mark and select a pen.
When you get to the screen to draw a picture, click the conversion to the bitmap and draw your favorite picture.
Shinji-kun, by the way, there are quite a lot of female people.
Female people have a good sense of painting.
Shinji-kun, there are a lot.
Gumi-chan was really good the other day.
I want to draw only that kind of picture.
When you draw a picture, record each sound in the eyes of the dice.
Select a microphone from the speaker at the bottom left.
If you click to record, you can record your own voice.
It's Lavi-chan.
I love you.
When you program the dice with the block of repeating 10 times from the control palette,
the eyes will change to random and the eyes of the dice will be decided on the 10th time.
What kind of dice was made?
Let's have a look at Emily's
Here I go
Kirin
Wanwan
Kirin
Wanpyon
Kirin
Kirin is a bit high
That's right
I wrote Kirin in contrast
Sensei
You are good
Thank you
You are good
You are great
Let's have a look at Iori's
Here I go
5,4,1,6,6,4,3,1,5,1
Nagisa
Here I go
I'm embarrassed
It's you
I love you
It's you
Kiss
It's you
Kiss
I love you
Kiss
It's you
Since it's a random number, I want to hear other numbers
Let's have a look at Hana's
Noemi
Pyonpyon
I hate you
Noemi
I love you
I hate you
Pyonpyon
I hate you
Wow
The last one is Shinju's
Meow
What was the last one?
What was it?
I don't know the number
1
You think so, don't you?
Yes
Shinju, please do it again
Meow
It's true
Today's Summary
To make a dice, select Make a variable from the Variable Palette.
Name the new variable and click OK.
If you can do that, press the Space key from the Event Palette and make the number of dice eyes from the Variable Palette to 0.
Since the number of dice eyes is random, select the number of dice eyes from the Variable Palette from 1 to 10 and change the number of 10 to 6.
If you can do that, connect the costume from the Appearance Palette to 〇〇 and combine the dice eyes to 〇〇.
If you can do that, press the Space key from the Appearance Palette and make the number of dice eyes from 〇〇 and combine the dice eyes to 〇〇.
Next time, we will make an event using a message.
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.
This program was brought to you by PLOSTA, a programming learning system.