首页> 外文OA文献 >Teaching programming in Python in primary school
【2h】

Teaching programming in Python in primary school

机译:小学使用Python进行程序设计教学

摘要

In this thesis, we present a set of lesson plans with tasks for teaching pupils how to program in Python using the turtle module.ududThe first part discusses the problem of programming in primary schools: we note that programming presents only a small and optional fraction of the elective class about computing. Next we present programming language Python along with characteristics that make it suitable for teaching. We describe its installation and the development environment IDLE. Presentation of the turtle module, implemented in Python, which comes from the Logo programming language that was designed for learning to program, was emphasized. When being moved and turned, turtle draws a line. This drawing helps the pupils visualize what certain commands do.ududThe second part of the thesis focuses on the explanation of basic programming concepts, such as conditional statements, loops and functions, which we introduce through tasks that need to be solved by using the turtle. The text in this part is written in a style that is closer to pupils, therefore we occasionally stray away from the standard terminology, e.g. by referring to functions as "statements". The first tasks deal with moving and turning the turtle. Then we introduce repeating a block of statements - a loop -, through tasks for drawing shapes in which a certain part is repeated multiple times. We continue with variables and definitions of functions. For preparing suitable tasks about conditional statements and the while loop, we introduce functions for communication with user and computation of random numbers. Each set of the tasks is followed by help or tips, which help the pupils solve these tasks, as well as the solution.ududud
机译:在本文中,我们提出了一套教学计划,其中的任务是教学生如何使用turtle模块使用Python进行编程。 ud ud第一部分讨论了小学编程的问题:我们注意到编程只提供了小部分内容,选修课中有关计算的可选部分。接下来,我们介绍编程语言Python以及使其适合教学的特征。我们描述其安装和开发环境IDLE。强调了用Python实现的turtle模块的演示,该模块来自旨在学习编程的Logo编程语言。在移动和转动时,乌龟划出一条线。该图有助于学生直观地了解某些命令的功能。 ud ud本论文的第二部分重点介绍基本的编程概念,例如条件语句,循环和函数,我们通过使用来解决的任务中介绍了这些概念乌龟。本部分中的文字以更接近学生的方式编写,因此我们有时会偏离标准术语,例如通过将功能称为“声明”。第一个任务涉及移动和转动乌龟。然后,我们通过绘制形状(其中某个部分重复多次)的任务来引入重复的语句块(循环)。我们继续介绍变量和函数定义。为了准备有关条件语句和while循环的合适任务,我们介绍了用于与用户通信和计算随机数的函数。每组任务后都有帮助或提示,可帮助学生解决这些任务以及解决方案。 ud ud ud

著录项

  • 作者

    Prevc Darja;

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号