Fond du Lac Tribal & Community College 2101 14th Street Cloquet, Minnesota 55720 Office: W217 Phone: 218-879-0840 Email: ted@fdltcc.edu Spring 2021 Class Schedule: 10-10:50 M W F College Algebra Room 228 11-11:50am M W F Calculus 1 Room 256 12-12:50pm M W Programming Room 208 6- 8:45pm W Statistics Room 256 Office Hours in Room W217: Monday Tuesday Wednesday Thursday Friday 1pm 10am 5pm noon 9am
All materials handed out in class will be on D2L.
Think Python: How to Think Like a Computer Scientist,
by Allen Downey, 2nd edition.
Free PDF (2nd ed.)
Online Book (2nd ed.)
This 2nd edition is a Python 3 version. The earlier 1st edition was for Python 2.
Get yourself a USB key/drive. It does not have to be large. Managing your code is a very important aspect of programming!
Create a directory/folder for each programming assignment. Save your Python code often with short but descriptive names in the correct folder. NEVER use spaces in program or directory/folder names! Use underscores_between_words, if necessary. End Python script names with ".py". Disable "hide known file extensions" in a folder view so that you can see the ".py" extensions--which should always be there for Python scripts. When you refine a program, it is extremely helpful to save versions with different names incrementally, e.g. p1.py, p1b.py, p1c.py, and so on.
Include descriptive comments within your Python scripts so that you can later open the file, read comments, and thus know what it does, the author, when it was written, and so forth. You don't have to write a great deal, but you should write enough in a way so that a complete stranger could read your Python script and thus understand what it does, who wrote it, and when it was written. That stranger will usually be yourself! Programmers are humans; it is easy to completely forget almost everything about a code. Explain it to yourself within your code with comments, and do it as if you are writing to a complete stranger.
Most of the room 208 machines have Python 3 installed. Use Python 3 for our class work! As usual for FDLTCC classroom and computer lab machines, never expect anything you leave on a machine to remain on the machine! Always copy your programs and other files to a USB key/drive, and label them carefully so that you can find your files later.
Python is free. It is probably already be installed if you have a Linux or Mac PC/notebook. There are many free distributions of Python you can install on your Windows machine. You will want to install Python 3 on your own machine if that is what you will use for this course, a notebook or desktop machine. See the setup handout for details. It is easy to do.
15 programs 15x40 = 600 ----------------------- 600 total 90-100% A 80-90% B 70-80% C 60-70% D 0-60% F
Mon jan09 1 ch1 intro.; Python in lab, personal machine; interactive vs. program script Wed jan11 2 p1 Mon jan16 H Wed jan18 3 ch2 variables; Tkinter intro. p2 Mon jan23 4 ch3 functions Wed jan25 5 p3 Mon jan30 6 ch4 tests and recursion Wed feb01 7 p4 Mon feb06 8 feb10 ch5 functions and return values Wed feb08 9 p5 Mon feb13 10 ch6 iteration p6 Wed feb15 11 ch7 strings Mon feb20 H Wed feb22 12 p7 Mon feb27 13 ch8 lists Wed mar01 14 p8 Mon mar06 15 tuples p9 Wed mar08 16 ch11 files and IO p10 Spring break Mon mar20 17 ch10 dictionaries Wed mar22 18 p11 Mon mar27 19 p12 Python 2d arrays; simulations python arrays and iteration Wed mar29 20 more: p12 Mon apr03 21 p13 Wed apr05 22 ch12-14 python classes and objects Mon apr10 23 p14 Bubbles Gallery Wed apr12 24 Physics simulation: solar system Mon apr17 25 pp15 Solar System Wed apr19 26 p15 Mon apr24 27 ipython, jupyter Wed apr26 28 p16 Mon may01 29 final program presentation Wed may03 T1 Thu may04 T2 Final 12-1:50pm CS 1020 Room 208 (10-11:50 MATH 1010 Room 228) Fri may05 T3 (11am-12:50pm MATH 2001 Room 256) Mon may08 T4 Tue may09 H FDL Memorial Day Wed may10 Thu may11 Commencement