This course provides an in-depth exploration of Python’s four built-in data structures: lists, tuples, sets, and dictionaries. Each structure will be introduced in detail, focusing on how to create, access, and manipulate them efficiently. The course will emphasize their unique characteristics and appropriate use cases. Learners will also apply their understanding in a case study, showcasing the practical application of these data structures to solve real-world problems.
This module introduces the list as a built-in data structure in Python. It covers the basics of what a list is, how to create lists, including heterogeneous lists (lists containing different data types), and how to access, slice, and manipulate them. Additionally, learners will explore list comprehension, a powerful Pythonic way to work efficiently with lists.
涵盖的内容
6篇阅读材料1个作业10个非评分实验室
显示有关单元内容的信息
6篇阅读材料•总计71分钟
Course Updates and Accessibility Support•1分钟
BiteSize Pedagogy•10分钟
Assessment Strategy•10分钟
Coursera Labs•10分钟
Course Overview•20分钟
Interact with GenAI•20分钟
1个作业•总计30分钟
Test Your Understanding•30分钟
10个非评分实验室•总计150分钟
What is a List?•15分钟
Create a List•15分钟
Heterogeneous Lists•15分钟
Access List Elements by Index•15分钟
Access List Elements by Iteration•15分钟
Basic Manipulation•15分钟
Advanced Manipulation•15分钟
Slice a List•15分钟
Basic List Comprehension•15分钟
Advanced List Comprehension•15分钟
The Tuple Data Structure
第 2 单元•小时 后完成
单元详情
This module explores the tuple, a built-in data structure in Python. It covers what a tuple is, how to create one, and how to work with heterogeneous tuples (containing elements of different types). Learners will learn how to access elements by index and through iteration, slice tuples, and understand the concept of tuple comprehension for efficient data handling.
涵盖的内容
2篇阅读材料1个作业6个非评分实验室
显示有关单元内容的信息
2篇阅读材料•总计25分钟
What is a Tuple? •5分钟
Interact with GenAI•20分钟
1个作业•总计30分钟
Test Your Understanding•30分钟
6个非评分实验室•总计90分钟
Create a Tuple•15分钟
Heterogeneous Tuples in Python•15分钟
Access Tuple Elements by Index•15分钟
Access Tuple Elements by Iteration•15分钟
Slice a Tuple•15分钟
Tuple Comprehension•15分钟
The Set Data Structure
第 3 单元•小时 后完成
单元详情
This module introduces the set, a built-in data structure in Python that stores unique, unordered elements. It covers what a set is, how to create one, and how to manage elements within a set. The module also explores set operations (such as union, intersection, and difference), common set methods, and set comprehension for efficient data manipulation.
涵盖的内容
2篇阅读材料1个作业5个非评分实验室
显示有关单元内容的信息
2篇阅读材料•总计30分钟
What is a Set? •10分钟
Interact with GenAI•20分钟
1个作业•总计30分钟
Test Your Understanding•30分钟
5个非评分实验室•总计75分钟
Create a Set•15分钟
Elements in a Set•15分钟
Set Operations•15分钟
Set Methods•15分钟
Set Comprehension•15分钟
The Dictionary Data Structure
第 4 单元•小时 后完成
单元详情
This module focuses on the dictionary (dict), a built-in Python data structure that stores key-value pairs. It covers what a dictionary is, how to create one, and how to access its elements using keys. Learners will explore common dictionary methods to manipulate data, and the module concludes with an introduction to dictionary comprehension for efficient data creation and processing.
涵盖的内容
2篇阅读材料1个作业4个非评分实验室
显示有关单元内容的信息
2篇阅读材料•总计35分钟
What is a Dictionary? •15分钟
Interact with GenAI•20分钟
1个作业•总计30分钟
Test Your Understanding•30分钟
4个非评分实验室•总计60分钟
Create a Dictionary•15分钟
Access a Dictionary•15分钟
Dictionary methods•15分钟
Dictionary Comprehension•15分钟
Data Structure Case Studies
第 5 单元•小时 后完成
单元详情
In this module, students will apply their knowledge of Python’s built-in data structures—list, tuple, set, and dictionary—by working on a real-life case study involving a grade book for students. They will use each of the data structures to store and manipulate the grade data, allowing them to practice and improve their understanding while comparing the advantages and limitations of each structure.
CU Boulder is a dynamic community of scholars and learners on one of the most spectacular college campuses in the country. As one of 34 U.S. public institutions in the prestigious Association of American Universities (AAU), we have a proud tradition of academic excellence, with five Nobel laureates and more than 50 members of prestigious academic academies.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.