-
Notifications
You must be signed in to change notification settings - Fork 0
/
outline.txt
99 lines (57 loc) · 4.19 KB
/
outline.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Lectures are Tues at 4:10 in A6 and Fri at 13:10 in B23. Prac on Tues immediately after the lecture.
-------------------
Week 1 (week beginning 3/10)
Tues 4:10 Module familiarisation. Explain the joint module, the assessed pracs in semester 1, what will happen in semester 2, and the assessments in semester 2.
Explain advisory, pracs, interactive lectures.
Tues 5:10 Python installation and familiarisation session. Bring your laptop, get installed. Try out command line basics. Worksheet is ticked off if you can open spyder, write hello world, save a python file with at least one comment line and a code line, and you can demonstrate import numpy and import matplotlib working correctly at a python prompt.
Fri 13:10 Python basics hands on lecture. Types and variables. if-then.
-------------------
Week 2 (week beginning 10/10)
Tues 4:10 Theory: Python basics theory lecture. Loops (while and for-range).
Tues 5:10 Python basics worksheet. Types, variables, loops.
Fri 13:10 Hands-on: Lists, hands on examples
-------------------
Week 3 (week beginning 17/10)
Tues 4:10 Theory: Dictionaries. Sets. For loops and lists. List/Set/Dict comprehesions. Perhaps a quiz on content so far.
Tues 5:10 Worksheet on loops over lists and dictionaries. Add to lists and dicts. Loop over the contents and sum or count or display entries.
Fri 13:10 Hands-on: numpy hands on lecture (make arrays, apply scalars, make ndarrays, apply basic functions). Reading/writing simple data from csv files.
-------------------
Week 4 (week beginning 24/10)
Tues 4:10 Theory: numpy. 2d and 3d arrays. indexing (and boolean expression indexing). linspace.
Tues 5:10 numpy worksheet 4.
Fri 13:10 Hands-on: Functions hands on. Remember existing functions eg len, sorted, sqrt and numpy functions. Define and call some functions with simple params and return values.
-------------------
Week 5 (week beginning 31/10)
Tues 4:10 Theory: functions and their correspondence to maths functions. Return values and None. print vs return. Parameters. What's the point of functions. lambdas. Passing functions as args.
Tues 5:10 No sign off this week. Turn your previous code into functions.
Fri 13:10 Hands on: adding main to a file of functions. Importing your file. Running your file. Adding comments. Generating documentation for your module. Packages, pip, argparse
-------------------
Week 6 (week beginning 7/11)
Tues 4:10 Theory: exceptions. What they are, how you catch them, how to continue. Why we have them. Exceptions vs if-then. What's caught at run time and what's caught before.
Tues 5:10 Worksheet 5 that asks them to write a couple of small specific functions, bundle into a module and document.
Fri 13:10 Hands on: objects (some code with simple objects that have a few methods and vars to play with).
-------------------
Week 7 Reading week (week beginning 14/11)
Catch up with all outstanding pracs.
Prac session will run Tues at 5:10 and could also run extra one Fri 13:10 if there are demonstrators available.
-------------------
Week 8 (week beginning 21/11)
Tues 4:10 Theory: objects. (maybe Inheritance and Design). Objects = methods plus attributes. Self. Calling methods via dot vs just calling functions. __init__, private
Tues 5:10 Worksheet 6 on making basic objects.
Fri 13:10 Hands on: examples of using objects: e.g. datetime, requests, BeautifulSoup
-------------------
Week 9 (week beginning 28/11)
Tues 4:10 Theory: file handling. Files as objects. File handles, iterators. Looping over file contents. CSV format. XML.
Tues 5:10 Worksheet 7 on reading stuff from files. Worksheet 5 due in.
Friday 13:10 MEQ. Hands on: with plotting graphs using data from files.
-------------------
Week 10 (week beginning 5/12)
Tues 4:10 Theory: plotting. Examples of different plots, their pros and cons. Legends, axes, colours. Misleading graphs. Multiple plots on same axes. Saving and showing.
Tues 5:10 Worksheet 8 on plotting (is there enough time for this to be assessed?). Worksheet 6 due in.
Fri 13:10 Extra prac?
-------------------
Week 11
Tues 4:10 Revision lecture. Q&A.
Tues 5:10 Catch up outstanding worksheets. Worksheet 7 due.
Fri 13:10 Final prac. no plan, emergency usage only. Probably more
worksheet signoff. Worksheet 8 due.