AISubs v3.5
The summer vacation that has endured self- restraint has ended and the new semester has begun.
Children's excitement won't stop, will it?
That's right! A programming class that should have started in many schools in April is waiting for you!
But it's also true that you don't know how to learn programming right now.
So, a new project to learn programming in an easy- to- understand manner has started!
The catchphrase is "I want to know now!"
Programming is actually deeply integrated into our lives.
The fireworks of that Amuro Namie are also launched through programming.
A tour of society of that company that everyone wants to know about.
Create a homepage with programming!
A programming star who changed the world with the power of programming also appears one after another!
A professional star member challenges programming only!
The road to passing may not be easy!
Now, let's have fun learning while playing!
This time, we'll challenge programming by writing multigraphs with Scratch!
And we'll create a homepage for a new-born yakitori store!
"I want to know now!" Aim for programming star!
Shinrikun, Iori-chan, good morning!
Good morning!
Yaho!
What you two have gathered for today is nothing but programming lessons!
How is it?
But you two...
Due to COVID-19, you haven't been able to go on location and have been doing online classes, haven't you?
Yes.
Now you can go on location more and more, so you're going on location with the other members!
It's delicious.
What?
You're all going on location, aren't you?
I want to go on location, too!
Wait a minute!
I don't like it!
It's not that I don't like it!
That's how you go on location.
No, no!
Even though you can go on location now, the classes you do in the studio are important segments that will be useful for the viewers!
That's what we need you two, who are essential for the show, to protect!
You're all a little high-profile, aren't you?
That's what we need you two!
That's right!
Speaking of lessons you're good at in Shinjuku...
Mathematics!
It's mathematics!
Mathematics!
Today, we're going to use Scratch to learn multidimensional systems that we learned in fifth grade!
Yes, I miss it!
We're going to have you try programming squares and rectangles and see what happens!
Squares are all squares of the same length!
Yes!
Triangles are all triangles of the same length!
Yes! 60 degrees, 60 degrees, 60 degrees...
Oh, I see, I see!
Shinji-kun, who is good at mathematics, has already been noticed by the Cabinet!
But don't worry, Iori-chan!
What's important in class is this "notice"!
That's a big step!
Then, what is the inner angle of a square?
One angle is 90 degrees.
Oh, that's a hint!
It's a square, right?
How many cards are there?
There are four of them, so...
There are four of them.
Six thirty-six...
Six thirty-six and...
Three hundred and sixty degrees!
Oh, good!
You said it in a rap style!
Yeah!
Then, let's draw a straight line connecting this square's diagonal line!
Then, we have two triangles, right?
Yeah!
So, half of 360 degrees is the inner angle of a triangle!
Yeah!
So, Iori, what is the inner angle of a triangle?
The inner angle of a triangle?
Yeah!
Because there are two squares...
Oh, because there are two squares!
Yeah!
Because there are two squares!
Yeah!
180 degrees!
Yeah!
That's correct!
In the case of a triangle, whether it's a binary triangle or a rectangular triangle,
the inner angle of a triangle is 180 degrees!
Yeah!
It's 360 degrees whether it's a square, a diamond, or a cube!
Yeah!
It's interesting, isn't it?
Yeah!
I'd like you to build up this awareness by studying figures!
So, please express what you've noticed in this multidimensional class!
Yes!
I got it!
Well, let's do some head exercises first to build up your awareness!
Let's do it!
Yes!
Here it is!
Can you find out how many whole triangles there are in this?
Please look for it!
Whole triangles?
Whole triangles!
One, two, three, four, five, six, seven, eight, nine!
Eight!
Shinji-kun!
Yes!
What's the answer?
Thirteen! Thirteen!
Oh!
Well, Yori-chan!
Yes!
Thirteen!
It's the same!
We got it right!
I'm getting a little anxious!
First of all, there are nine small triangles in a large triangle!
Nine is still...
Then, there are three triangles separated into red, blue and green!
In addition, there is one large triangle!
The answer is...
Thirteen!
Both of you are correct!
We got it right!
We did it!
This is called "spreading of whole triangles", and we study it even in math in the third year of elementary school!
If you spread a diagram, you will find something!
You're right...
This whole triangle is perfect without any gaps!
Like this!
There is no gap in one kind of multi-triangles!
On the plane, there are only three kinds of whole triangles, squares and hexagons!
Once you've done your head exercise, you'll be asked to draw a whole triangle and square in programming,
and in the end you'll be asked to draw any design you like using that design!
Okay!
Prosta-chan, what design will you be drawing?
Okay! Here's my design!
Wow, it's beautiful!
It's beautiful!
It's beautiful, it's beautiful, it's really beautiful!
I combined the same size of squares and whole triangles and changed the colors little by little.
You suddenly showed me something difficult.
I'm a little nervous, what should I do?
You're nervous, aren't you?
Okay, let's start programming!
Okay!
Prosta-chan, let's get started!
Okay!
Okay, let's start studying from squares!
Okay!
This time we're going to add a palette and pen in Scratch and draw!
Okay!
First, if you click on the block mark at the bottom left, you'll see various expansion functions!
Ah, you're right!
From here, select a pen and click!
Now we've added a pen palette!
Next, from the event palette, select "when the space key is pressed"!
And from the pen palette, connect "draw a pen" to the bottom!
"Draw a pen"?
By adding a "draw a pen" block, you can draw a line according to the movement of the sprite!
Hmm...
Accepted!
Then, from the "movement" palette, select "move 10 steps" and connect it to the bottom of the palette!
Then, change the number "10" to "100"!
If you don't enter the number in half-way, you'll make an error, so be careful!
Next, from the "movement" palette, select "turn 15 degrees" and connect it to the bottom of the palette!
Let's delete this "15" number!
Delete...
Yes!
Next, from the "control" palette, select "turn 10 times" and connect it to the previous two blocks!
Yes!
Lastly, since we're drawing a rectangle, let's make the number of "turns" four!
With this, we've been able to program "move 10 steps" and "change angles" four times in a row!
Next, think about how many times you can draw a rectangle by entering a number in the "turn many times" section and turning the sprite many times!
Think about it yourself!
One...
Huh?!
One...
Two...
Ten steps...
Two...
Ten, ten, ten, ten, ten, ten, ten...
Three...
Huh?!
Well, but, you know, normally...
Normally... Is it a normal one?
It's a normal one, right?
Then, let's try a normal one...
After this, we'll implement programming to draw a rectangle!
This program is brought to you by PROST of the Programming Learning System.
Today's first mission is to draw a square.
Did you two finish programming?
Let's see Shinji's programming first.
Here we go.
You're fast!
Shinji, you're correct!
Now let's see Iori's programming.
Here we go.
Here you go.
In an instant!
She said "in an instant"!
Good job, you two!
The number in it is 90 degrees.
Did you get it?
Next, let's draw a square with programming.
PROST, please explain the code.
When you press the space key of each programming to draw the square you just drew,
right-click on it and duplicate it!
This time, I don't want the space key at the top to be pressed, but to press 1, so please change this number to 1!
If you click on the triangle next to the space, scroll down and check it out!
From now on, let's think about programming ourselves so that a straight triangle can be drawn!
If you combine the angle and number of repetitions, you can draw a straight triangle!
It seems like you two are in trouble, but let's take a look at Shinji's first!
What's going on with Shinji's programming?
I don't know...
I did it 63 times...
Yeah, yeah, yeah.
Nice error!
It's a nice error!
You say it yourself, but...
If you go with the square basic theorem from earlier, it'll be like this.
Now let's look at Yori's programming!
OK, here we go!
It's the same!
Yori has also done a nice error!
The correct answer is 120 degrees.
120 degrees?
120 degrees!
The inner angle of the equilateral triangle is 60 degrees.
If you add a line there...
If you draw this line, you can call this angle "outer angle".
They couldn't draw an equilateral triangle well because they didn't realize this outer angle.
Then, how can we determine the outer angle?
At first glance, it doesn't seem like there is an angle, but the straight line angle is 180 degrees, right?
So, you can calculate it by subtracting 60 degrees of the inner angle of the equilateral triangle from the 180 degrees of the straight line.
It's easy, isn't it?
180 minus 60 equals 120 degrees!
In other words, when you draw an equilateral triangle with an outer angle of 120 degrees, it will be the number you put in the palette of shops.
Of course, it's 120 degrees.
I see! That's it!
Since the inner angle of the equilateral triangle is 90 degrees, the outer angle is also 90 degrees.
Since they are the same number, even if you draw the angle of rotation in the same way as the inner angle, you can't draw an equilateral triangle.
However, the inner and outer angles of the equilateral triangle are different.
That's why they couldn't draw an equilateral triangle well.
In other words, in order to draw an equilateral triangle in programming, you need not only the inner angle, but also the outer angle of the equilateral triangle!
Prostaca's Outdoor Business PR Great Strategy! Let's make an original homepage!
This time, we will cover Yakitori Miyagawa in Tokyo Port District.
Based on the particularities of the shops we have covered so far and the charm of cooking, we will announce the secret of making shops that flourish on the homepage.
At Yakitori Miyagawa, due to the influence of the new coronavirus, customers come in huge numbers!
Due to a certain menu, they are planning to regain their customers!
It's an original specialty, but it's called "Amazing Egg Over Rice".
Is it amazing?
It's amazing!
"Amazing Egg Over Rice"!
The naming that makes you want to go to the shop without thinking!
We will make it together!
Before that, I'm a little worried about this.
Yes!
What is this?
This is a work process table of each position of the shop.
Wow!
Wow! Even the time!
Since the time of coronavirus, the number of people has been limited.
In order to make it more efficient, we are talking about which order is the most efficient.
Have you seen this somewhere?
Yes!
It is also useful for programming!
"Pro Chart"!
"Pro Chart" is a diagram that visualizes thought circuits and work procedures.
It can be organized in such a way that it is easy for everyone to understand the complex work process.
It is the same as programming order processing.
In the case of Miyagou-san, we list up what to prepare for the rotation and arrange it in order along the time axis.
If you prepare according to this "Pro Chart",
even if you are an unfamiliar part-time worker, you can prepare for rotation without making a mistake, so you can rest assured!
If you feel that the procedure is different, just change the order of the work pasted with a pencil.
It was the same as programming that can be redone many times.
It's like programming, isn't it? Like the order of meat that has been assembled.
It's like a programming thought.
Then, I would like to make a great omelet rice and go! Please!
As a secret to call back customers, a great omelet rice has been prepared!
This will be an important topic of the homepage!
Is there any secret to how to make it?
There is a lot of it!
Next is this egg white.
This is a soup stock, but I added flavor.
Next, put the soup stock and egg white in a tool called an espuma, use gas, whisk and make a meringue!
It seems that the origin of the great omelet rice seems to be in the process after this!
Then I will do it!
Wait, it's dangerous!
Cute!
Isn't it a sweet?
It's a sweet, really!
I don't know what it is anymore.
It's a little difficult.
I will do it!
It's done!
It's amazing!
It's delicious!
I did it!
Finally, put the burnt part of the meringue on the burner and put the egg yolk dipped in the chicken sauce.
It's a great omelet with rice!
It's done!
It's a charming double menu!
Then, I would like to eat it right away!
It's double, isn't it?
It's double!
It's cute!
It's amazing!
I will eat it!
It's fluffy!
The meringue is fluffy and you put soy sauce on it, didn't you?
Ah!
It's very effective!
Wow!
Next is Momo!
I will eat it!
It's big!
Wow!
The meringue is fluffy and juicy!
It's amazing!
It's new, isn't it?
I started posting this on Instagram right now.
There are many customers who come to see this.
Don't you have a hashtag or something like that?
You can write "s.t.k.g" on a postcard or something like that.
Ah!
s.t.k.g
That's good!
Finally, can I say one thing?
Yes!
What does "yakitori" mean to you?
It's something you have to protect for your customers and for the history of your restaurant.
Wow!
That's cool!
I have to write it down.
Write it down!
From now on, it's multilayered programming again!
Let's draw the original pattern!
This work of Prosta-chan that we first saw!
Let's start with the programming on the left!
This is...
Connecting a "turn it 60 degrees" behind a straight triangle...
And then...
Programming it six times in a row!
Let's try it out!
Wow!
Why 60 degrees?
Just like before, it's important to think about how many degrees the outer angle is!
Draw a straight triangle and turn it 60 degrees.
Again, draw a straight triangle and turn it 60 degrees.
Wow!
And this is a colorful programming using squares!
After programming with squares and turning it 15 degrees,
I repeated it 24 times and put it in!
To make it even more colorful,
I changed the color of the pen from the pen palette 10 times and programmed it to change color!
Wow, I didn't know about that!
It looks fun!
In the case of squares, there are 199 colors and you can go back to the original color with 200!
If you change the color of the pen 10 times, anyone can use colorful colors like a rainbow!
We did it with a compass, didn't we?
We did!
We did it little by little.
It brings back memories.
Now, let's make various patterns!
Yes!
After this, we'll announce the original squares we programmed!
What kind of squares did we make?
Oh my! Why doesn't it stop?
Today's work! Let's program original squares!
What kind of patterns did we make?
I can't calculate it!
It's funny how you talk to yourself.
I talk a lot to myself.
I see!
You sound like Minomonta.
I see!
Are you ready?
Let's see Shinji's programming first!
Wow!
It looks like a flagpole.
It looks like an umbrella!
Right?
It's so pretty!
Shinji turned the square six times and repeated it 60 times.
If you shift the same square a little and draw it 60 times,
Iori-chan is right! It looks like an umbrella and it's so pretty!
What did Shinji notice in this programming?
60 times 6.
It's very important to multiply by 6 and get 360 degrees.
The relationship is the most important.
For example, if this is 15 degrees,
it's 360 times 15 degrees.
Turn it 24 times.
If it's 18 degrees, turn it 20 times.
I think this relationship is the most important.
By writing multiple squares in programming,
Shinji understood the rule of 360 degrees again!
This is a great discovery!
Shinji, you're the best!
Lastly, Iori, what kind of programming is it now?
Here I go.
Why doesn't it stop?
Iori, nice era!
Nice era!
Will Iori notice why it doesn't stop?
How many times has it been?
I noticed!
I miscalculated!
How many times has it been?
Instead of turning it 30 degrees, I was turning it 120 times!
3600 degrees!
It was good for Iori to turn it 30 degrees after the right triangle code,
but since she repeated it 120 times, it went around the same place!
I noticed!
It went around the same place!
Oh, I miscalculated!
I'm sorry!
So it's 12 times, right?
But Iori noticed her mistake!
This is also a nice era!
Let's fix it and look at it again!
Two!
Oh, it's done!
Thank you!
After trying a lot of things, I think I'll be able to find my favorite shape,
so I want to try more!
What would it be like if you put in your favorite number?
That's true!
The relationship between numbers and shapes might be interesting!
Sounds interesting!
Both of you did a good job!
Next time, we'll study pentagons and hexagons!
Look forward to it!
I'll do my best!
This program was brought to you by PROSTA of the Programming Learning System.