Warning: WP Redis: Connection refused in /www/wwwroot/cmooc.com/wp-content/plugins/powered-cache/includes/dropins/redis-object-cache.php on line 1433
Python中的计算 3:数据结构 | MOOC中国 - 慕课改变你,你改变世界

Python中的计算 3:数据结构

Computing in Python III: Data Structures

Learn more complex ways of handling data, including files, lists, and dictionaries for building complex programs.

1175 次查看
佐治亚理工学院
edX
  • 完成时间大约为 5
  • 初级
  • 英语
注:因开课平台的各种因素变化,以上开课日期仅供参考

你将学到什么

Strings, including advanced string methods.

Tuples and lists, including multi-dimensional lists.

File input and output, including multiple modes for file access.

Dictionaries, including replicating object-oriented reasoning using dictionaries.

Using control structures with data structures, such as looping over lists or error handling with files.

课程概况

Build on your existing knowledge of conditionals, loops, and functions by studying more about complex Python data structures, including strings, lists, dictionaries, and file input and output. Organized into five chapters, this course starts by covering the basics of data structures, then moves on to these four common data structures in Python:

Strings let you perform far more complex reasoning with text.
Lists let you process long lists of data, and even lists of lists of data for more complex reasoning.
Dictionaries let you more clearly code for complex types of data, and even simulate some basic elements of object-oriented programming.
File input and output brings your programs to life, allowing you to persist data across executions of the same program.

By the end of this course, you’ll be able to write even more complex programs in Python that process and persist complex data structures. For example, you’ll be able to write an ongoing gradebook application that tracks and updates your average over time, a program to calculate the net force based on several force magnitudes and directions, or a program that can turn a string like this into a StRiNg LiKe tHiS.

Structurally, the course is comprised of several parts. Instruction is delivered via a series of short (2-3 minute) videos. In between those videos, you’ll complete both multiple choice questions and coding problems to demonstrate your knowledge of the material that was just covered.

课程大纲

Chapter 1. Data Structures. Building the fundamental types of data – Booleans, integers, floating point numbers, and characters -- into more complex strings, lists, and dictionaries that can be persisted in files.

Chapter 2. Strings. Working with series of characters that can represent plaintext messages, passwords, and more, including all the complexities of combining human language with programming code.

Chapter 3. Lists. Taking fundamental data types like strings, integers, and floats and organizing them into tuples or lists that can represent complex structures of data; or for added complexity, creating lists of lists to create 2-dimensional (or more) data structures.

Chapter 4. File Input and Output. Taking information stored in your code and persisting it in an external file that can last after the program has finished executing, or loading data from a file into a program for processing.

Chapter 5. Dictionaries. Organizing key-value pairs (very similar to variables and values) into higher-level structures that can be easily passed around or reused with some intuitive structure.

预备知识

CS1301xII or equivalent knowledge is required. Certain problems may benefit from experience with algebra, geometry, pre-calculus, and trigonometry, but you can succeed without these.

千万首歌曲。全无广告干扰。
此外,您还能在所有设备上欣赏您的整个音乐资料库。免费畅听 3 个月,之后每月只需 ¥10.00。
Apple 广告
声明: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
  • (部分课程由Coursera、Udemy、Linkshare共同提供)

© 2008-2022 CMOOC.COM 慕课改变你,你改变世界