AISubs v3.5
In 2020, programming education will be introduced in elementary school classes!
Now is not the time for us to live without computers!
For children who dream of the future, it is important for them to know how computers work!
To do that, they need to learn programming!
Learning programming does not mean changing the world in the future!
Therefore, we will take a step forward in programming for next year's completion!
We will learn programming with fun using games and music!
What is that?
It's a potato!
A love song sung by programming stars!
Therefore, everyone in front of the TV should prepare a tablet or computer and go on a programming journey while having fun with us!
Let's go! Programming Stars!
Here we go! "Go for it! Programming Stars!" I'm Kyoko Gunji, a band member. Nice to meet you!
And here is Mr. Ando. Nice to meet you!
Nice to meet you, too!
Today, we're going to study with everyone in front of the TV again.
Shonan no Kaze no Wakadannako and Nira Shinji-kun.
Sashihara Ino-san produced "equal love" and Emily- chan, who loves fashion, and Inori-chan, who loves games.
In addition, a new student who joined us this time is...
Over Hana-san of "equal love". Nice to meet you!
Nice to meet you!
And the other one is...
Tanizaki Saya-san of "not equal me". Nice to meet you!
Nice to meet you! I'm Tanizaki Saya of "not equal me". Nice to meet you!
First of all, let's review what programming is.
Are you all clear with what we did last time?
Yes, we are!
Of course!
Then, let's review it!
As expected of you!
It's perfect!
Shinji-kun!
Yes!
What is programming?
Programming is...
An order book!
Correct!
I'm surprised!
I will explain the programming system to you as if you were a first-timer in a program.
Sensei, please!
Yes!
A mother gives instructions and goes shopping for a purpose.
Please think of this instruction as this program.
Yes!
Then, I have a question for you!
Odani-san!
Yes!
Shinji-kun, who is a first-timer in a program,
what do you call the necessary procedure for a mother to go shopping in the best way?
Yes!
Algorithm!
Correct!
What is that?
It's perfect!
Yes!
Wonderful!
Then, please look at this!
Shinji-kun tries to go shopping for his mother,
However, there are many ways to get to the shop, aren't there?
If you walk a path you don't know, you may get lost.
In that case, you want to go through the most efficient way and do shopping at the shortest distance, don't you?
What you need at this time is an algorithm.
So, Noguchi-san, what is an algorithm?
Yes, it's about efficient processing.
That's correct!
What is this?
Everyone, it's perfect, isn't it?
Now that we've reviewed it, let's know how amazing computers are in our first study!
Now, let's have a competition between humans and computers using cards!
To know how amazing computers are, we'll have a card- listening competition!
Hana-chan of "=LOVE" will have to line up numbers from 1 to 9, and Hande will have to line up numbers from 1 to 100 in small order as a handicap for computers.
Which one of them will be faster?
This program is provided by PROSTA, a programming learning system.
- I'll do my best! - Yes, do it as fast as you can!
- Faster than a computer? - Yes, faster than a computer!
- I'll do my best! - This is a battle we can't lose!
- We definitely can't lose! - Yes!
- Ready, start! - Yes!
- She's fast! - She's fast!
- By the way, it took 0.96 seconds for the teacher to raise her hand. - 0.96 seconds!
- It took 0.96 seconds for the teacher to raise her hand, but it only took a second for the computer to line up numbers.
- It didn't even take a second! - It didn't!
While Hana-chan lined up numbers from 1 to 9 in 7 seconds,
the computer can line up numbers from 1 to 100 in an instant.
Now, let's take a look at what kind of program the computer was using to line up numbers.
By the way, if you look at it, it looks like this.
Oh, it's a little headache, isn't it?
I don't know what you're talking about.
It's confusing, isn't it?
I don't know what you're talking about.
I don't want to see it.
I don't know what you're talking about.
You don't like it, do you?
I don't like it very much.
You don't like it very much, do you?
I don't like it very much.
After all, programming is conscious of being difficult, and this is exactly what it is.
However, recently, an innovative programming environment has been created.
What is it?
Here it is.
Yes.
It's called "scratch".
Scratch?
Yes.
You can do this just by combining blocks.
It's too compact!
That's right, that's right.
Unlike the source code you used for conventional programming,
you can do programming just by combining blocks.
It's very easy to get scratch!
Search "scratch" on the Internet and go to scratch's website.
If you click "make", you can start right away, so let's get ready!
If you're ready, here's today's mission!
Let's use scratch!
It's really easy for children to understand, but there is this paint palette, right?
Yes, yes, yes.
In that case, this is called "block palette" and it is divided by color.
From above, there is movement and appearance and so on.
In addition, there are various "code blocks" in this palette.
In addition, there is a "code area" to work with this "code block" here.
In addition, as a result of implementing this "code area", there is a "stage" here and a "sprite" here.
This "cat" is called "scratch cat" and this is called "sprite list".
In fact, this sprite can be changed to your own character later.
So you can change it to your favorite character, so please look forward to it!
Did you all understand the name on the scratch screen?
It comes up many times in class, so remember it!
Let's move the "cat" ten times in the first study!
Now, there is a "palette" here, and from here, first of all, when the "space key" is pressed in the event,
this is called "drag and drop", and you can speak with this.
This one?
Yes.
So, when the "space key" is pressed, this is called "drag and drop", right?
Yes.
This is cool!
First of all, everyone, please proceed there.
Next is "movement block", blue one.
movement block
"movement" is blue one, right?
Yes.
And from here, move it ten steps.
Move it ten steps, right?
Yes.
Move it ten steps, right?
Yes.
Did you understand so far?
First of all, when the "space key" is pressed in the event "palette",
this is called "drag and drop".
Let's select "move" from the "movement palette" and connect it!
This block-like thing needs to be connected, right? "Ka-cha"?
Yes, "ka-cha".
That's right. If it's separated, this program is separated, so "ka-cha" becomes one program.
Now, let's take a look at the members' screens to see if the program is ready.
It's their first "scratch", but they're all working properly.
Now that the program is ready, let's press the "space key".
Ah! It moved!
One step! One step!
This "ten steps" is a "ten dot" and "ten" moves.
Ah! I see!
I don't know how to translate it, but "ten steps" is "ten dot" that moves.
"Dot"?
"Ten dot".
Everyone, the feet don't move, but the cat moves forward.
The cat moves forward. That's right! Forward! Like this!
Ah! I see!
Now, Ms. Ando explained "ten dot" as "walking ten steps", but as "moving ten dots on the screen".
The next study is to put the cat back in its original position!
Let's make this!
When the "shoulder" is pressed, turn 90 degrees and rotate the "x" coordinate and "y" coordinate freely.
For the time being, the cat will go home.
Now, I will explain the current programming!
First of all, let's choose "when the "shoulder" is pressed" from the yellow "event" block!
Next, from the blue "movement" block, turn 90 degrees and...
Select X coordinate as "one" and Y coordinate as "one" and reduce "one" into "zero"!
Finally, activate "turn only" option and "only" each of them can rotate freely!
Did you all get it!?
By the way, which cards we can find? Over here!
This one!
If you click on the flag, it will come back to the middle.
It moved!
It doesn't come back.
Why doesn't Shinji's cat come back to the middle?
This is where two of them overlap like this, isn't it?
This is a great mistake.
It's a great mistake!
This is what I'm going to do with the block now.
I tried to stick these x coordinates and y coordinates together.
I thought it would stick vertically and sideways.
Yes, that's right.
It doesn't stick.
It doesn't stick?
This is it.
Oh, that's where it was.
Yes.
Programming processes from top to bottom in order.
It doesn't process sideways.
It doesn't process sideways, does it?
Yes.
This is it.
Then push the flag.
Flag.
Yes.
It's back!
Great!
There was a new discovery from the error.
That's right.
A new discovery from this mistake is very useful, so don't be afraid of mistakes more and more.
In today's school, they say you can't make mistakes, but on the contrary, programming is a plus in making mistakes.
Please think like that.
Yes.
I was worried that I would be dropped or that I wouldn't be here for a long time.
You are the best student.
Don't make mistakes.
It's hard to make mistakes and perform, and it's a world without knowledge, but in the world of programming, you will make more and more mistakes.
Don't make mistakes.
That's right.
Here is the programming that Shinji made a mistake in.
A block is connected vertically, but it is not connected horizontally.
Everyone, without fear of failure, let's try various programming.
It might have been difficult from the beginning.
But it's a nice error.
It's a nice error.
It's everyone's fault.
Thank you very much.
Is it okay so far?
Yes, do you have any questions so far, everyone?
Is it okay?
Yes, it's okay.
First of all, we moved the cat.
Next, let's run the cat.
After this, we will try to make the cat run.
Do you know what blocks you should bring?
The next study is to make the cat run.
This is a cat, but when you press the space key, it moves like this.
It's a little unnatural, isn't it?
It's moving like this, as I said earlier.
That's why you need to walk like this.
So, look at this.
It's a purple palette, isn't it?
And here, "costume".
costume
Yes, I made it the next "costume".
Please put it under this.
Under the space key?
That's right.
Yes, it's under the space key.
What will happen if you press the space key with this?
Yes.
To make the cat run, choose "make the next costume" from the purple palette.
Connect it to the bottom of the programmed block.
Now, let's see the cat running!
The old lady has opened her eyes.
Is it running?
Yes, it is.
It's good.
It's fast.
How about you, Shinji?
I'm catching up with you.
Yes.
It's good.
It's running.
Sensei, you've done so far, haven't you?
It's perfect.
Yes.
Now, let's do today's work.
Let's compete with cats!
It's a race, but everyone runs in the same way, doesn't it?
Yes.
For example, you can use a dice in a game, can't you?
Yes.
You don't know which eye will come out of the dice.
That's why it's so interesting.
It's good.
Actually, in "scratch", there is a number of dice with the same role as a dice.
And where is it?
It's here.
It's a green palette.
I've never seen it before.
The number of dice from 1 to 10 depends on...
It's round!
It's cool!
That's right.
You can put it in here.
I don't know how many will move.
You don't know.
Wow!
In this case, sometimes one will move and sometimes ten will move.
So, it's more game-like.
Let's compete with this.
Wow!
Great!
In order to make it more game-like, you can choose a number of dice from 1 to 10 from the green palette...
and put it on top of a block that moves ten of them.
Then, the blocks will retreat from each other.
As a result of this, you won't know how many steps you will take every time you press the space key.
Are you ready?
Let's compete with this palette!
Now, it's practice time!
Cat's special competition battle!
You won't lose.
Yes. The rule is very simple.
The one who makes the cat run and score first wins.
Yes.
Let's do it.
Yes.
When you score, raise your hand and tell me.
Ready, go!
Second place!
Third place!
Shinji-kun!
Yes!
The fastest one is Noguchi-san!
Congratulations!
Why are you so fast?
My right hand...
Because you play games for hours every day.
Yes, you are a gamer.
As for Benda...
When you scored, it was more like a computer game.
Yes, yes.
It was fun.
It was my first time to combine and move things by myself.
When I saw myself moving, I thought I was one step closer to making games.
I was very happy.
When we learn together, we can compete and get used to the sense of the game.
I thought I couldn't do it alone.
I'm happy you mixed it up.
Yes.
After this, let's learn programming you know.
Investigate useful programming in the station!
Let's learn programming you know.
Most of the smart phones and games you use as usual are actually programs.
Today, we are going to learn about the programs you use as usual and find out if they are useful or not.
Yatsune-chan, what do you use when you get on the train?
I use my wallet and my passport.
Don't you want to know how you got on the train before you got your IC card?
I want to know!
Today, we are going to learn about the programs you use as usual and find out if they are useful or not.
We are at Odakyu Dentetsu Shinjuku Station.
This station is used by about 500,000 people every day.
Although many people can use it conveniently, the power of programming is very important.
Let's begin our investigation.
Thank you for having us today.
Thank you for having us.
I heard that there are many programs programmed for the trains we use every day.
What kind of programs are there?
There are many. First of all, there is an automatic inspection machine.
This is an automatic inspection machine.
In the past, tickets were sold by Kakerin and Kiki Kakerin at the doorstep.
After that, an automatic inspection machine was introduced.
At first, only tickets could be released.
It evolved little by little and now many tickets can be released.
You can choose a number of tickets or a free pass.
This is a map and you can choose a free pass where you want to go.
It's easy to understand and good.
Programming has evolved little by little and now it looks like this.
It's very useful.
Do you often use it when you charge your ic card?
In addition to various tickets, it has various functions such as changing special specified seats and air seat introduction.
With this introduction, it is said that the burden of the station staff and the waiting time at the window of users has also been reduced.
Next is the automatic ticket machine that everyone is familiar with. It seems that there have been many improvements due to this.
How did you get a ticket before you could get an automatic ticket or IC card?
Before the automatic ticket machine was introduced,
the station staff would stand at the position of the automatic ticket machine, receive tickets from customers, and insert scissors into the tickets in order for them to enter.
One by one?
That's right. It was a very difficult task because you had to insert scissors one by one.
That's right. It also took a lot of time.
Let's experience how they actually cut the tickets here.
First of all, how you hold it.
Hold both ends with your thumb and index finger so that you can pinch from above.
You can move it with your middle finger.
That's right. You're good at it.
Both of you are very good at it.
You're good at it.
It's heavier than I thought it would be.
This is difficult. I thought it would be difficult if you did it over and over again.
That's right.
The rush hour is between 40 and 50 people per minute.
If you don't judge quickly, the ticket gates will be crowded.
The way we hold it and the way you hold it are different.
You've noticed a good point.
In fact, depending on the station, the shape of this border is different.
There are dozens of stations.
At that time, the station staff had to memorize everything, so it was a lot of work just to memorize it.
It takes time and effort for people to do it.
By becoming an automatic inspection machine, the station staff's work will be reduced and customers will not have to wait for a long time, so I think there are benefits for both.
Automatic inspection machines have other benefits.
In the past, this used-up ticket was thrown away as a large amount of garbage.
With the use of automatic inspection machines, garbage has decreased and the environment has become kinder.
Let's continue from this automatic inspection machine.
This is a system developed for the first time in the world by Odakyu Electric Railway.
At first glance, it looks like a normal inspection machine, doesn't it?
Yes.
If you look closely, can you see where you should touch?
It says "delay certificate".
Yes.
This is an opportunity to issue a delay certificate when the train stops.
This is a delay certificate issued for companies and schools to report delays in trains.
Usually, delay certificates are distributed in front of inspection machines,
but Odakyu Electric Railway has created an automatic system that comes out of the inspection machine.
Customers who wanted delay certificates were overwhelmed by inspection machines and the inspection machines became very crowded.
In order to solve this problem, by issuing a delay certificate from the inspection machine,
you can receive a delay certificate smoothly as it is.
It's very convenient.
Yes.
You can take it with you when you go out, can't you?
That's right.
We also give you a quick guide.
Now, it is all thanks to programming that users can comfortably use trains or stations.
Wow, it's amazing. It's a learning experience for me.
Programming is really amazing.
It's wonderful, isn't it?
There is still more, so let's go.
Yes!
That's it for this week.
Next week, we will infiltrate the station's platform.
What is the system that protects life hidden in the platform?
One, two...
Today's review.
This time, we studied programming using Scratch.
First of all, to move 10 cats, you need to press the Space key from the Event Palette and move 10 cats from the Movement Palette, and the cat will move forward!
In addition, if you connect "from the Appearance Palette to the next costume", the cat will move like it's running!
Next time, we'll make an original character with Scratch! Look forward to it!
This program was brought to you by FROSTA of the Programming Learning System.