Introduction to Programming (ITP)

Autumn 2016

The programming language for Introduction to Programming is Python

Lecture slides, laboratory worksheets and examples of code will be posted on this page during the autumn term

Syllabus and timetable

 

Lecture slides for week 1 and pdf version (4.10.16)

Lab 1 lecture slides and pdf version

Python Lab 1 worksheet

Example code for Lab 1: HelloWorld

 

Lecture slides for week 2a and pdf version (11.10.16)

Lecture slides for week 2b and pdf version

Lab 2 lecture slides and pdf version

Python Lab 2 worksheet

Example code for Lab 2: Mystery.py, Variables.py, Sqrt2.py

 

Lecture slides for week 3 and pdf version (18.10.16)

Lab 3 lecture slides and pdf version

Lab 3 worksheet

Example code for Lab 3: IntegerCalculations.py, PseudoCode.py, Rectangle.py, SeparateDigits.py

 

Lecture slides for week 4 and pdf version (25.10.16)

Lab 4 lecture slides and pdf version

Lab 4 worksheet

Example code for Lab 4: Bookstore.py, Conversion.py, DollarsAndCents.py

 

Lecture slides for week 5 and pdf version (1.11.16)

Lab 5 lecture slides and pdf version

Lab 5 worksheet

Example code for Lab 5: AlignedNumbers.py, LargeLetters.py, Monogram.py

 

Lecture slides for week 6 and pdf version (8.11.16)

Lab 6 lecture slides and pdf version

Lab 6 worksheet

Example code for Lab 6: Comparison.py, TruthTable.py

 

Lecture slides for week 7 and pdf version (15.11.16)

Lab 7 lecture slides and pdf version

Lab 7 worksheet

Example code for Lab 7: LeapYear.py, QuizGrading.py

 

Lecture slides for week 8 and pdf version (22.11.16)

Lab 8 lecture slides and pdf version

Lab 8 worksheet

Example code for Lab 8: NumberProperties.py, Vowels.py

 

Lecture slides for week 9 and pdf version (29.11.16)

Lab 9 lecture slides and pdf version

Lab 9 worksheet

Example code for Lab 9: CompoundInterest.py

 

Week 10: (6.12.16)

mock examination and summary answers

mock in laboratory test, marking scheme and example code

 

Lecture slides for week 11 and pdf version (13.12.16)

In laboratory test, marking scheme and example

 

 

Past Papers

 

Click here for the summer 2016 paper and here for the summary answers.

Click here for the autumn 2016 paper and here for the summary answers.

 

In Laboratory Tests

 

In Laboratory test held on 6.5.2016: question sheet, marking scheme, model answer

 

In Laboratory test held on 13.9.2016: question sheet, marking scheme, model answer