AISubs
The summer break has ended and the new semester has begun.
The children are excited and excited.
Yes, a programming class that was supposed to start in April at many schools is waiting.
But it's also true that they don't know how to learn programming.
So, a new project to learn programming easily starts.
The catchphrase is, I want to know now.
Programming is actually deeply embedded in our lives.
The fireworks of Amuro Namie are also launched by programming.
Everyone wants to know about the company's social research.
Create a homepage with programming.
Programming stars who changed the world with the power of programming also appear one after another.
Pro star members challenge programming certification.
The way to pass may not be easy.
Now, let's have fun learning while playing.
This time, programming to draw a pentagon and a hexagon with a scratch.
And the way to the programming certification that aims to pass the certification.
I want to know now. Aim for programming star.
Good morning.
How are you?
I'm fine.
I'm going to study multidimensional today.
Yes.
What are you doing today?
This time, I'm going to learn programming to draw a variety of pentagons.
Yes.
Last time, we learned that the length of the pen and the size of the inside angle are all equal by studying the triangle and the square.
And to draw this figure in programming, it's important to think about how many times the outside angle is.
So, today's mission is to draw a pentagon and a hexagon.
A pentagon and a hexagon.
It's going to be more difficult to calculate.
The pentagon is equal to the size of the five sides and the five angles, and the hexagon is equal to the size of the six sides and the six angles.
I see, I see.
Did you notice anything?
In the end, you'll have to draw a lot of pentagons.
But before that, what kind of pentagon did Prosta- chan draw?
I drew a pentagon and a hexagon.
When I drew it, I noticed something.
That is, when the angle increases, it gets closer to the circle.
I understand that.
This realization is important for learning programming.
The two seem to have a sharp antenna.
Then, let's start with our head exercises today.
This is a hexagon, but what does it look like?
Soccer ball
That's right, but it's a bit different
It's different?
By the way, a soccer ball is a sphere made of a pentagon and a hexagon
Then, what is this?
Beehive
Shinji-kun is correct
I'm sorry I stole your answer
Not at all
Beehive
If you look closely at the beehive, most of them are made of hexagons
The important thing is that the polyhedra that can be laid flat without gaps are only the triangular, square, and hexagon
Is that so?
Next, please look at this
This represents the number of lines that extend from one point when a dot is placed in the center of each polygon
I didn't get it
The line that extends from the center point, which is the connection point of the beehive, is the smallest hexagon
It's the smallest hexagon, so when you think about it in relation to dots and lines, the simplest structure is the hexagon
Even in the same area, the bees that adopted a hexagonal shape close to a circle are very rational
This is the wisdom of the living
Bees are amazing
They are smart
Who taught the bees?
The larger the angle, the shorter the length of the frame
That's right
If you make a circle at the end, it will disappear
Let's draw a hexagon that is also used in Tachinosu
You have a piece of paper with a hexagon on it
Let's use it to find the circle of the hexagon
The circle of the hexagon and the square that we learned last time was 180 degrees and 360 degrees
This is a big hint
Let's start
To find the circle of the hexagon, draw a line and make a triangle
How many triangles did you draw in the hexagon?
This program is provided by the programming learning system
How many triangles should I draw to find the circle of the hexagon?
Did you get the answer?
What?
It's easy
I can do this
How many triangles did you draw?
Let's start with Yori-chan.
1, 2, 3, 4, 5, 6!
It's pretty.
I'll draw it.
It's dirty.
Let's see Shinji-kun's answer.
It looks like it was drawn in a meeting.
It's dirty.
Their answers are 6.
What happened to everyone?
Let's see the correct answer.
But both of you got it wrong.
Prosta-chan, tell them the reason.
Everyone, do you remember the last time when we were looking for the inner square of a square,
we divided the triangle in half and thought of two?
Yes.
The inner square of a triangle is 180 degrees, so the point is how many triangles can be divided into.
You draw the smallest one.
Shinji-san, that's right.
And you can see that the number of triangles increases one by one as the number of squares increases.
Now that you know how to think, let's actually use Scratch to program it.
Yes, I got it.
I see.
Prosta-chan, please explain the code.
Now, I'll explain how to draw a hexagon.
Are you both opening the Scratch screen?
Yes.
Like last time, select the pen from the expansion function and add it to the palette.
Then, select when the space key is pressed from the event palette.
Next, from the pen palette, connect the pen down to the bottom.
Next, select move for 10 seconds from the movement palette and change the part of 10 to 100.
It's done.
From the same movement palette, turn the arrow around the left 15 degrees and put it on the bottom to erase the number 15.
It's done.
Next, select 10 times from the control palette and put the two blocks in between.
And if you erase the number 10, you're ready.
Then, let's put the numbers in two places, turn the sprite several times, and program how many times it will be a hexagon.
I wanted a little more.
It's like this.
I don't know the angle.
Here's a hint.
The triangle, the square, and the pentagon are like this.
Now you know the pentagon.
I got it.
Is that so?
720 degrees.
I made a mistake.
What?
I made a mistake.
How many degrees?
There are four triangles.
So it's 180 times 4.
It said 6.
If you notice a mistake, it's a nice error.
Let's actually put the numbers in.
Can I put it in and try it?
Shinji-kun, correct!
I want to make it 120 degrees. How many times do I have to move to make it 120 degrees?
It's wrong, right?
I'm going to be a blonde teacher.
Hey, Nori-chan!
If you put a line in a hexagon, you can make four triangles.
180 degrees times 4, the circle of the hexagon is 720 degrees.
But I had to calculate the angle of the outer angle, not the inner angle.
Now, I wonder if Iori-chan's programming was correct.
I'm going.
I did it!
Correct!
I wonder if Iori-chan has figured out how to think.
I've got it.
The circle of the hexagon is 720 degrees.
The inner angle is divided by the number of angles, so if you divide it by 6, it's 120 degrees.
If you know the angle of this inner angle, it's easy to calculate the outer angle.
If you subtract 120 degrees from 180 degrees, it's 60 degrees.
This is the angle that makes it rotate.
Now, let's write the hexagon in programming.
Prosta-chan, please explain the code.
Yes.
First, let's duplicate the hexagonal code we used earlier.
If you right-click when the space key is pressed, you can duplicate it.
Yes.
When the space key is pressed, click on it and choose a position.
Now, try to rewrite the programming of the square root of 5.
I got it.
The square root of 5 is a little difficult.
Let's try try and error.
How is it?
Did you make an error?
Yes, it's like this.
It's different here.
Do you need this calculation?
I learned it earlier.
From one point.
Let's take a look at Shinji's.
Here we go.
That's great.
Shinji repeated the 72-degree rotation 5 times.
Let's ask Shinji how he noticed it.
First, you have to get the angle of the square root of 5.
How many triangles can you make?
You can make three, right?
As it is written, 180 degrees times 3 is 540.
5 times 5.
5 times 5?
There are 5 angles in 540 degrees.
5 times 5 is 108 degrees.
180 minus 108 is 72.
If you turn 72 degrees, the angle here will come out.
So if you do 72-degree rotation 5 times, it will come around.
That's Shinji-kun for you!
He understood it and got it right!
I wonder if Iori-chan will be able to do it after all this time?
I wonder if I did it?
1...
Oh, I did it!
You did it!
I wonder if Iori-chan also understood how to think about pentagons?
I'm convinced.
Well then, let's work this time!
Let's draw various pentagons!
Let's try to calculate freely!
I hope Iori-chan's weakness will be overcome by studying this figure!
Yes!
365...
The pentagon is 540 degrees, right?
It's coming around, it's fast!
I'll be late!
Is there a pentagon?
There are also 7-degrees!
There are also 8-degrees, 10-degrees, 12-degrees, etc., so let's try various things!
Do you want to make more?
365...
Oh, I did it!
It seems that Iori-chan also understood it properly!
Well then, let's finish the work here!
First of all, I wonder what kind of pentagon Iori- chan drew?
It's almost a circle.
I made 24 pentagons.
Moreover, since Iori-chan reduced the number of pentagons to 30, the length of one side became shorter and it was possible to bring it closer to a circle!
That's amazing!
I did it!
Finally, let's take a look at Shinji-kun's work!
I made a lot of them.
First of all, what is this?
8 squares, 2, let's try 3.
4
Shinji-kun drew even more octagons around the first 8 squares!
That's amazing!
Amazing!
I found the standard.
The standard I came up with is 3 times 60, 180 degrees.
5 squares are 540 degrees, and 6 squares are 720 degrees.
First of all, I'm going to apply this in numerical terms.
Shinji-kun discovered the standard of increasing the number of squares by 180 degrees for each square.
180 minus 180 equals 72.
That's what he kept writing.
Shinji-kun, who likes arithmetic, showed us a great discovery today.
It seems that Iori-chan also noticed something in this study.
When you scratch the paper, the number of times you repeat it and the number of times you turn it is 360 degrees.
For example, if you want to repeat it 24 times, you can do 360 ÷ 24 and the number of times you turn it will come out.
Oh, it's that easy?
Yes.
Iori-chan did it!
So, Iori-chan, you learned that there are various ways of thinking through the two of us.
It's very easy.
But I thought I couldn't calculate it, so I relied on this.
It was very easy.
After this is the way to the programming test.
In 2020, elementary school programming education was introduced, and we have been challenging programming to match the introduction.
What we have been using to learn programming is Scratch.
Scratch is an educational programming language developed by Massachusetts Institute of Technology.
You can easily program just by combining blocks, and you can create animations and games freely.
In fact, there is a test for Scratch.
How much Scratch have we learned?
Ogi Hana-chan and Suzuki Hitomi-chan from Koimi are aiming to pass the test.
Let's go! The way to the programming test!
The programming test is aimed at various people, from beginners who have just escaped the basics of programming to super-professionals who aim to be a programmer with professional knowledge.
This time, the two will take the entrance exam to learn the basics of programming.
Hana-chan and Hitomi-chan, the way to the programming test that started last time. It's not easy to pass the test!
Yes! We reviewed it last time.
The entrance exam for the two will be a test to see if they have learned the basics of Scratch.
The content of the exam is from the basics of Scratch to operation and naming.
We are also learning daily as three types of programming personnel.
Conditional division, parallel processing, etc. It is issued from about 13 items to the basics of programming.
Today, we will check the basic knowledge of Scratch, the basics of Scratch naming and operation, while solving the assumption problem.
Then, Aikawa-sensei, thank you again today.
Thank you. Let's do our best together.
Let's do our best today.
I'm going to do my best.
I'll ask you how you've been working with Scratch so far.
Yes, let's solve the problem right away.
What do you call the parts that represent commands like a diagram?
No. 1.
No. 2.
No. 3.
No. 4.
I don't remember.
Aikawa-sensei, today's assumption problem is the basic knowledge of Scratch, isn't it?
That's right. It's a question about the basic knowledge of Scratch, so please remember it well and write it down.
Which one was it?
I don't remember.
I'm here. I don't know.
Hana-chan, Hitomi-chan, did you write the answer?
I wrote it.
Ta-da!
Both of you have the same answer.
I wrote No. 3.
Aikawa-sensei, please give us the answer.
The answer is No. 3 block.
Thank you.
Both of you are correct.
I was very anxious.
This block is a feature of Scratch.
The programming that builds up this block is called visual coding.
The programming language is written on the back side of the block.
To program in this language, you need professional knowledge.
So, Scratch blocks this professional programming language, and anyone can easily program by simply stacking blocks.
As a matter of fact, even if you don't remember this name, you can operate Scratch, but I want you to remember these basic words.
Yes.
Let's move on to the second question.
Aikawa-sensei, please.
As the answer to the next question, please choose the most appropriate one from the options.
How should I operate the block to execute the block? Right click No. 1, click No. 2, return No. 3, charge No. 4.
This is a question about the operation of Scratch.
Yes, this is a question about operation.
Did you understand the question about basic operation of Scratch?
How do you operate a block?
What's the difference between right click and click?
Do you know what charge is?
I don't know.
Charge is used for transportation, isn't it?
Are you sure?
Did you get the answer?
One, two, ta-da!
No.2!
Ms. Aikawa, please give us the answer.
The answer is No.2, click.
I'm so glad!
You're not glad.
There are a lot of blocks in the menu.
From there, you choose the block that suits your purpose and stack it on the right side.
This is called execution.
I think you were confused between click and right click because of this problem.
In general, when you click on a computer, you click on the left side.
Click means left click.
By the way, what happens when you click on the right side?
You can delete or duplicate blocks.
I see.
Ms. Aikawa.
Yes.
Is there any operation called return and charge?
I think it's a trick.
It's a word like this.
I see.
A confused person is next to you.
Today's question is the basic knowledge of Scratch.
Both of you got all the questions right.
I thought it was execution to press start after lining up all the blocks.
It's execution to move from the left pallet to the right pallet.
I'm glad I learned that.
I wrote it down in my notebook.
I learned something new.
I've got a lot of things in my head.
I'll review it next time and put it in my head.
Today's question is the basic knowledge of Scratch.
Hana-chan and Hitomi-chan got two questions right.
I'm going to study hard to pass the exam.
Next time, we're going to write a multidimensional equation in Scratch.
Iori-chan is very excited about the discovery of the law.
Look forward to it!
This program was brought to you by FROSTA, a programming learning system.