Python Programming: A Concise Introduction

0 Comments

success 100%
Promo:

Coupon Details

Python Programming: A Concise Introduction

About this course: 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

Level Beginner
Commitment 4 weeks of study, 4-5 hours/week
Language
English
How To Pass Pass all graded assignments to complete the course.
User Ratings
Average User Rating 4.6See what learners said
Syllabus
WEEK 1
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.

 

10 videos, 5 readings
Graded: Programming problems for module 1
WEEK 2
Working with Lists and Importing Libraries. The Random library.
Lists, datatypes, libraries, the random library.

 

9 videos, 1 reading

 

Graded: Programming problems for module 2
WEEK 3
Tuples, Data Dictionaries, Text and CSV Files

 

7 videos, 5 readings
Graded: Programming problems for module 3
WEEK 4
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.

Leave a Reply