· Required: Anaconda Python
Required: Wing IDE Download the Pro
Personal activation code for fall, 2019: 6N32A-78WY2-B719F-DLRCE
· Optional: An online Python interpreter
· Optional: A portable version of Python (no installation or admin privileges required): WinPython
· Our (free) online textbook: How to Think Like a Computer Scientist
· And another: Python Programming Fundamentals videos. These are Python videos for the textbook Python Programming Fundamentals.
· Read, print, and sign the Attendance, Test, and Homework Policies.
· Read chapters 1 and 2 of our textbook: How to Think Like a Computer Scientist. Be prepared for a quiz.
· Write program #1 and put it in the drop box.
· Today: arithmetic, relational operators, Boolean values, data types, input
· Program #2 to compute average score for a student. Put your "py" file in the drop box before noon on Tuesday.
· Read chapter 3 of our textbook.
· Read sections 4.1-4.5 of our textbook.
· Turtle graphics (chapter 4).
· Finish reading chapter 4.
· Program #3: turtle graphics, repetition, stars
· More loops, more turtle graphics. Notes.
· Program #4: A circle/star of parallelograms.
· More loops: nested loops. Notes.
· Read chapter 5.
· Program #5: Stars of polygons
· Today: writing functions. Notes.
· Read chapter 6, sections 1-6.
· Program #6: Write a snowflake program that uses a function.
· Read chapter 7.
· Test will probably be next Thursday
· Today: more image algorithms. Notes.
· Why pic width and height must be EVEN numbers if you want to shrink them by half.
· Program #9: Write the flip program described in the Notes link above. You may work with one partner. If you do, submit ONE copy of the program with BOTH names in the comments and print statement.
· Flip a pic, top to bottom
· Add a border to a pic video
· Blur a pic video
· Test #1.
· Indefinite loops. Notes.
· Read chapters 8 and 9. There will be a quiz next class.
· Program #10: Write a program to determine the student with the highest test score. Instructions.
· Strings (chapter 9). Notes.
· Here is a summary of the string methods.
· Here is a summary of the built-in functions we have seen so far.
· More strings (chapter 9). Notes.
· Program #12: Finish the program (from the Notes link above) that will validate a password to make sure that it is (1) at least 8 characters long, (2) has at least 1 lowercase letter, and (3) has at least 1 uppercase letter.
· Common integer algorithms.
· More hangman: how to print the hangman; hangman=" | \n O \n/|\\\n/ \\\n"
· More hangman: how to print the clue
· More strings. Exercises.
· Program #13: Caesar Cypher
· Read chapter 10.1-10.5 (intro to lists). Expect a quiz.
· Lists. Notes.
· Program #14: List algorithms
· Read Chapter 10.6-10.14. Expect a quiz
· Password checker.
· Caesar cypher.
· Write these algorithms. Do not use the built-in sort or reverse methods.
· A file is a list. 1400 words.
· Visit to Great West on November 8?
· Functions, parameters, scope. Notes.
· Read chapter 11. Expect a quiz.
· Test will probably be Day #23 (Tuesday, 11/15/2019)
· No class on Thursday
· Selection. Notes.
· Selection, compound Booleans. Notes.
· Program #18. Pizzeria bills.
· Review: pizza program
· Formatting output with "f" strings.
· Files, lists, if statements. Stocks problem.
· Test #2 is next class. Things to know.
· Read chapter 12 (Dictionaries). Expect a quiz.
· Program #19. Credit Cards
· Test #2
· Program #21: World Series winners.
· Read Chapter 13: Exceptions. Expect a quiz.
· Dictionary problems: #15 (count letter frequencies) and #19 (pirate talk) from textbook, chapter 12. Alice in Wonderland
· Read this chapter. Online chapter. Expect a quiz.
· Regular expression exercises.
· Read chapter 16: Classes and Objects—the Basics. Expect a quiz.
· Chapter 16: Objects in Python. Notes.
· Program #23: Write an Account class for a bank savings account and the code to test it.
· Read chapter 15: Recursion
· Chapter 15: Recursion.