Schedule
Materials for each session appear below after the Monday it is taught.
| # | Date | Session | Part | Materials |
|---|---|---|---|---|
| 01 | Sep 14 | Your first program, and the machine underneathWorkshop: open the editor, make a file, run it — with the play button | Python | Slides·PDF·Workshop |
What a program is, and what happens when you run one. Files and folders. The editor, and the three parts of it you need. Your first error, and how to read it. WorkshopOpen the editor, make a file, type a one-line program, run it. Then four small programs and one error on purpose. No terminal, no commands to type — you use the play button. BringA charged laptop, and your Nuvolos enrolment done before you arrive. | ||||
| 02 | Sep 28 | Values, names, and expressionsWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Questions·Solutions |
What values are, what their types allow, and why the computer's arithmetic sometimes surprises us: str, int, float, bool and None; names and assignment; the arithmetic operators and their order; floats and money; converting between types; reading an error. WorkshopShort read-and-predict questions in Wooclap, then small programs to write on the same ledger. Optional extra practice for home. Go further (optional)
| ||||
| 03 | Tue Sep 29 | Lists, loops, and decisionsWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Questions·Solutions |
Tuesday 29 September, 10:15–14:00, Internef 263 — the make-up for 21 September. Many values under one name, work that repeats, and programs that choose: lists, indexing and slicing; for and while loops; if, elif and else; dictionaries. WorkshopShort read-and-predict questions in Wooclap, then small programs to write on the same ledger. Optional extra practice for home. Go further (optional)
| ||||
| 04 | Oct 5 | Functions, methods and modulesWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Questions·Solutions |
Calling functions and writing your own: WorkshopRead-and-predict in Wooclap: print is not return, two variables called total, a function that changes your list, the weight that lies. Then functions to write for the ledger: position values and a total, a fee with defaults, years to reach a target, a new method for Position. Go further (optional)
| ||||
| 05 | Oct 12 | Reading data codeWorkshop: read-and-predict in Wooclap, then small programs to write | Python | Slides·PDF·Slicing in pictures |
Nested data, one-line loops, and the two libraries all data science in Python is built on: data inside data, comprehensions, lambda, numpy arrays, and pandas tables. WorkshopShort read-and-predict questions in Wooclap, then small programs to write on the same ledger. Optional extra practice for home. | ||||
| 06 | Oct 19 | Files in, files outWorkshop: read ledger.csv, write report.txt — the whole pipeline | Python | — |
The working directory; reading and writing files; CSV; a complete load → compute → write script; WorkshopRead ledger.csv, write report.txt — the whole pipeline. | ||||
| 07 | Oct 26 | Review and mock midterm | Python | — |
No new material. Sessions 1–6 revisited through the kind of questions the midterm asks: what does this print, which line is the bug, is this output plausible. A mock midterm, taken in class and discussed. | ||||
| 08 | Nov 2 | Midterm — written, in class | Exam | proctored, no devices |
Written, multiple choice, in class, proctored — no documents or devices. Covers sessions 1–6: what does this print, which line is the bug, is this output plausible. Corrected for guessing (see Assessment). | ||||
| 09 | Nov 9 | Data science I | Data science | — |
Data-science program announced at semester start. | ||||
| 10 | Nov 16 | Data science II | Data science | — |
Data-science program announced at semester start. | ||||
| 11 | Nov 23 | Data science III | Data science | — |
Data-science program announced at semester start. | ||||
| 12 | Nov 30 | Data science IV | Data science | — |
Data-science program announced at semester start. | ||||
| 13 | Dec 7 | Data science V | Data science | — |
Data-science program announced at semester start. | ||||
| 14 | Dec 14 | Data science VI — wrap-up and mock final | Data science | — |
Data-science program announced at semester start. | ||||
| — | Jan | Final exam — written, exam session | Exam | date set by the faculty |
Sessions 9–14: detailed data-science program announced at semester start.
How workshops work
Lectures teach the language. In every workshop you run the same six steps, with an AI assistant of your choice:
- Framesay what you want, in plain words
- Askgive that brief to your AI assistant
- Runrun what it wrote
- Readfind the lines that do the real work
- Judgedecide whether to believe the output
- Keepcommit what works
Grading
| Midterm | 1/3 | Nov 2, written, multiple choice |
| Final exam | 2/3 | exam session, written, multiple choice |
Details, scoring rules, and the binding study-plan terms: Assessment.
Teaching team
Questions about the course go to the teaching assistants first. Questions about your registration or your grade record go to the Master's office, not to us.