1 CE 232 - Programming with Python - Course
(the language itself)
string, tuple, list, matrix, dictionary
recursion, control flow, data I/O
line curve, bar
chart, error bars
1) Binary Basics
and Circuit Theory
2) Python and
user interface), GPIO, ADC, sensors
3) Data Analysis
in-class exams and quizzes 40%
Allen B. Downey,
Think Python: How to Think Like a Computer Scientist 2nd Edition.
(50% of this course contents
are from this book. A good book on the language itself. Good for
The Think Python book has free electronic versions from the publisher
so you don't have to
buy the book but have a paper copy is very handy.
Eric Matthes, Python
Crash Course: A Hands-On, Project-Based Introduction to Programming. (Required).
(20% of this course contents
are from this book. This book is more concise on
the Python fundamentals. The projects in the book are
Miller, Problem Solving with Algorithms and Data Structures Using
Python SECOND EDITION 2nd Edition. (Recommended)
(Less than 10% of this course
contents are from this book. More advanced data structures/algorithms
are covered in this book).
online version from the publisher:
The rest 20% of the course contents are from the internet.
be counted in the first two weeks.
being absent without notice will fail you from this class.
Lecture videos (the video may need to buffer a
little bit before you can play them all if the internet bandwidth is
codes will be available online the same day as the lecture is given.
Check out the videos and complete the homework assignments if you
assignments, quizzes, and exams
a. Have all your
code in a '.py' script file. Label different tasks using the '# Task
X'. All the sections must be independently executable. I'll execute it
and give you the grade.
b. Send your
'.py' file to email: firstname.lastname@example.org. Don't
forget to put 'Homework XX (the homework No.)' in the subject line.
(Points will be taken off if the subject line and the required
attachments are missing).
c. Feedback and
grades will be given through emails.
d. Quizzes will
be given when it is necessary. I'll give you an early notice on the
quiz in advance.
e. We'll have
and one final exam. Totally 4 exams in the semester.
f. Some of the
exams may be open-book, open-notes, and open-internet.
The link can be
found on the course syllabus page:
MWF: 9:30 – 11: 30 am, from 1/7/2019 – 4/26/2019, location: SFH
Spyder IDE and try the following testing code in Spyder.
The print() function and the Single & Double quotation marks.
Send your '.py'
file to the email: email@example.com