AISubs
The autumn of learning. Programming classes are starting in earnest.
Programming classes that make classes more fun and deeper by using computers and tablets.
If there are 100 people, you can get 100 answers.
The answer is not one at all.
Programming is a magical toy box.
Don't you feel excited?
So, PROSTA will deliver useful information that will make your excitement many times.
The catchphrase is, I want to know now.
Programming that actually permeates our lives deeply.
The fireworks of Amuro Namie are also launched by programming.
Everyone wants to know.
Visit the company's social picture.
Create a homepage with programming.
Programming stars who changed the world with the power of programming also appear one after another.
PROSTA members challenge programming.
The way to pass may not be easy.
Let's have fun learning while playing.
This time is a recap of November.
I want to know now.
Aim to be a programming star.
Programming education, which has been centralized in elementary schools since 2020,
will be centralized in junior high school students from the coming 2021,
and in high school students' classes from 2022.
So, what kind of programming education is being done in junior high schools?
We investigated the reality of programming education in the middle and eastern part of the school,
where programming education is being carried out ahead of the compulsory education.
On this day, we decided to take a look at what is being done in the early stages of programming education,
which is a programming class that junior high school students do using Scratch.
When the Raspberry Pi is turned on, a screen like this will appear.
I would like to make a game with Scratch from now on.
Speaking of Scratch, it is a programming software that can be easily handled even by beginners who have become familiar with it in the program.
Now, Hitomi Suzuki and Hana Ogi are studying hard to pass the exam.
In conventional programming, the source code was used to give orders to the computer,
but in Scratch, you can give instructions to the computer just by arranging blocks with instructions in Japanese.
It is a great software for children to learn programming.
At Shukutoku SC, a junior high school student is challenged to make a game using Scratch.
He will learn the basics of programming.
Let's operate it.
What we do is to make it look like a cat is walking with its right and left feet moving.
The first basic operation of Scratch is to make the character move as if it were walking.
We have made a variety of programming to move characters,
but with Scratch programming,
just by clicking on the green flag and moving 10 steps,
it doesn't look like it's walking just by moving one picture 10 steps to the right.
Therefore, in Scratch,
costumes with the character's right foot forward and two costumes with the character's right foot slightly backward are prepared in advance,
so in addition to the current movement code,
it looks like it's walking if you switch it alternately in Parapara Manga.
Is it done?
Yes
It's done
Yes
It looks like it's walking if you switch it alternately in Parapara Manga Manga Manga
Is it OK?
I learned this from the beginning
It's nostalgic
Let's go to the next one
Let's make a maze together
From now on, they will study programming while making a game
This is made with a sample
With a keyboard, up, down, right, left
If you move the keyboard, the cat will start moving
It's true
It's amazing, it's already programmed
This programming looks difficult
In today's lesson, the students actually play while looking at the code of the sample maze created in advance
Let's play and see what kind of instructions are given by the code
Now, let's take a look at the maze script that everyone in the first year of junior high school is checking.
Seven codes are prepared as samples.
The four at the bottom on the left are instructions to move 10 characters in the direction of the arrow on the keyboard.
In Scratch, the uppermost part of the screen is 0 degrees instead of northeast-southwest as a reference for direction.
The right side is 1 to 180 degrees, and the left side is minus 1 to minus 180 degrees.
In other words, when you want to go straight up, it's 0 degrees.
When you want to go right, it's 90 degrees.
When you want to go straight down, it's 180 degrees.
There is no need to change the direction 270 degrees from 0 degrees to the left, so it is instructed to go in the direction of minus 90 degrees.
And the code on the upper left of the sample is the code to move to the start position.
The x-coordinate is the positional information that divides the maze in the horizontal direction, and the y-coordinate is the positional information that divides the maze in the vertical direction.
In this case, the x-coordinate is minus 226 and the y-coordinate is minus 159, so the code is to move to this position where both positions collide and declare the start.
Then, there are two codes on the right side, but the upper row is instructed to push back minus 5 steps when the character hits the green wall after the start, and the lower row is instructed to declare the goal if you touch the red goal.
Now that we have understood the basic block code of this maze, we would like to decide what color the background should be and what the maze should be.
First of all, can each team be a group?
From here, it is a challenge to create a maze by dividing into two groups.
By challenging a project with a friend, you can learn communication in programming.
There are two challenges to challenge this time.
The first is to create a maze course together.
And the second is to re-set the block code of the sample according to it.
The course created by both teams will be announced by everyone at the end.
First of all, let's look at the Ootani team.
In order to create a new course, it seems that the white road of the sample is painted one by one.
Instead of a child who is not good at detailed work, a friend follows it.
Learn the importance of teamwork while learning the code.
What color do you want?
The director team seems to be discussing the color of the background with everyone.
Please decide in 10 seconds.
It's 10 seconds.
9
Favorite color
Light blue
It is also a great communication to adopt the favorite color of the teammates who work together in this way.
The work itself is programming for the machine, but everyone is creating a maze while naturally communicating with people.
Let's make a very narrow road and make a narrow road.
Let's make it messy.
If you make it a narrow road, it will bother the other party.
Then you can think about it.
Me?
Yes.
Road?
Yes.
What kind of road do you like?
Messy.
Anything.
Let's make it messy.
The playfulness of making the maze difficult and bothering the other party.
Create a game with the consciousness of the person playing at the beginning of programming.
This is the way of thinking of ICT.
It's a little complicated.
How is it? Is it a little complicated from everyone's point of view?
It is.
Is it?
Okay, let's go.
It's a little from this start.
Oh, but I was able to break through.
Yes.
It's difficult here, isn't it?
Difficult.
Yes.
It's dangerous.
You can do it.
Can I go? Can I go?
I can't go.
Wait, I can't go.
I'll go down once.
Go down once.
Can I go from here?
Go for it.
Goal.
Now, it's time to announce the results.
I'm going to announce the results now.
What's the name of this maze?
It's called Maze Riko.
Why is it called Riko?
When I noticed it, it just happened to be Riko.
Please move it around.
Yes.
Start.
What's going on?
Is it a dog?
Yes, it is.
Michael Jackson.
It's a narrow path.
I can't go.
One more time.
It's a narrow path, so it's hard to go on even if there is a path.
How was it?
It was fun to make a path
It was difficult to make a circle of the goal
It was difficult to make a beautiful circle in the middle of the road
Thank you for your presentation
Next, Team Ohtani
Please present your presentation
Yes
Operation
I feel like I have a disability
This is the first obstacle
You did it
Thank you very much
It's a pattern to forcefully clear the difficult level
That's right, let's be playful
Wait a minute
Is it an error?
Isn't this an error?
It's not an error
It's a trick up to this point
I did it
I want to forcefully clear the minus 5
Go, go, go
It's a new one
Is this an ice cream?
Yes, it's an ice cream
I see
It's a heart that doesn't give up to clear the difficult level
It's a heart that doesn't give up
I see
You may think it's an error for a moment
Of course, it's an error depending on how you think
But, if you look at the reason why it moved, you will understand
If you touch the light blue, it moves minus 5
In short, it's minus 5 and 10 steps ahead
It means that it's winning
While moving minus 5, it moves 10 steps forward
It's a power move that somehow moves forward in this order
It's not an error, but there is a way to do it
I think this is also a wonderful change of the law
That's all
After this, we will go back to the programming test
This program is provided by PLOSTA of Programming Learning System.
Advancing! The Path of Programming Certification
This is the 5th episode of the Path of Programming Certification.
Are you two okay with the questions so far?
I remember them.
Yes, probably.
Then, let's go to the certification.
We are connected remotely with Ms. Aikawa.
Ms. Aikawa.
Hello.
Nice to meet you.
Let's do our best today.
Yes, let's do our best.
So far, we've been doing the assumed questions that are likely to be on the test.
What kind of questions are they this time?
Until last time, we've been doing the basic questions of Scratch.
This time, we're going to do the questions about actual programming.
Does that mean it's going to be difficult?
That's right. It's going to be a little difficult.
I think you two can figure it out if you think about it.
Really?
Please do your best and try it.
I'll do my best.
Here's the first question.
This diagram shows programming using apples and balls.
What happens when you do it?
Please choose the most appropriate one from the options.
1. The ball is called an apple.
2. The apple is called an apple.
3. The ball is called red.
4. It doesn't say anything.
Can you figure it out?
What do you mean by if it doesn't come out?
Japanese
If it doesn't come out...
Did both of you get it right?
We did. I'm sure we got it right.
You seem to be confident.
Please answer at the same time.
One, two...
Ta-da!
It's number one.
It's number four.
Wait, I'm getting anxious.
Why don't you say anything?
But I don't think it's number one.
I don't think it's number one.
There's not a single word for ball in this programming.
That's right.
So it doesn't do anything, does it?
It's fixed, isn't it?
But it says, if you touch the apple.
It's strange that an apple touches an apple.
It's probably a ball that touches an apple.
So the ball is called an apple.
I don't know what you're talking about.
Two people with different answers. Let's try it on the computer.
One, two...
I said it was number two.
Isn't it a ball?
The correct answer is number one.
Hitomi is correct.
Aikawa-sensei, please explain.
There are two types of sprites, right?
The character and the cat.
If you look at the right side of the screen,
there are two types of sprites, ball and apple.
This is a very important point.
If you look at the programming screen,
there is a small picture of a ball on the top right.
This is very important.
This is programming for the ball.
I see.
Imagine that the ball is the main character.
Then, what did you touch on the apple?
It's a ball.
That's right. This is a story about a ball.
That's why there was a ball on the top of the screen.
I saw this too.
Why is there a ball on the top of the screen?
The mark of a thin ball on the arrow is a sign that the ball is being programmed.
If you look at the apple,
there is no programming on the apple.
In other words, this problem was about the ball's programming.
I see.
That's why the name ball doesn't appear in this programming,
but if you touch the ball, it's a ball.
That's right.
I see.
Let's move on to the second question.
When you move the mouse pointer,
you can program the sprites to move.
At that time, I want to make programming that only moves horizontally, not vertically.
Please try to choose which program is correct!
Now, do you all understand the answer?
It is important to know what the x-axis and the y-axis represent.
The correct answer is after the commercial!
I want to make programming that only moves horizontally, not vertically.
Please try to choose which program is correct!
At that time, I want to make programming that only moves horizontally, not vertically.
Please try to choose which program is correct!
It is important to know what the x-axis and the y-axis represent.
Do you all understand the answer?
The answer is math!
It is math!
I want to make programming that only moves horizontally, not vertically.
Please try to choose which program is correct!
It is math!
It's been a while since we met.
I was talking with Hitomi and I realized that I can't move my mouse pointer.
I did this before.
I think I did it.
I did it, but I can't move my mouse pointer.
Let's try it on the computer.
Here we go.
Both of you got it right!
Wait, isn't that amazing?
It's only the second question.
Are you okay?
Isn't it amazing?
Ms. Aikawa, please explain.
Both of you did a great job.
I'm glad.
The point is the x-axis and the y-axis.
It's exactly the same as math.
The x-axis is the horizontal axis and the y-axis is the vertical axis.
Scratching is also very important.
By defining the x-axis and the y-axis,
you can make the sprite appear in a certain position on the screen.
You can do a lot of things.
I see.
And this is math.
If you've been scratching since elementary school,
you might not know the mathematics.
That's right.
This x and y are for junior high school students.
As shown in this diagram, the sprite's position is represented by the x-axis and the y-axis.
To move the sprite to the left,
the x-axis should be minus 240.
To move it to the right,
the x-axis should be 240.
And to move it up,
the y-axis should be 180.
To move it down,
the y-axis should be minus 180.
This is a very important basic knowledge.
You must remember it.
Now, the third question.
If you click the ball on the diagram with your mouse,
it will rotate and the ground will roll to the right.
Which program is correct?
Choose one from the options.
If you move the chip, you can use all the coordinates.
It's quite different.
Both of them move to the side.
Are you ready?
Let's see the answers.
One, two, ta-da!
It's the same.
Both of you chose number 2.
Let's try it on the computer.
Let's try it.
Click it as many times as you want.
The answer is number 2.
Both of you did well.
Ms. Aikawa, what's the point of this question?
It's important to read the question carefully.
The key point of this question is to move the chip to the right side while rotating it.
Both of you remember that you did x and y coordinates last time.
The point is that number 2 has x coordinates.
Let's move on to the fourth question.
This arrow wants to create a program to chase the mouse pointer.
Which is the correct program?
Do you know this question?
The answer is after the commercial.
This arrow wants to create a program to chase the mouse pointer.
Which is the correct program?
It's too difficult.
If we move forward 10 steps, we'll be able to catch up.
But, we have all of them.
I got it.
Hana-chan seems to have figured it out.
Now, let's see your answers.
One, two, ta-da!
Wait!
It's the same!
Both of you got the second answer.
Now, let's try it on the computer.
Both of you got it right!
You did well!
Now, Ms. Aikawa, please explain.
Both of you did very well and I was surprised.
I'm so happy!
I think it's great.
The second correct answer is
it's important that the arrow points to the mouse.
That's right.
So, the arrow points to the mouse
and the mouse moves the zipper
to make it look like it's chasing you.
That's right.
Next time, we'll use a diskette to learn music.
Don't miss it!
This program was brought to you by
the Corporation for the Advancement of Human Rights in Japan.