is52027c term 2 revision session
brainstorm
what did we study in term 2?
term 2 content map
here's a full map of term 2 material: this is what could appear in an exam
don't panic
- reading the slides & working through the labs gives you everything you need
- there are 40 short questions at the start of the exam which give you a good chunk of the pass mark
- don't rush these (there may be a plausible answer which is wrong)
- plan your revision...
diagram time
we're going to draw a series of annotated diagrams to represent how our web apps work.
for each diagram you will work in a small group. the steps will be:
- discuss as a group
- draw and annotate your diagram
- a show-and-tell by one or more of the groups
- a wrap-up
internet
draw a labelled diagram to represent the working of the internet protocal stack, when a client communicates with a server across the internet. include on your diagram:
- the layers
- indicate at which layer SMTP operates (SMTP = Simple Mail Transfer Protocol)
- indicate at which layer SSH operates
- indicate the numbers used to identify a unique connection between processes at either end (e.g. browser & web app)
relevant lecture = 11
web form request-response
draw a labelled diagram to represent the process of a form being submitted to a flask app.
- include on your diagram the steps involved in form processing from beginning to end
- add code snippets where appropriate
relevant lecture = 13
pop quiz: Q's in bubbles
login form
adapt your diagram from part 2 to show what happens when a user is logged in to the site. just use a basic login, without extensions.
relevant lecture = 15
some Q's
draw a diagram to show the setup of a simple api in flask
do the same, but this time showing how the flask-restless extension is set up
notes on further revision
-
lab this friday will include an exercise. lecturers will NOT be present
-
feedback hours (aka office hours); form into small groups, come with specific questions or problems, BOOK AHEAD
-
work through lab material, it's never too late! - online support from me, sorrel, hooman