合肥市南门小学Hello Ming机器人编程scratch第六期课程回顾


尊重孩子的兴趣才是对孩子最大的支持

本期课程主题
旋转的正方形
课程重点1.正方形的定义及特征
2.角度与图形的关系
3.循环语句的使用
正方形是我们常见的图形,在同学的数学课中也是一个最基础的知识点,那么如何用编程的语言画出一个正方形呢?关于对正方形的概念,由同学们的回答我们不难得到以下几点。

正方形的定义:
1、四条边相等且四个角都是直角的四边形。
2、有一组邻边相等且有一个角是直角的平行四边形叫做正方形。
正方形的特征:
1、边:两组对边分别平行;四条边都相等。
2、内角:四个角都是90°。
......

在有过这些基本知识理念后,在程序编写时候我们先要学习一个新模块——
“画笔”模块,这是在调用Scratch中的画笔使得可以在舞台上画出图形。
然后就是按照正方形的形状定义,我们来用编程语言画出正方形。
我们可以看出来,在制作正方形时候有大量的重复语句使得我们的脚本变得冗长,在修改边长参数还要依次修改每个边长的数值,那有什么简便的方法?如果在实际情况中具有规律性的重复操作,就可以在程序中来用循环重复执行某些语句。

一个正方形制作出来了,那我们来开始做旋转的正方形吧,同样是用我们的重复执行
语句,结合时钟的运动规律,我们也不难画出一个旋转的正方形。
从这旋转的正方形的脚本中,如果改变旋转的度数和旋转的次数又有什么改变呢?












这节课同学们非常积极的思考并提问,也在积极的尝试自己完成作品...


--end--
声明:本文章由网友投稿作为教育分享用途,如有侵权原作者可通过邮件及时和我们联系删除:freemanzk@qq.com