Evgeniya Gushchina EPAM e-kids volunteer computer science teacher

Slides:



Advertisements
Similar presentations
First of all – lets look at the windows you are going to use. At the top you have a toolbar, with all your various tools you can use when customising your.
Advertisements

Computer Science 1000 LOGO I. LOGO a computer programming language, typically used for education an old language (1967) the basics are simple: move a.
Programming Concept #2 Iteration. Is just a fancy way of saying that you would like something to repeat more than one time. It is used in any modern programming.
What is Scratch? Scratch as Logo Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Multiplication and Division Addition and Subtraction PracticeExponentsParenthesesHomeQuizIntroduction Objective and Standards Please Excuse My Dear Aunt.
Introduction to Scratch Scratch as Logo Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Problems in school By: Rory W, Alexis J, Lisa J, and Thomas C.
SHAPE UP By: Morgan White.  The purpose of this unit plan is for the children to learn how to manipulate and create different polygons (triangles, quadrilaterals,
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
1 Project designed and created by M. Shajith Kumar.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
First of all – lets look at the window’s you are going to use. At the top you have a toolbar, with all your various tools you can use when customising.
Turtle Graphics Lesson 2 1. There are 3 homeworks to complete during the six lessons of this unit. Your teacher will let you know when a homework has.
Functions. functions: a collection of lines of code with a name that one can call. Functions can have inputs and outputs.
Drawing in Scratch We will be using the Scratch Environment today, so please log in to the Scratch website (scratch.mit.edu)
Using Logo to explore spiral patterns. Paul Broadbent Spiral patterns This is a (1,2,3) spiral path. It repeats lines of three.
ANGLES SUMMARY. ANGLES  Give the value of, An acute angle An obtuse angle A reflex angle A right angle A straight line A full turn
Module 2: Investigation 2
Drawing Geometric Objects
Year 9 Mathematics Algebra and Sequences
The problem you have samples for has been edited to reduce the amount of reading for the students. We gave the original late in the year. As we were working.
Exploring Tessellations
Interior Angle Measure Lesson and Questions
Solving Equations Conceputally
Computer Programming.
Broadcasting (Adding a new level)
Exploring Mathematical Relationships Module 5: Investigation 3
Intro CS – Loops & Creating Shapes
Scratch Unit Overview We are going to look at computer programming and how to create your very own computer game The piece of software we will be using.
Classwork: Examine and enhance falling drop(s) or make your own.
Perimeter Formula.
Here you can learn all about 2-D shapes
Quadrilaterals Teacher notes
L.O.2 To understand and use angle measure in degrees,
Scratch – Simple Programming
We are removing the 4th part of hw2pr2 for now.
( Iteration / Repetition / Looping )
S1 Lines and angles Contents S1.1 Labelling lines and angles
Learning to program with Logo
Learn… Create… Program
WE ALL NEED…….
Pythagorean Theorem.
Creating Functions with Parameters
Exercise (1) What does function chai draw? def chai(size):
Module 2 Lesson 3 Over and Over Again
Go to =>
Learn… Create… Program
Here you can learn all about 2-D shapes
Hour of Code.
Go to =>
Mr Barton’s Math Notes 2. Polygons
Patterns and Algebraic rules
Subscript and Summation Notation
Solving Linear Equations
Mod 2 Lesson 2 Repeating Debugging
Mod 2 Lesson 2 Repeating with loops
We must address the imbalance in our expectations that place a priority on written work at the expense of the oral.. Students need to build, explain, represent.
Loops and Arrays in JavaScript
Class Agenda TODAY’s PLAN: Today’s TaSK:
Learn… Create… Program
Learn… Create… Program
Module 2 Lesson 3 Over and Over Again
Pythagorean Theorem Chapter 5 Lesson 5.
Mod 2 Lesson 2 Repeating with loops
Module 2 Lesson 3 Over and Over Again
Pythagorean Theorem.
Software Development Techniques
Let’s see why the angles in a triangle add to 180 degrees.
2 Making Blocks.
Presentation transcript:

Evgeniya Gushchina EPAM e-kids volunteer computer science teacher Sergei Rudenkov EPAM e-kids volunteer programmer from EPAM S: Do you want your child to become a cool programmer? E: There are many modern people who will answer: Yes, we want. S: But do you know how to achieve this? What is cool about this? E: I know one secret. Develop procedural thinking. S: What's it? Visit the doctor and do a procedure to develop the mind? E: No, attend Scratch classes and learn how to distinguish parts from the whole by meaning, and then use them many times ... The best result IT EDUcation

"Procedural Thinking: The Ways Of Obtaining" Procedural thinking for kids: ways of obtaining. Simple projects on the movement of sprites, pen drawing, animation – all of these children learn to do very quickly and easily in Scratch. But there comes a point where simple solutions are no longer so good. Let's consider an example. "Procedural Thinking: The Ways Of Obtaining" 1

Circle the shapes. For example, a square, a hexagon and a pentagon Circle the shapes. For example, a square, a hexagon and a pentagon. Let’s suppose that the child already knows most of the basic commands. We told him/her a secret with the angles in the equilateral shape 360 / n. And off we went rolling. So the child wrote the first piece, the second one turned out good, and then the third one. We got the program and we got a happy kid. But ... The program is already so long that it is completely inconvenient to understand it, if you need to fix it or add something ... Well, in this case, to begin with, it is worth looking for pieces of code with repetitions. What is repeated? How many repeats are there? 2

square hexagon pentagon prepare to draw 3 Let's just use the REPEAT command! One, two, three. We used repetitions and our program became significantly shorter. Is this a plus for the program? Of course, a plus. And yet again we get - a happy child. But ... What will we say about this program in a week, a year? What is what? Maybe we'll remember, maybe not ... And if we want to use these shapes in different combinations many more times, will we have to write the same pieces with cycles every time? So let's come up with such new commands that will draw a square, a hexagon and a pentagon. And even the remaining piece at the beginning of the program can be given a self-explanatory name. For example, we prepare to draw. How can we create such a new command in Scratch? pentagon 3

For this we have the purple group OTHER BLOCKS For this we have the purple group OTHER BLOCKS. And the CREATE BLOCK button. One: This is a new block - prepare for drawing. Two: This is a new block - draw a square. Three: It's a new block - draw a hexagon. Four: It's a new block - draw a pentagon. The very body of the program has become very short. It’s clear what happens next. And if we decide to change something, then it is clearly visible in which part it should be done. Here it is important to discuss what can be the name of the procedure block, and what is not desirable. For example, the name ‘Draw a square’ is much clearer than a block called One. Can we now use the new blocks many times in any combination? Of course yes! 4

And again - We get a happy child… 5

But. Is it worth dwelling on this. Of course not But ... Is it worth dwelling on this? Of course not! Let's look at our code with the new blocks again. Looking closely we can recognize that three procedures - a hexagon, a square and a pentagon - are very similar and differ only in the number of angles and the length of the sides. And actually the fact that the angle of rotation depends on the number of angles according to the formula 360 / n -was already known to us. What if we only add one block procedure, to which we will say: "Now, for example, the number of sides is denoted by the letter q, and the length of the side we will denote by the letter L." 6

square hexagon pentagon Scratch gives us this opportunity. It is called a Procedure with parameters. Initially, you can leave a simple “Prepare” block as it was. Next, create a procedure with two parameters: q - the number of sides in the polygon, L - the length of the side. Note: inside the procedure, the variables q and L are used, equal to the values that we have indicated. Where are the square, hexagon and pentagon? And here they are! We received a short, vivid, easily upgradable program. And, most importantly, a child who is willing to try these principles on many other programs. We have been going to this mountain for a long time, but it's so cool! And now we will try to formulate some stages we have passed on this way and what emphases were revealed in the course of work. . 7

STAGES: Accents: step back and edit 1. Long linear Program. from simple to complex every step is worked out a lot of various examples blocks have only speaking names multiple usage of procedures retrospective call back to the old program realizations pair and team programming and usage of blocks-procedures 2. Usage of loops and conditions. 3. Select and aggregate program pieces by it meanings. Giving them speaking names. step back and edit 4. Create a library of procedures. 5. Combine procedures multiple times. 6. Looking for similarities in procedures. Create parametrized procedures.

"Procedural Thinking: The Ways Of Obtaining" Procedural thinking - can we assume that we have reached the top of the path in programming? Partly, yes. But… "Procedural Thinking: The Ways Of Obtaining" 9

https://scratch.mit.edu/studios/4226124 There is still a long way to go. We passed it and it was not so scary and difficult, because every stage of the journey was clear, everything turned out good and now we have a HAPPY CHILD who likes to program! And now here are some examples. https://scratch.mit.edu/studios/4226124 Evgeniya.It.Edu@gmail.com https://scratch.mit.edu/studios/4226124 10