Python交互程序设计入门(第 1 部分)经典课程

An Introduction to Interactive Programming in Python (Part 1)

本课程是Fundamentals of Computing专项课程的其中一门课程(共 7 门课程)

莱斯大学

Coursera

计算机

简单(初级)

29 小时

  • 中文, 英语, 韩语, 西班牙语, 意大利语, 葡萄牙语
  • 5510

课程概况

本课程主讲Python编程语言的基本知识,侧重于如何编写简单的交互式游戏,如乒乓球,21点和行星(射击)游戏等,为课堂增添了几分趣味性。

本课程旨在帮助那些对计算机完全不了解或不甚了解的学生,学习构建简单交互式应用程序的基础知识。 课程使用的编程语言Python是一种高级的、简单易学的计算机语言,是众多Coursera计算机课程的首选语言。为了简化Python语言的学习,我们开发了一个基于浏览器的编程环境,能够使用Python语言开发简单的交互式应用程序, 包括图形化窗口界面,响应按钮、键盘以及鼠标。

使用Python语言开发“小型项目”是学习本课程的主要方法。 为了增添趣味性,激发学生的积极性,实践项目包括开发21点、乒乓球、行星(射击)等游戏程序。 修完本课程,我们并不能保证您会成为一个专业的程序员,但是您会学到不少关于Python编程语言的知识,并感受学习的乐趣。

This two-part course is designed to help students with very little or no computing background learn the basics of building simple interactive applications. Our language of choice, Python, is an easy-to learn, high-level computer language that is used in many of the computational courses offered on Coursera. To make learning Python easy, we have developed a new browser-based programming environment that makes developing interactive applications in Python simple. These applications will involve windows whose contents are graphical and respond to buttons, the keyboard and the mouse.

In part 1 of this course, we will introduce the basic elements of programming (such as expressions, conditionals, and functions) and then use these elements to create simple interactive applications such as a digital stopwatch. Part 1 of this class will culminate in building a version of the classic arcade game “Pong”.

课程大纲

周1
完成时间为 4 小时
Week 0 - Statements, expressions, variables
Understand the structure of this class, explore Python as a calculator
6 个视频 (总计 71 分钟), 4 个阅读材料, 2 个测验

周2
完成时间为 5 小时
Week 1 - Functions, logic, conditionals
Learn the basic constructs of Python programming, create a program that plays a variant of Rock-Paper-Scissors
7 个视频 (总计 98 分钟), 5 个阅读材料, 2 个测验

周3
完成时间为 5 小时
Week 2 - Event-driven programming, local/global variables
Learn the basics of event-driven programming, understand difference between local and global variables, create an interactive program that
plays a simple guessing game
8 个视频 (总计 83 分钟), 5 个阅读材料, 3 个测验

周4
完成时间为 4 小时
Week 3 - Canvas, drawing, timers
Create a canvas in Python, learn how to draw on the canvas, create a digital stopwatch
7 个视频 (总计 71 分钟), 4 个阅读材料, 3 个测验

周5
完成时间为 5 小时
Week 4 - Lists, keyboard input, the basics of modeling motion
Learn the basics of lists in Python, model moving objects in Python, recreate the classic arcade game "Pong"

预备知识

需要高中数学的相关知识。

HEC Managing Innovation & Design Thinking – Join Today And Inspire Innovation
声明:MOOC中国发布之课程均源自下列机构,版权均归他们所有。本站仅作报道收录并尊重其著作权益,感谢他们对MOOC事业做出的贡献!(排名不分先后)
  • Coursera
  • edX
  • OpenLearning
  • FutureLearn
  • iversity
  • Udacity
  • NovoEd
  • Canvas
  • Open2Study
  • Google
  • ewant
  • FUN
  • IOC-Athlete-MOOC
  • World-Science-U
  • Codecademy
  • CourseSites
  • opencourseworld
  • ShareCourse
  • gacco
  • MiriadaX
  • JANUX
  • openhpi
  • Stanford-Open-Edx
  • 网易云课堂
  • 中国大学MOOC
  • 学堂在线
  • 顶你学堂
  • 华文慕课
  • 好大学在线CnMooc
  • 以及更多...

© 2008-2018 MOOC.CN 慕课改变你,你改变世界