Using Incremental Worked Examples for Teaching Python and Game Programming Teaching Python with Tkinter and Pygame Modules

نویسندگان

  • Cheer-Sun D. Yang
  • Jonathan W. Yu
چکیده

While world economy remains stagnant, enrollment in Computer Science suffers inevitably. A computer science educator must find innovative ways to inspire students for learning computing technologies. Active learning with “worked examples”, presented by Sweller and Cooper, has been proven to be an effective pedagogical strategy. However, when teaching Python with Game Building using the active learning approach, an instructor may run into several challenges. First, developing games requires certain familiarity with the programming language and mathematic. Without the prerequisites, students may not be able to participate in discussions actively. Second, learning game building can become extraneous cognitive load instead of incentives for learning python programming especially for students without knowing python. In this paper, an incremental model is presented for teaching python programming with game building. These incremental lab projects are easy to learn, easy to implement, and relevant with the targeted subjects. As a result of using the incremental projects, students become motivated; many, if not all, actively participate in the discussion about various subjects. The experiences learned are discussed. Student projects are briefly described. Finally, future work is included. Keywords-python programming; actvive-learning; incremental lab experiments; worked examples.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Python Specification of the Tkinter Text- Widget a Python Specification of the Tkinter Text- Widget

Writing programs means in addition of using a programming language to use libraries of objects or functions. Looking at the documentation of Tkinter Textwidget and trying to use it we have encountered the problem of unspecified consistent behavior of it. In this paper we give an alternative of specifying and documenting a piece of code giving a functional python module that is intended to behav...

متن کامل

InRaDoS: An internal radiation dosimetry computer program

Introduction: Internal radiation dosimetry is important from a radiation protection point of view and can help to optimize the radiation dose delivered to the workers, public, and patients. It has a rather simple protocol but needs a large amount of data. Therefore, it is difficult to do on a routine basis. The use of computer programs makes internal radiation dosimetry simpler...

متن کامل

COMP3211 Final Project Report Tetris AI Using Reinforcement Learning

Software Running Instruction First, there are two version of the game. One is implemented with learning part and it would play ang learn the game with zero knowledge at the beginning. Another is implemented with our optimised results and evaluation function after the learning process. This version would always play the same strategy. Before running the files, please make sure the corresponding ...

متن کامل

Robust Networking in Multiplayer Games

This paper documents the development of a robust, scalable networking infrastructure for a multiplayer game developed using Pygame [1] and PyOpenGL [2] in the Python programming language. The work undertaken by the authors involves developing a networking library from the ground up for an open source multiplayer game called Spacewar [3] aimed at eliminating any single point of failure vulnerabi...

متن کامل

Python GUI Scripting Interface for Running Atomic Physics Applications

We create a Python GUI scripting interface working under Windows in addition to (UNIX/ Linux). The GUI has been built around the Python open-source programming language. We use the Python's GUI library that so called Python Mega Widgets (PMW) and based on Tkinter Python module (http://www.freenetpages.co.uk/hp/alan.gauld/tutgui.htm). The new GUI was motivated primarily by the desire of more upd...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014