INTRODUCTION TO PROGRAMMING
Python resources Python Tutor - line-by-line interactive shell for understanding what is happening behind the scenes.
https://www.python.org/community/sigs/current/edu-sig/ Either:
KEY: 1.1 = Week 1, Day 1 - - - ACT = In-class activity - - - HW = HW
FOR NOW SUBMIT ALL HW TO: [email protected] Subject line must include: Name, Band and HW # 1.1) ACT: Hour of Code HW: write up observations about activity:
what did you notice? what skills were required? any difficulties? why were commands grouped together? 1.2) ACT: How code works PPT HW: How are MP3s encoded? What makes them a lossy format? Read Think like a programmer ch. 1. Either take notes or highlight a printout. I need evidence you read the chapter. INSTALL PYTHON 3.3 from python.org 2.1) ACT: Using the shell for math (+,-,*,/,**, etc.) PEMDAS, variables and naming conventions HW: New File. Create vars L, W and H. Use them to calculate SA, VOL 2.2) ACT: Assignment operators and testing values (+=, -=, /=, *=, etc.) HW: New File. Waiter scenario - use above symbols to create all possible bills for 5 diners. Each diner orders an entree and 2 appetizers are shared. Go to Interactive Python. Create an account. Your account name must be FirstLastBand (ex: ArendThorpB for me in F band). Your should pick introcs for the class name. 3.1) ACT: Runestone - Variables, Expressions and Statements HW: Exercises 3-7 3.2) ACT: Runestone - Variables, Expressions and Statements HW: Exercises 8-12 4.1) ACT: Hello, Little Turtles! from InteractivePython HW: Exercises 1-6 4.2) ACT: Hello, Little Turtles! from InteractivePython continued HW: Exercises 7 - 13 5.1) ACT: Modules from InteractivePython.HW: Ex 1-4 5.2) ACT: Functions from InteractivePython. HW: Ex 1-6 6.1) ACT: Functions continued HW: Ex 7-8, 13-16 (These are tricky!) 7.1) ACT: Quiz HW: Selection Ex: 1-3 7.2) Selection Ex: 7-10, 12. 13 for challenge if you want. Project Rock-Paper-Scissors-Lizard-Spock:
8.1) Iteration Revisited. HW: Ex. 4, 7-10 8.2) Iteration Revisited. HW: Ex. 11 - 15 9.1) Strings. HW: Ex 2, 3, 6, 8. Challenge: 18, 21 (Hard!) 9.2) Lists. HW: 2-4, 6, 8, 9 10.1) Credit card calculations (see PDF) 10.2) Credit card continued. 11.1) Dictionaries. HW: Ex: 5 Old Topic Sequence1. How computers work:
2. Python Intro:
3. Print function
4. String formatting
5. String methods
6. Variables
7. I/O methods
8. Numbers and math operations
9. Computing with numbers
10. Definite Loops
11. Indefinite loops
12. Boolean/Flow of Control
13. Function creation
14. Dictionaries, Tuples and data structures
|
Resources
CREDIT CARD INSTRUCTIONS PDF ready for bisection search? Hangman code skeleton Wordlist |