Introduction to Python
Department: FISS Date:4/4/2022
Course Code ECON170031
Course Title Introduction to Python
Credit 2
Credit Hours 36
Read a computational problem and formulate an algorithm to solve that problem.
Implement a program in Python that performs specific tasks.
Course Use abstractions such as variables and functions to manage complexity in your
Objectives programs.
Describe the functionality of a program that you or someone else has written.
Find and fix errors in programs that you or someone else has written.
This class focus on the fundamentals of Python programming and will cover variables,
Course branching, loops, lists, 2D list, and dictionary. The applications of Python coding include
Description image processing and csv file processing.
Course Requirements: (e.g. pre-requisites)
No prior programming experience is needed. High school level algebra is required.
Teaching Methods:
Lecture and lab
Instructor's Academic Background:
Paul Cao has taught Python related programming courses over the past 10 years and have extensive teaching
experience at the undergraduate level.
Course Schedule (Please supply the details about each lesson):
Day Material
Course intro, Logistics, Hello world, data types, Variables, expressions, Type conversions
Day 1
Lab 1
Interpret errors, using functions, user input, Defining functions, boolean types and conditional
Day 2 statements / More conditional statements
Lab 2
Day 3 Strings and Lists, How to get started with coding, Range, for loops
1
Lab 3
While loops, break and continueReference, objects, methods, Object mutations, stack frame
Day 4
Lab 4
Scope of variables, argument passing to functions, exercises
Day 5
Lab 5
Memory model exercises, Debugging and testing
Day 6
Lab 6
Nested for loops and 2D lists, tuples, Images and basic image transformations
Day 7
Lab 7
Image transformation using functions, Modifying images in functions, steganography intro
Day 8
Lab 8
bitwise operations and image encryption/decryption, Dictionaries
Day 9
Lab 9
Day More about dictionaries, Data and csv file processing
10 Lab 10
Day Data visualization
11 Wrap up and final review
Day
Final Exam
12
The design of class discussion or exercise, practice, experience and so on:
The class will mostly based on lectures and in class labs. Students will be working on basic coding projects
in Python.
Grading & Evaluation (Provide a final grade that reflects the formative evaluation process):
Class participation: 10%
Labs (drop the lowest lab): 40%
Final Exam (open-book): 50%
Usage of Textbook:□Yes(complete textbook information form below) x No
Textbook Information (No more than two textbooks) :
Publishing
Title Author ISBN Publisher Type Ⅰ Type Ⅱ
time
□Self-compiled Textbook □National Planning Textbook
(Published) □Provincial and Ministerial
□Non-mainland Textbook Planning Textbook
□Other Textbook (Published) □School Level Planning
Textbook
□Others
2
□Self-compiled Textbook □National Planning Textbook
(Published) □Provincial and Ministerial
□Non-mainland Textbook Planning Textbook
□Other Textbook (Published) □School Level Planning
Textbook
□Others
Teaching References (Including author, title, publisher, publishing time,ISBN):
Table column size can be adjusted according to the content.