| Date | Notes |
Topics | Reading in Zelle | Code Samples | Labs | Assignments | |
|---|---|---|---|---|---|---|---|
Tu 25 Jan |
Computer Science Course overview and structure Who's in the Class [out of date] Programs, Interpreters, Compilers Python |
Ch 1 |
Get graphics.py from Zelle's book website. This is also where you can get graphics.pdf. |
||||
Th 27 Jan |
Syntax vs. semantics Syntactical structure of Python language Variables, expressions, statements Analysis of chaos.pySoftware in airports |
Ch 2 |
SqrtInt.pychaos.pyPlotChaos.py |
L1: Running Python | A1: Software; & First Programs [due 2Feb] A1 Feedback |
||
Tu 1 Feb |
Input: inputOutput: printfor-Looprange( ) |
Ch 2 |
Average3.pyAveragen.py |
||||
Th 3 Feb |
Comments Python history CPU vs. GPU PlotChaos.py |
Ch 2 |
Sum1ton.py |
L2: Temp & PlotDots Color Names! |
A2: Ocean Level Rise [due 9Feb] A2 Feedback |
||
Tu 8 Feb |
What is a computer? History of computers Review Ch2, Preview Ch3 Binary→Decimal |
Ch 3 |
convertBinDec.py |
||||
Th 10 Feb |
Binary→Decimal Data Types Accumulating for-loopsCPU Fetch-Execute Cycle |
Ch 3 |
factorial.pyquadratic.py |
L3: Math & datetime | A3: Fibonacci & Random Snow [due 16Feb] A3 Feedback |
||
Tu 15 Feb |
for-loop reviewtracing code OOP: classes, objects, instances |
Ch 5 |
for_test.pyaphids.py |
||||
Th 17 Feb |
Objects Data vs. Methods Coords |
Ch 5 |
shapes.pygraphTrace.pyballMove.pySnow_Graph.py |
L4: Bouncing Shapes | A4: Growing Fantasy Flower [due 23Feb] |
||
Tu 22 Feb |
IBM & Jeopardy Review Quiz Random points, lines, rectangles |
Ch 5 |
RandomDots.py |
||||
Th 24 Feb |
Graphics transformations docstrings String data type Indexing into strings →HTML parsing... |
Ch 5; Ch 4 |
JORgraphics.py
RandomRectangles.py
RandomRectsRotated.py
SegmentRotate.py
PentagonRotate.py |
L5: Star Diagram | A5: Nested Squares & Spirals [due 2Mar] A5 Feedback |
||
Tu 1 Mar |
raw_input()indexing slices '\n' Basic if...else... |
Ch 4; 7 |
Palindrome1.pyPalindromeFile.pywords.txt
(dictionary words) |
||||
Th 3 Mar |
Strings (continued)urlopen== vs. !=Searching for strings break statement |
Ch 4; 7 |
urlopen.pySearchString1.py |
L6: Search in Web page | A6: Find all URLs in Web page [due 11Mar] A6 Feedback |
||
Tu 8 Mar |
Strings: Encyption
How URLs work Sequences and Lists: preview |
Ch 4; 7 |
ROT13.py
|
||||
Th 10 Mar |
Review for Exam Mid-Term Exam |
Mid-Term Exam (.docx) Feedback: Mid-Term Answers (.docx) |
|||||
Tu 15 Mar |
— |
Spring Break | |||||
Th 17 Mar |
— |
Spring Break | |||||
Tu 22 Mar |
Sequences and Lists Concordance ASCII, chr()
ord() |
Ch 4.3; 7 |
Ulysses1.txt (Chapter 1) Ulysses.txt ConcInClass.py |
||||
Th 24 Mar |
Boolean expressionsif, elif, elsewhile-loopsLists of objects |
Ch. 7+8 | L7: Archery Target | A7: ClickMe Game [due 31Mar] A7 Feedback |
|||
Tu 29 Mar |
Functions Parameters Passing by value Passing by reference |
Ch. 6 | Boolean QuizhelloFct.py |
||||
Th 31 Mar |
FunctionsreturnTask File I/O |
Ch. 6 | userfileFct.py |
L8: Variable Scoping | A8: Creating HTML [due 6Apr] |
||
Tu 5 Apr |
Functions string formatting OSlibrary |
Ch.6+4 | simpleMath.pyCh4Exercises.pyOSlib_Ex.py |
||||
Th 7 Apr |
Function quiz Extracting from HTML |
Ch.6 | Function QuizgetHoros1.pygetHoros2.py |
L9: More HTML | A9: More HTML | ||
Tu 12 Apr |
Classes Structured data Using classes Definint classes |
Ch.10 | Greeting.pyFriendInfo.pyuseFriendInfo.pyuseFInfo_List.py |
||||
Th 14 Apr |
Classes syntax Smith directory getURLInfo() List of objects |
Ch.10 | L10: getURLclass | A10: Classes & HTML | |||
Tu 19 Apr |
Final Exam specs
Global vars Debugging class Die()
|
Ch.10: 323-8 | Ch.10 code:button.pydieview.pyroller.py
MyDie1.py (in class) |
||||
Th 21 Apr |
Classes & globals revisitedgraphics.py structureInheritance del destructionRolling dice Lab11 prep |
Ch.10 |
MyDie2.py (finished in class)
For A11: frandrange.pySmileChangee.py |
L11: Hybits graphics | A11: Hybits happiness [due 27 Apr] A11 Feedback |
||
Tu 26 Apr |
Hybits: high-level Python vs. Java & C++ Mathematica & Matlab |
Ch.10 | |||||
Th 28 Apr |
Review of Take-Home exam | <no lab> | Final Take-Home Exam: Word .docx Web page (converted from .docx)
Weights: Q1=30%. Q2=35%. Q3=35%. |
||||
30A-2May |
— |
Reading Period | |||||
3-6May |
— |
Exams |
Take-Home due: 4:30PM Fri 6 Apr Final Feedback |