Date | Day | Lecture | Topics / Slides | Notes / Readings | Programming Assignments (PAs) | In-class exercises |
---|---|---|---|---|---|---|
01/14 | Mon | 1 | Syllabus
Course overview (pdf) Responsibilities (pdf) |
Do and Don't
Crossword |
||
01/16 | Wed | 2 | Ambiguity in algorithms (pdf) | Ch. 1, WikiHow - write pseudocode |
Activity: Paper airplane
(Please Install Python, Pycharm, PyGame before next class meeting) |
|
01/21 | Mon | MLK Holiday (No class) | ||||
01/23 | Wed | 3 | Transition to code
(pdf)
transition-to-code.py (text version) |
Ch. 2
PyCharm |
(starting from 01/23, lab-style work included, please bring your laptop)
Activity: pseudocode (For more "problem solving" practice, try this) |
|
01/28
Add deadline |
Mon | 4 | Turtle (Good refreshing/introduction to programming; will not be tested)
examples (turtle) |
Turtle documentation | ||
01/30 | Wed | 5 | Basics: Data type, Variables (pdf), Input and Output (pdf) | Ch. 3, 4, 5.2.4-5.2.5 |
Activity:
|
|
02/04 | Mon | 6 |
Functions
(pdf)
|
Ch. 3, 4, 5, 8-8.3
PythonTutor |
Activity:
|
|
02/06 | Wed | 7 | Functions
(pdf)
|
Ch. 5, 8-8.3 |
PA 01 greeting (due 02/06)
*finalized, please proceed (verified on 01/29)
PA 02 nonsense (due 02/06) PA 03 dating (due 02/08) PA 04 c2f (due 02/08) |
Tracing code:
|
02/11 | Mon | 8 | Functions
(pdf)
|
Ch. 5, 8-8.3 | PA 05 maydate (due 02/11) PA 06 conversion (due 02/11) |
Multiple functions and scoping:
Sample solution:
|
02/13 | Wed | 9 | Conditionals (pdf) | Ch. 6-6.2 | PA 07 gpa (due 02/13) PA 08 bmr (due 02/15) |
Tracing through functions: local-global-scope-banking.py (text version) Multiple functions, importing modules, and conditions: multiple-fns-and-import-module.py (text version) Sample solution:
practice: decision |
02/18 | Mon | 10 | Exam 1 note Exam 1 Review |
topic list | PA 09 aveages (due 02/18) | e1-recap-1.py
(sample solution) (text version) e1-recap-2.py (sample solution) (text version) e1-recap-3.py (sample solution) (text version) e1-recap-4.py (sample solution) (text version) e1-recap-5.py (text version) e1-recap-6.py (sample solution) (text version) e1-recap-7.py (sample solution) (text version) |
02/20 | Wed | 11 | Exam 1, Thornton Hall E303 (rescheduled due to snow day) | |||
02/25
Drop deadline |
Mon | 12 | Repetition
Exam 1, Thornton Hall E303 |
Ch. 7, 10, 12 | practice: loop | |
02/27 | Wed | 13 | Repetition
Slides (led by Sean Gatewood and Alexander Monaco) More slides (pdf) |
Ch. 7, 10, 12 |
In-class lab3: Repetition
sample solution practice: loop |
|
03/04 | Mon | 14 | More repetition
(pdf)
String processing (pdf) |
Repetition: Ch. 7, 10, 12 Style: Ch. 3.4, 8.2.9, docstring, PEP 252, PEP 8 |
for loop and while loop review
|
|
03/06 | Wed | 15 | More repetition List (pdf) note (text version) Testing and debugging (pdf) |
Ch. 7, 10, 12 | PA 10 calculator (due 03/06)
PA 11 higher_lower (due 03/08) Note: starting PA 11, some points will be reserved for styling (including meaningful docstrings and good variable names) |
Testing and debugging:
|
03/11 | Mon | Spring recess (No class) | ||||
03/13 | Mon | Spring recess (No class) | ||||
03/18 Withdraw deadline |
Mon | 16 |
dict
(pdf)
note (text version) |
Ch. 13 | practice: dict | |
03/20 | Wed | 17 | dict | Ch. 13 | PA 12 higher_lower_player (due 03/20)
PA 13 str_redux (due 03/20) No longer required |
macDonald_song-dict.py
(sample solution) macDonald_song-list.py (sample solution) macDonald_song-string.py (sample solution) book-inventory.py (sample solution) In-class lab4: dict (sample solutions) |
03/25 | Mon | 18 | Reading (local files) (pdf) | Ch. 16.2, 27.3, Delimiter-separated_values | PA 14 map_reduce (due 03/25) |
practice of the day
(text version)
Activity: friends.py (sample solution) (text version) (data file friends.csv, friends-2.csv) |
03/27 | Wed | 19 | Reading (from Internet) (pdf) | Ch. 16.2, 27.3, Delimiter-separated_values | PA 15 credit_card (due 03/27)
PA 16 gradebook (due 03/29) |
local files: practice of the day,
todo.csv
(sample solution)
Activity:
|
04/01 | Mon | 20 | Exam 2 Review | topic list
(please remember to check exam2 topic list)
|
e2-recap-1.py (text version)
e2-recap-2.py (text version) (sample solution) (text version) e2-recap-3.py (text version) (sample solution) (text version) e2-recap-4.py (text version) (sample solution) (text version) e2-recap-5.py (text version) (sample solution) (text version) cs111x-Jeopardy |
|
04/03 | Wed | 21 | Exam 2, Thornton Hall E303 | |||
04/08 | Mon | 22 | Gamebox | gamebox summary | PA 17 Lous_list (due 04/08) |
Examples: (text version) basic-arrow-keys.py, spaceship.jpg basic-carry-stuff.py healthbar.py falling-coins.py starfield.py infinitejumper.py another-jumper.py animation.py, sprite.png basic_jumping.py basic_move_camera.py basic_end_game.py basic_wrap.py basic_collect_thing.py basic_add_score.py basic_random_create_coin.py Timer [game-ex1.py, game-ex2.py, game-ex3.py, game-ex4.py, game-ex5.py, game-ex6.py ] first game: [shooting-ex1.py, shooting-ex2.py, shooting-ex3.py, shooting-ex4.py, shooting-ex5.py] |
04/10 | Wed | 23 | RegEx (pdf) |
Ch. 25,
on designing RegExs
https://regexr.com https://regex101.com https://regexone.com/ |
PA 18 spellcheck (due 04/10) | practice-of-the-day
Examples: pattern.html first-regex.txt regex-ex1.py (sample solution) regex-ex2.py (sample solution) regex-ex3.py (sample solution) regex-ex4.py (sample solution) In-class lab5: 111x-Lab12-pong (gamebox) |
04/15 | Mon | 24 | RegEx | Ch. 25,
on designing RegExs
https://regexr.com https://regex101.com https://regexone.com/ |
PA 19 flappy bird (due 04/15) | Examples: regex-sample-data.txt regex-simpsons.py (sample solution) simpsons_part2.py regex-phone-from-url.py (sample solution) regex-split-string.py (sample solution) regex-replacement.py |
04/17 | Wed | 25 | Writing | Ch. 16.3 | Game project - Checkpoint 1 (due 04/17) | In-class lab6: 111x-Lab13-email (regex)
Examples: write-file-w-mode-using-print.py write-file-a-mode-using-print.py write-file-w-mode-using-write.py write-file-a-mode-using-write.py example data file: todo.csv |
04/22 | Mon | 26 | Exceptions | Ch. 17 | PA 20 regex (due 04/22) | Exercises: exception-intro.py exception-handling.py exception-tracing1.py exception-tracing2.py exception-tracing3.py exception-tracing4.py exception-tracing5.py exception-tracing6.py exception-tracing7.py exception-tracing8.py exception-tracing9.py exception-tracing10.py exception-tracing11.py exception-tracing12.py |
04/24 | Wed | 27 | Flex day | Game project - Checkpoint 2 (due 04/24)
PA 21 salary (due 04/26) |
In-class lab7: 111x-Lab14-review (final exam review) | |
04/29 | Mon | 28 | Final Exam review
Note: TA review session, 1-May, 2pm-4pm, in McLeod Hall |
topics list | Game project (due 04/29) | Practice: e3-review-exception-1.py e3-review-exception-2.py e3-review-file-reading.py e3-review-list-string-dict.py e3-review-file-writing-book1.py (sample-solution) e3-review-file-writing-book2.py (sample-solution) e3-review-regex-phone.py (sample solution) |
05/04 | Sat | FE | Final Exam — Saturday 4-May, 7:00-10:00 PM (CS 1111), Room THN E303
Good luck !! |