Fond du Lac Tribal & Community College 2101 14th Street Cloquet, Minnesota 55720 Office: W217 Phone: 218-879-0840 Email: ted@fdltcc.edu Spring 2024 Class Schedule: 8:00- 8:45 MTWHF Calculus 1 Room 256 9:00-9:45 ____F Calculus 2 W217 10:15-11:00 _T_H_ Calculus 2 W217 10:30-11:45 M_W__ College Algebra Room 228 12:00- 1:15 M_W__ Programming Room 227 6:00- 8:45pm __W__ Statistics Room 256 Office Hours in Room W217: Monday Tuesday Wednesday Thursday Friday 9am 9am 9am 9am 5pm
All materials handed out in class will be on D2L.
Think Python: How to Think Like a Computer Scientist,
by Allen Downey, 2nd edition.
Book Website (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 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 jan08 1 ch1 intro.; Python in lab, personal machine; interactive vs. program script Chapter 1 Wed jan10 2 p1 Mon jan15 H Wed jan17 3 ch2 variables Tkinter intro. p2 Mon jan22 4 ch3 functions Wed jan24 5 p3 Mon jan29 6 ch5 tests and recursion Wed jan31 7 p4 Mon feb05 8 ch6 functions and return values Wed feb07 9 p5 Mon feb12 10 ch6 iteration p6 Wed feb14 11 ch7 strings Mon feb19 H Wed feb21 12 p7 Mon feb26 13 ch8 lists Wed feb28 14 p8 Mon mar04 15 tuples p9 Wed mar06 16 ch11 files and IO p10 Spring break Mon mar18 17 ch10 dictionaries Wed mar20 18 p11 Mon mar25 19 p12 Python 2d arrays; simulations python arrays and iteration Wed mar27 20 more: p12 Mon apr01 21 p13 Wed apr03 22 ch12-14 python classes and objects Mon apr08 23 p14 Wed apr10 24 Physics simulation: solar system Mon apr15 25 pp15 Solar System Wed apr17 26 p15 Mon apr22 27 ipython, jupyter Wed apr24 28 p16 Mon apr29 29 final program presentation Wed may01 T1 11-12:50 Room 227 : Intro. to Programming in Python Thu may02 T2 Fri may03 T3 Mon may06 T4 ( 8- 9:50am Room 256 : Calculus 1) (10-11:55am Room 228 : College Algebra) Tue may07 Wed may08 Thu may09 H FDL Memorial Day Fri may10