Python Programming: A Concise Introduction

2.4
2.4 rating

The goal of the course is to introduce students to Python Version 3.x programming using hands on instruction. It will show how to install Python and use the Spyder IDE (Integrated Development Environment) for writing and debugging programs.

The approach will be to present an example followed by a small exercise where the learner tries something similar to solidify a concept. At the end of each module there will be an exercise where the student is required to write simple programs and submit them for grading.

It is intended for students with little or no programming background although students with such a background should be able to move forward at their preferred pace.

WEEK 1
5 hours to complete
Beginning to Program in Python
In this module we introduce writing functions in Python using the convenient Spyder development environment. The lesson begins with instructions on installing the popular Anaconda distribution of Python which includes Spyder. It continues by showing how to use the editor in Spyder to type in a function and then run it. Each lesson alternates between introducing a concept by example and having the student test his/her understanding by constructing a function similar to that example. The module lecture is contained in a single program source file named Exercises1.py. This file which should be downloaded by the student at the beginning of the module contains the complete lecture except the solutions to the ungraded exercises. The student should work each of these before viewing the instructor's solution. By using the unique capability of Spyder (using IPython Notebooks) the program file is segmented into cells each of which can be executed independently of the others. Thus the student does not have to manage multiple program files and finishes with a lecture file with filled-in student exercises that can be used for reference. Python topics included in this module are print statement arithmetic operators input statement combining of strings if statement while loop and for loop. The module ends with a series of small functions to write to be submitted for grading. Grading is done by custom software and should normally take only minutes with no limit to the number of re-submissions. Hopefully you'll finish with a perfect score.
SHOW ALL SYLLABUS
SHOW ALL
10 videos (Total 67 min) 5 readings 1 quiz

WEEK 2
4 hours to complete
Working with Lists and Importing Libraries. The Random library.
Lists datatypes libraries the random library.
9 videos (Total 59 min) 1 reading 1 quiz

WEEK 3
5 hours to complete
Tuples Data Dictionaries Text and CSV Files
So far we have one collection data type the list. In this module we take up two more: the tuple and the data dictionary. After that we introduce reading and writing text files and give some illustrative examples. Finally we take up reading and writing Comma Separated Value (CSV) files.
7 videos (Total 69 min) 5 readings 1 quiz

WEEK 4
4 hours to complete
Functional Values Sorting Formatting Statistics and a Menu Driven Database Program
In this lesson we take up a variety of topics and give an example using much of what we've covered in the course. First we show how functions can return values. Then we show how to build lists of various types and how to sort these lists. After that we use the statistic library to introduce basic descriptive statistics. Finally we show how to use formatting in print statements. As a recap we work through an application making use of what we've learned to build a menu-driven program that maintains a small database.
10 videos (Total 62 min) 2 readings 1 quiz


Tham gia đánh giá khóa học

Nếu bạn đã học qua khóa học này thì mời bạn tham gia đóng góp ý kiến và đánh giá để cộng đồng bạn học có thêm thông tin tham khảo.

Cung cấp bởi: Coursera /  Wesleyan University

Thời lượng: 18 giờ
Ngôn ngữ giảng dạy: Tiếng Anh
Chi phí: Miễn phí / 0
Đối tượng: Beginner

Thông tin về nhà cung cấp

Coursera (/ kərˈsɛrə /) là một nền tảng học tập trực tuyến toàn cầu được thành lập vào năm 2012 bởi 2 giáo sư khoa học máy tính của đại học Stanford là Andrew NgDaphne Koller, nền tảng này cung cấp các khóa học trực tuyến (MOOC) cho cộng đồng người học online.

Coursera hợp tác với các trường đại học danh tiếng tại Bắc Mỹ và trên khắp thế giới, cùng với nhiều tổ chức khác để cung cấp các khóa học trực tuyến chất lượng, theo chuyên ngành và được cấp chứng chỉ trong nhiều lĩnh vực như kỹ thuật, khoa học dữ liệu, học máy, toán học, kinh doanh, khoa học máy tính, tiếp thị kỹ thuật số, nhân văn, y học, sinh học, khoa học xã hội , và nhiều ngành khác.

Các khóa học cùng chủ đề

Motion Planning for Self-Driving Cars

This course will introduce you to the main planning tasks in autonomous driving, including mission planning, behavior planning and local planning. By the end of this course, you will be...

Capstone: Autonomous Runway Detection for IoT

This capstone project course ties together the knowledge from three previous courses in IoT though embedded systems: Development of Real-Time Systems Web Connectivity & Security and Embedded Hardware and Operating...

System Validation (4): Modelling Software Protocols and other behaviour

System Validation is the field that studies the fundamentals of system communication and information processing. It allows automated analysis based on behavioural models of a system to see if a...

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top