Skip to content

Commit

Permalink
Review lesson plans
Browse files Browse the repository at this point in the history
  • Loading branch information
MaybeJustJames committed Jul 27, 2022
1 parent d32b0e0 commit 560ad4b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 24 deletions.
6 changes: 3 additions & 3 deletions 07_Dictionaries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"\n",
"You have some data sources:\n",
"* [Global](https://hadleyserver.metoffice.gov.uk/hadcrut5/data/current/download.html)\n",
"* [Belgium](https://paste.c-net.org/PaddySofia)\n",
"* [Russia](https://paste.c-net.org/WoodsKruger)\n",
"* [Australia](https://paste.c-net.org/ClutchesStabs)\n",
"* [Belgium](https://gist.github.com/MaybeJustJames/4a604c9d9dcff2c999496ec5def1d6ce/raw/caf3df0d47b1523e347df01ed8db2cc3726b1bdc/bel_data_orig.csv)\n",
"* [Russia](https://gist.github.com/MaybeJustJames/4a604c9d9dcff2c999496ec5def1d6ce/raw/caf3df0d47b1523e347df01ed8db2cc3726b1bdc/rus_data_orig.csv)\n",
"* [Australia](https://gist.github.com/MaybeJustJames/4a604c9d9dcff2c999496ec5def1d6ce/raw/caf3df0d47b1523e347df01ed8db2cc3726b1bdc/aus_data_orig.csv)\n",
"\n",
"<!-- Original country data source: https://climateknowledgeportal.worldbank.org -->\n",
"\n",
Expand Down
18 changes: 12 additions & 6 deletions lesson_plans/lesson_plan_day1.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@

**SAY**: A note for those of you who are already confident programmers. This morning
may feel slow for you. We're covering the basics. Feel free to read ahead and try to complete some
exercises. If you are a new programmer please follow along with me. There are
exercises. There are links to more advanced exercises in several places. You're welcome to attempt these
and ask questions about them in the chat, but we will not be covering solutions.
If you are a new programmer please follow along with me. There are
a lot of new concepts that we will cover today and you will feel exhausted
soon enough. We do not need to rush.

Expand Down Expand Up @@ -146,19 +148,19 @@
**CMD**: Show truth tables in from [link](https://philosophy.lander.edu/logic/conjunct.html).
Then allow students to predict the outcome of each cell.

**EXERCISES** 2-4, 2-5
**EXERCISES** 2-4

**SAY**: Beyond arithmetic on values a useful operation is comparison of values. You can read comparison
expressions as questions. For example you can read the expression, `3 < 5` as "Is 3 less than 5?"
The outcome of a comparison operation is a Boolean value. `True` is a "Yes" answer, and "False"
is a "No" answer. You can ask questions like, "Are these values the same?", "Are these values different?",
"Is this value less than this other value?", or "Is this value equal to or larger than this other value?"

**EXERCISE** 2-6
**EXERCISE** 2-5, 2-6

**SAY**: Now you've done some programming. And your computer has done some computing. You've earned a break.
I'll start again in 10 minutes. If you have questions during the break, one of your instructors will be here.
If at any point you feel lost or left behind please tell Tuur or myself either in the public chat or
If at any point you feel lost or left behind please tell one of us instructors, either in the public chat or
by private message. We have a lot to cover and many (if not all) of the concepts we talk about will
be new to you. There is no shame in asking for help. Because we're not all in a room together
we cannot see if you are struggling or not.
Expand Down Expand Up @@ -215,15 +217,19 @@

**CMD**: Read the text in the notebook (second paragraph).

**EXERCISES** 2-7, 2-8, 2-9
**EXERCISES** 2-7, 2-8

**SAY**: Now you've been introduced to the basics try to explore what you have already learned in
the coming exercises...

**EXERCISES** 2-10, 2-11, 2-12, 2-13, 2-14
**EXERCISES** 2-9, 2-10, 2-11

**CMD**: Describe what comments are and why they're useful.

**CMD**: Talk about modules/packages/libraries. Python is "batteries included" with a lot of libraries "built-in".
But there is a universe of third-party libraries too that can be used. Some of which students
already installed for this course ;)

### 11:55

**CMD**: Review the Chapter: what was learned?
Expand Down
13 changes: 7 additions & 6 deletions lesson_plans/lesson_plan_day2.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,19 @@

**SAY**: You can combine the assignment operator and the addition operator together as a shorthand for addition and
then assignment.

**SAY**: You can also multiply a list by a number. Perhaps you can guess what might happen when you do this
based on what happened when you did this with strings last week?

**CMD**: Pause to let students think / run the cell.

**SAY**: We can use lists to help us with the Fizz Buzz game by using them to represent the progress of the game.

**CMD**: Refresher on the Fizz Buzz game.

**EXERCISE** 5-1

**CMD**: Read and explain section 2 on what `len()` means.
**CMD**: Read and explain section 2 on what `len()` means on lists.

### 10:20

Expand Down Expand Up @@ -120,10 +125,6 @@

**CMD**: Topic: Operating on Lists

**SAY**: Python has a rich _standard library_ (a collection of re-usable definitions). You've already used
some of this library: `abs()`, `print()`, etc are examples of these. This is only scratching the
surface though, many more general purpose definitions are available to you through the use of `import`.

**SAY**: In the next section we will use the `operator` library. This library provides functions that do
the same thing as built in Python operators like `+`, `*`, or `[]`.

Expand Down Expand Up @@ -163,7 +164,7 @@
strings: no, you can only store characters. This is just a different way of looking at text data
that allows you to see that indexing and slicing also make sense.

**EXERCISE** 5-6, 5-7
**EXERCISE** 5-6

### 11:55

Expand Down
14 changes: 5 additions & 9 deletions lesson_plans/lesson_plan_day3.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@

1. Notebook chapters 7, 8, 9, 10
1. The "How to Design Programs" textbook
1. [Belgium climate data](https://gist.github.com/MaybeJustJames/4a604c9d9dcff2c999496ec5def1d6ce/raw/caf3df0d47b1523e347df01ed8db2cc3726b1bdc/bel_data_orig.csv)
1. [Australia climate data](https://gist.github.com/MaybeJustJames/4a604c9d9dcff2c999496ec5def1d6ce/raw/caf3df0d47b1523e347df01ed8db2cc3726b1bdc/aus_data_orig.csv)
1. [Russia climate data](https://gist.github.com/MaybeJustJames/4a604c9d9dcff2c999496ec5def1d6ce/raw/caf3df0d47b1523e347df01ed8db2cc3726b1bdc/rus_data_orig.csv)

## Procedure

# !!TODO!! Need to explain `None` somewhere

### 9:20

**CMD**: Start greeting students as they arrive
Expand Down Expand Up @@ -77,11 +78,11 @@

**EXERCISE** 7-1, 7-2

### 10:30
### 10:20

**CMD**: Break

### 10:40
### 10:30

**CMD**: Return from break

Expand All @@ -104,11 +105,6 @@

**CMD**: Topic: Fetching and storing data

**NOTE**: New data URLs:
BEL: https://paste.c-net.org/PaddySofia
AUS: https://paste.c-net.org/WoodsKruger
RUS: https://paste.c-net.org/ClutchesStabs

**SAY**: The global data is available in a file on your computer, the per-country data is only
available from a website. In this session we will fetch these data, "clean" it, and
store the cleaned data.
Expand Down

0 comments on commit 560ad4b

Please sign in to comment.