Introduction to programming (LT2111)

Autumn 2011

Introduction

The course is a part of the Language Technology Master Programme.

News

  • The retake exams are now corrected. Contact the reception (Ritva) at FLoV to get your result.
  • Retake exam: Tuesday, January 17, 13.30-18.30, Viktoriagatan 30 (V30).
  • The exams are now corrected, and with an excellent result: 9 pass with distinction out of 16, good job!
    Contact the reception (Ritva) at FLoV to get your result. If you remember your exam number, you may also ask me.
    The preliminary date for the retake exam is in the middle of January.
  • The Course evaluation form. The evaluation is anonymous, so take the chance to make your voice heard.
  • Exam date: Friday, October 28, 13.30-18.30, Viktoriagatan 30 (V30).
  • The course starts September 6, 10.15, room T302.

Teachers

Course Literature

Assignments

The final version of an assignment is published in conjunction with the lecture it is introduced.

  1. Assignment 0: Getting started (not obligatory, but highly recommended)
  2. Assignment 1: Princeton WordNet (Deadline: week 38, Friday, 23.59 CET)
  3. Assignment 2: Flesch-Kincaid readability test (Deadline: week 40, Friday, 23.59 CET)
  4. Assignment 3: Language Identification (Deadline: week 42, Friday, 23.59 CET)

Exercises

  1. Week 1: Getting started
  2. Week 2: Functions and expressions
  3. Week 3: Strings and control
  4. Week 4: Data structures
  5. Week 5: Data structures
  6. Week 6: Lager's exercises
  7. Week 7: Classes and objects + Lager's exercises

Schedule

Tuesday 10.15-12.00 Tuesday 13.15-15.00 Thursday 10.15-12.00 Thursday 13.15-15.00 Friday 10.15-12.00 Friday 13.15-15.00
Week 36 Lecture 1: Introduction
Lecture notes (pdf)
T302
Downey: ch. 1
NLTK: ch. 1
supervised lab
Assignment 0
Practical exercise session
Computer lab
supervised lab
Assignment 0
Week 37 Lecture 2: Functions and expressions
Lecture notes (pdf)
T307
Downey: ch. 2, 3, 4
supervised lab
Assignment 1
Exercise session 2
T307
supervised lab
Assignment 1
Week 38 Lecture 3: Strings and control
Lecture notes (pdf)
L100
Downey: ch. 5, 6, 7, 8, 9
NLTK: ch. 3.2
supervised lab
Assignment 1
Exercise session 3
L100
supervised lab
Assignment 1 Deadline
Week 39 Lecture 4: Data structures
Lecture notes (pdf)
L100
Downey: ch. 10, 11, 12, 13
supervised lab
Assignment 2
Exercise session 4
T307
supervised lab
Assignment 2
Week 40 lecture => Thursday supervised lab => Thursday supervised lab
Assignment 2
Lecture 5: Modules and the Python library
Lecture notes (pdf)
T307
Python documentation
Exercise session 5
T302
supervised lab
Assignment 2 Deadline
Week 41 lecture => Thursday supervised lab
Assignment 3
Lecture 6: Files, databases, and pickling
Lecture notes (pdf)
T116
Downey: ch. 14
Exercise session 6
T302
supervised lab
Assignment 3
Week 42 Lecture 7: Classes and objects
Lecture notes (pdf)
L100
Downey: ch. 15, 16, 17, 18
supervised lab
Assignment 3
Exercise session 7
L100
supervised lab
Assignment 3 Deadline
Week 43
Exam Week