CSCI201: Computer Programming I

Updated 2020-09-27

Syllabus      Textbook       Python videos      Python documentation      List cheat sheet

Final test is ???? 2020 from 12:30 (but you can start at noon if you want to) until 2:20 in HH112. DO NOT PLAN TO LEAVE CAMPUS BEFORE THE TEST.

Link to first github assignment: https://classroom.github.com/a/D221YmMz

 

Online Python editor. NOTE: If you use turtle graphics, you do not need any window commands. If you use this, copy/paste your code into a Word or Notepad (preferred) file and hand it in.

Monday

Tuesday

Wednesday

Thursday

Sep 21

Data types, input, output

Sep 22

Chapter 3: Selection

Sep 23

Turtles, loops

Sep 24

Turtles, ifs, loops

Sep 28

Chapter 4: Functions

Sep 29

Test 1

Sep 30

Oct 1

Oct 5

Oct 6

Oct 7

Test 2

Oct 8

Oct 12

Oct 13

Images, part 1

Oct 14

Images, part 2

Oct 15

Test 3

Skipped in 2019: Recursion assignment, Classes

Homework due Thursday

Software used in this class

·         Required: Anaconda. Choose Python 3.8, 64-bit graphical installer for your computer (there is a Windows version and a Mac version).

·         Optional: An online Python interpreter

Python resources:

·         Textbook

·         Chapter on Turtle graphics (not part of our textbook)

·         Video playlist for textbook

Class #1-2. Monday, 9/21:Data, input, output

·         How to become a superstar

·         Beginning Python: notes

Homework

·         Read, print, and sign the Attendance, Test, and Homework Policies.

·         Read chapter 2 of our textbook. Be prepared for a quiz.

·         Watch videos from our playlist. 10-18 (90 minutes).

·         Program #1A: payroll. We will do this in class.

·         Program #1B: store discount.

·         Program #2A: cookies.

·         Program #2B: shipping.

Class #3-4: Tue, 9/22: Chapter 3: Making decisions

·         Notes. More notes.

Homework

·         Program #2C: sales quota.

·         Program #2D: college admissions.

·         Program #2E: covid.

·         Read Runestone chapter 3: Errors.

·         Read Runestone chapter 4: Turtle graphics and the for loop.

Class #5-6. Wed, 9/23: Turtle graphics, Repetition (loops)

·         Video of today's lecture

·         Turtle graphics. Notes. Examples.

·         More loops, more turtle graphics. Notes.

·         Draw the following: triangle, square, pentagon, polygon, flower of polygons, spiral of polygons

·         Web site for Python turtle graphics (if you have problems on your computer)

Homework

·         Program #2F: Car rental.

·         Program #3A: Stars

·         Program #3B: Spirals

·         No new reading, but re-read the turtle graphics chapter.

Class #7-8. Thu, 9/24: Turtles, selection, repetition

·         Test will be Tuesday, not Monday.

·         Covid homework program, car rental program.

·         Some programs to write today.

·         Colors in rainbow order (kind of)

·         Cycling through colors using the % operator (colored spiral)

Homework:

·         Read chapter 4: functions. Watch the chapter 4 videos.

·         Program #4: Write a snowflake program.

Day 5. Monday, 9/28/2020: Functions

Homework for tomorrow:

Homework for Wednesday:

Day 6. Tuesday, 9/29/2020: Test#1

Day 7. Wednesday, 9/30/2020: Loops

Class #13.

Homework

Class #16. More strings

Homework:

Class #17.

Homework:

Class #18. Lists

Homework:

Class #19.

Class #20:

Homework:

Class #21. Files, selection

Homework due next Tuesday (after the test):

Class #22:

Class #23.

Homework:

Class #24.

Homework

Class #25.

Homework

Class #26.

Homework

Class #27.

Class #28.

Class #29.

Class #28.

Homework

Class #28. Thursday, 12/05/2019

Final Test

Class #27 & 28. Tuesday, 12/03/2019 and Thursday, 12/05/2019

 

 

Class #14. Tuesday, 10/13/2020. IMAGES, part 1

Homework

Homework

Class #15. Wednesday, 10/14/2020. IMAGES, part 2

Homework:

Homework

Class #16. Thursday, 10/15/2020. Final Test