Intro. to Programming (in Python 3)- Spring 2023 - MW 12-12:50am - Room 208

Instructor: Ted Wetherbee

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

Course Website: http://tedwetherbee.org/cs1020/

All materials handed out in class will be on D2L.

Text : Free online

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.

Materials needed: USB Key/Drive

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.

Python on Room 208 and Open Computer Lab machines

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.

Installing Python on Your Computer

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.

Grading

15 programs 15x40 = 600
-----------------------
                    600 total

90-100%   A
80-90%    B
70-80%    C
60-70%    D
0-60%     F

Tentative Schedule - Spring 2023 - CS 1020

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



Plagiarism
Plagiarism, or presenting the writing of another as your own (a.k.a. “copying”), results in an F for this course and is subject to any other disciplinary actions mandated by this institution and the Minnesota State system.

Disabilities Notice Fond du Lac Tribal & Community College is committed to providing equitable access to learning opportunities for all students. Under the Americans with Disabilities Act and Section 504 of the Rehab Act, Fond du Lac Tribal & Community College provides students with disabilities (e.g., mental health, attentional, learning, chronic health, sensory or physical) reasonable accommodation to participate in educational programs, activities or services. Students with disabilities requiring accommodation to participate in class activities or meet course requirements should first complete an intake form and necessary requirements with Nancy Olsen, Disability Services coordinator, to establish an accommodation plan. She can be reached at nancy.olsen@fdltcc.edu or 218-879-0819.

Sexual Violence
Fond du Lac Tribal & Community College is committed to providing an environment free of all forms of discrimination and sexual harassment, including sexual assault, domestic and dating violence, gender or sex-based bullying and stalking. If you or someone you know has experienced gender or sex-based violence (intimate partner violence, attempted or completed sexual assault, harassment, coercion, stalking, etc.), know that you are not alone. Fond du Lac Tribal & Community College has staff members trained to support survivors in navigating campus life, accessing resources, providing accommodations, assistance completing with protective orders and advocacy. For more information regarding the Campus Security Report, the following link will give you a report on the Clery Compliance and Security Report at FDLTCC: http://fdltcc.edu/about-us/policies-reports/campus-security-policies-reports/

Please be aware that all Fond du Lac Tribal & Community College employees are required to report any incidents of sexual violence and, therefore it cannot guarantee the confidentiality of a report, but it will consider a request for confidentiality and respect it to the fullest extent possible. If you wish to report sexual misconduct or have questions about school policies and procedures regarding sexual misconduct, please contact Anita Hanson, Dean of Student Services, at 218-879-0805 or anita.hanson@fdltcc.edu.
Content is neither approved nor reviewed by FDLTCC.