AISubs v3.5
The summer vacation that has endured self- restraint has ended and a new semester has begun.
Children's excitement will not 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 way has started!
The catchphrase is "I want to know now"!
Programming that actually penetrates our lives deeply!
The fireworks of that Amuro Namie are also being launched with programming!
A tour of society of that company that everyone wants to know about!
Create a homepage with programming!
The programming star who changed the world with the power of programming also appears one after another!
PROSTA members challenge programming certification!
The road to passing may not be easy!
Now, let's have fun learning while playing!
This time, programming that draws pentagons and hexagons with a scratch pen!
And the road to programming certification aiming for certification pass!
"I want to know now"! Aim for programming star!
Good morning, Prosta gang!
Good morning!
How are you?
I'm fine!
We're going to study pentagons again today!
Yes!
What are we going to do today?
This time, we're going to learn programming that draws various pentagons!
Yes!
Last time, we studied pentagons and squares,
and learned that the length of the pen and the size of the inside angle are all equal!
And, in order to program this figure, it was 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, huh?
It doesn't look like it's going to be difficult to calculate.
A pentagon is equal in size to five pens and five angles.
A hexagon is equal in size to six pens and six angles!
I see, I see, I got it!
Did you notice something?
In the end, you will draw various pentagons!
But before that!
What kind of pentagon did you draw, Prosta-chan?
I drew an equilateral pentagon and a rectangular pentagon!
When I drew it, I noticed something!
When the number of angles increases, they get closer to a circle!
Yeah, I know that!
This awareness is important for learning programming!
The two of you seem to have sharp antennas!
Well, let's start with our head exercises today!
This is a hexagon, but what does it look like?
Oh!
Soccer ball.
Oh!
Your idea is correct, but it's a little different.
Is it different?
By the way, a soccer ball is a sphere made up of pentagons and hexagons.
Then, what is it?
Beehive.
Beehive?
Shinji, you are correct!
Correct!
Wow!
I'm sorry for stealing your answer.
Not at all!
If you look closely at the bottom of the beehive, most of it is made up of hexagons.
The important thing is that only hexagons can be made up of quadrangles, squares and hexagons.
Oh, is that so?
Wow!
Next, look at this.
This represents the number of lines extending from one point when a dot is placed in the center of each quadrangle.
I didn't quite understand that.
A line extending from the center of a beehive will be a hexagon.
So, when thinking about dots and lines, a hexagon is the simplest structure.
Even in the same area, a bee that adopted a hexagonal shape close to a circle is very reasonable.
This is the wisdom of animals.
Bees are amazing.
They are smart.
Who taught bees?
The larger the angle, the shorter the length of the frame?
That's right.
And in the end, it becomes round and disappears.
Then, let's write hexagons that are used even in bees' nests with programming.
Yes.
You two have a piece of paper with hexagons written on it, right?
Yes.
This one.
Let's use it and first look for a hexagonal rectangular circle.
The previous hexagonal and rectangular circles we learned were 180 degrees and 360 degrees, right?
This is a big hint!
Then, let's get started!
To find a hexagonal circle, draw a line and make a triangle.
Now, it's time for answering.
How many triangles did you draw in a hexagon?
None.
No.
This program is provided by PROSTA, a programming learning system.
To find a hexagonal circle, draw a line and make how many triangles?
Did you two get the answer?
It's easy, isn't it?
Yes.
We can do it.
How many triangles did you two draw?
Let's start with Yori-chan.
One, two, three, four, five, six.
It's pretty.
I'll draw it. Are you drawing it?
It's dirty.
Let's see Shinji-kun's answer.
It looks like it was drawn at a meeting.
It's dirty.
Their answers are six.
How about you? Let's see the correct answer.
What?!
But you two are introverts!
Prosta-chan, tell them the reason!
Everyone, do you remember last time, when we were asking for a square inner circle, we cut it in half and drew two triangles?
Yes.
The inner circle of a triangle is 180 degrees,
so the point is how many triangles can a quadrilateral divide into.
Ah, you draw the smallest one.
Shinji-san, that's right!
And as each square increases, the number of triangles also increases one by one, right?
Now that you know how to think about it, let's actually use Scratch to program it!
Yes, understood.
I see.
Prosta-chan, please explain the code!
Now, I will explain how to draw a hexagon!
Are you two opening up Scratch's screen?
Yes.
Like last time, select "pen" from "expansion" and add it to the palette!
Then, select "when space key is pressed" from the event palette!
Next, from the "pen" palette, select "lower pen" and connect it to the bottom!
Next, from the "move" palette, select "move 10 steps" and change "10" to "100"!
Next, from the "same move" palette, select "turn left arrow 15 degrees" and delete "15".
Next, from the "control" palette, select "repeat 10 times" and connect the previous two blocks!
Yes!
And, if you delete "10" number, you're ready!
Now, let's put numbers in two places, turn the sprite over and over again, and see how many times we can get a square!
I wish we could do it a little more...
Then, like this...
Because, honestly...
I don't know the angle.
And...
Then, here's a hint!
Triangles, squares and pentagons are like this!
With this, you should be able to draw hexagons, too!
- I got it! - That's how you do it?
- 720 degrees. - Huh? No, you got it wrong. Wait.
- What? - You got it wrong.
- What degree is it? - The triangle...
- There are four of them, right? - There are four of them, so...
- It's 180 times 4, right? - It's 4.
It said 6.
If you notice a mistake, you're guilty!
Now, let's actually put in the numbers!
Can I try putting it in for once?
- Space... Ah, I did it! - Shinji-kun, you got it right!
- I got it wrong! - Huh?
If you want to make it 120 degrees like this, why does it have to move 120 degrees from here?
- 120... - It's wrong, isn't it?
I want to be a blonde teacher!
Hey! Get in there!
If you put a line in a hexagon...
You can make a quadrilateral, right?
If you multiply 180 degrees by 4...
A hexagon's circle is 720 degrees!
But you didn't have to calculate the inside angle...
You had to calculate the outside angle, right?
Now, Iori-chan's programming!
Did you put in the correct numbers?
Here I go!
- I did it! - I did it!
Correct!
Iori-chan, did you come up with a way of thinking?
I got it! I got it!
A hexagon's inside angle's circle is 720 degrees!
Inside angles are divided by the number of angles...
So if you divide it by 6, it's 120 degrees!
If you know the inside angle's angle...
It's easy to calculate the outside angle!
If you subtract 180 degrees from 120 degrees...
It's 60 degrees!
This is the angle that makes it rotate!
This time, let's try programming a pentagon!
Prosta-chan, please explain the code!
Okay! First, let's duplicate the pentagon code we used earlier!
If you right-click when the space key is pressed, you can duplicate it!
Okay!
If you duplicate it, right-click when the space key is pressed and choose a position!
Okay!
Now, please rewrite it into a pentagonal programming code!
Oh, but I got it!
This pentagon is a little difficult...
Let's try and error it!
How is it?
Huh? I knew it!
I made a mistake!
It's like this, right? It's up to here. It's different here.
It's different here, so...
Do you need this calculation?!
I learned it earlier, so...
From one point...
Hmm...
Okay! Let's see Shinji-kun's!
Here I go!
Okay!
Wow!
Shinji-kun repeated "turn it 72 times" 5 times!
Now, let's hear what Shinji-kun thinks!
First of all, we have to find the angle of this pentagon's inner angle, right?
How many triangles can we make? We can make three, right?
But, as it's written, 180 degrees times 3 is 540, divided by 5...
Divided by 5?!
Yes, among 540 degrees, there are 5 angles, so divided by 5 is 108 degrees, which is the inner angle.
So, 180 degrees minus 108 degrees is 72 degrees, right?
So, if we turn 72 degrees, we can find the angle of this pentagon.
So, if we turn 72 degrees and do it 5 times, we can make it in one turn.
As expected of Shinji-kun! He understood it and was correct!
Can Yori-chan do it, too?
Can you do it?
One...
Oh, you did it!
I did it!
With this, can Yori-chan understand pentagon's way of thinking, too?
I understood it.
Now, it's time for work!
Let's draw various pentagons!
Let's calculate and do it freely!
With this figure study, I hope Yori-chan will overcome her weakness!
Yes!
366 squares is 540 degrees, right?
It's already taking a while! I'm going to be late!
Are there 7 squares?
There are 7 squares, too!
Then, I want to do this!
There are 8 squares, 10 squares and 12 squares, too!
Let's try various things!
Let's make more!
366...
Oh, it's coming out!
It seems like Iori-chan understood it too!
Well then, that's it for the work!
First of all, Iori-chan! I wonder what height scale you drew!
It's almost an "n"!
I drew a "24" scale!
Moreover, by reducing the number of scales to 30, Iori- chan was able to shorten the length of one side and bring it closer to the circle!
That's amazing!
It's done!
Lastly, let's take a look at Shinji-kun's work!
I drew a lot of things!
That's amazing!
First of all...
Oh!
I wonder what this is...
An "8" scale... Let's try a "3" scale...
Let's try a "4" scale...
I can't believe it!
He drew an even larger scale around the first "8" scale!
That's amazing, Shinji-kun!
That's amazing!
I found a regularity!
The regularity I found is...
This "3x60" and this "180 degrees" are the basics.
A pentagon is "540 degrees", and a hexagon is "720 degrees".
First of all, we need to use numerals to find these.
Shinji-kun found a regularity in which each square increases and the inner square's circle increases by "180 degrees"!
I found a regularity in which each square increases and the inner square's circle increases by "180 degrees"!
"180 degrees" minus "180 degrees" gives "72 degrees" angle.
That's what I kept writing and writing.
You're good at math, Shinji-kun!
You showed us another wonderful discovery today!
I see.
It seems like Iori-chan also noticed something in today's lesson!
When you do a "scratch", how many times you repeat it and how many times you rotate it gives you "360 degrees".
For example, if you want to repeat it 24 times, you can do "360" minus "24" and rotate it as many times as you like.
It's that easy?
Can you show me again? "360" minus...
You did it, Iori-chan!
You learned a lot of different ways of thinking through these two!
It's really easy!
That's right! But I thought I couldn't do math, so I relied on this!
It was really easy!
After this, it's time for programming exams!
I did it!
In 2020, programming education was introduced in elementary school, and we have been challenging programming in order to meet the introduction.
What we have been using to learn programming is "scratch".
"Scratch" is an educational programming language developed by Massachusetts School of Engineering.
By combining blocks, you can easily program, and you can freely create animations and games.
"Scratch" actually has an exam.
How much "scratch" we have learned,
Moimiino, Ogihana-chan and Suzuki Hitomi-chan aim for passing the exam!
Go! The Path of Programming Examination!
Programming Examination is...
From beginners who have learned the basics of programming to professionals who aim to become programmers with professional knowledge,
we target various people.
This time, they will take the "entry" category to learn the basics of programming.
The Path of Programming Examination, which started last time!
Hana-chan! Hitomi-chan! Passing the exam is not easy!
Yes! We reviewed it last time.
The "entry" category they will take is a test to see if they have learned the basics of Scratch.
The content of the test is from the basics of Scratch to operation and name.
We also learn daily as three types of human skills of programming, such as condition splitting and array processing, and up to the basic movements of programming.
It consists of about thirteen items.
Today, we will check whether they know the basic knowledge of Scratch, the name of Scratch, and the basics of operation, while solving the assumption problem.
Well then, Ms. Aikawa, thank you for today as well!
Thank you! Let's do our best!
Yes! Let's do our best!
Let's do our best today as well!
Yes! Let's do our best!
They will ask you how you have been working with Scratch so far!
Yes! Then I will solve the problem immediately!
Yes!
What do you call the parts that give you such orders?
No. 1. Piece.
No. 2. Tile.
No. 3. Block.
No. 4. Card.
Yes!
I don't remember!
Which one do you think it is?
Ms. Aikawa!
Yes!
Today's assumption problem is the basic knowledge of Scratch, isn't it?
That's right! First of all, it is a question about the terminology and basic knowledge of Scratch, so please remember it well and write it down!
Which one was it?
I don't remember!
Are you trying hard to remember?
I don't remember!
I think it's this one. I don't know, but...
Hana-chan! Hitomi-chan! Did you write down the answer?
I did!
One, two...
Ta-dah!
You both have the same answer!
Yes!
Thank you!
Ms. Aikawa, please give us the answer!
Yes! The answer is...
No. 3. Block.
Thank you!
You both have the same answer!
Thank you!
I was worried! I was really worried!
This block, which is also a feature of Scratch, is called "visual coding" because of the programming done by stacking these blocks.
There is a programming language written on the back side of the stack of blocks, but for programming in this language, you need professional knowledge.
Therefore, Scratch blocks this professional programming language and anyone can easily stack blocks and program.
As a practical problem, even if you don't remember this name, you can operate Scratch.
I'd like you to remember these basic words.
Yes!
Let's move on to the second question! Ms. Aikawa, please!
As the answer to the next question, please choose the most appropriate one from the options.
How should you operate the block to execute the block?
1. Right click
2. Click
3. Return
4. Charge
It's a question about the operation of Scratch, isn't it?
Yes, it is.
Have you already understood the question about the basic operation of Scratch?
To execute a block, how should we operate it?
What's the difference between right-click and click?
Do you know what "charge" is?
I don't know.
"Charge" is also used in traffic systems.
It's definitely not like that.
Did you get the answer?
One, two...
Ta-dah!
Number two!
Then, Ms. Aikawa, please give us the answer!
Yes, the answer is...
It's number two, "click"!
Thank goodness!
Yes, you both got it right!
Thank goodness for you!
There are a lot of blocks in the menu.
From there, you select the block you want and stack it up on the right side of the screen.
We call it "execute".
I think you got confused between "click" and "right- click" because of this problem.
Generally, when you click on a computer, you click on the left side of the screen.
So, "click" basically means "left-click".
By the way, when you right-click, you can duplicate or delete blocks.
I see.
Ms. Aikawa!
Yes?
Are "return" and "charge" operated in any way?
I think "return" and "charge" operate in some way.
I see.
The one who was confused is next to you.
Today's question is about basic knowledge of "scratch".
You both got it right!
After lining up all of them, I thought pressing "start" would be the execution,
but moving from the left palette to the right is the execution,
and I'm glad I learned that.
I've summarized it in my notebook!
There were a lot of new things I learned and remembered,
so I'd like to review them properly and put them in my head for the next time.
Today's question is about basic knowledge of "scratch".
Hana-chan and Hitomi-chan both got two questions right!
I'll keep studying for passing the exam!
Next episode is "Application of Scratch for Multilinear Drawing"!
Yori-chan is very excited about the law discovery!
Don't miss it!
This program was brought to you by PROSTA, a programming learning system.