Introduction to Programming (ITP)

 

Spring 2017

 

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 spring term

Syllabus and timetable

 

Lecture slides for week 1 and pdf version (13.1.17)

Laboratory slides and pdf version

Laboratory worksheet

HelloWorld.py

 

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

Lecture slides for week 2b and pdf version

Laboratory slides and pdf version

Laboratory worksheet

Mystery.py

Sqrt2.py

Variables.py

 

Lecture slides for week 3 and pdf version (27.1.17)

Laboratory slides and pdf version

Laboratory worksheet

IntegerCalculations.py

PseudoCode.py

Rectangle.py

SeparateDigits.py

 

Lecture slides for week 4 and pdf version (3.2.17)

Laboratory slides and pdf version

Laboratory worksheet

Bookstore.py

Conversion.py

DollarsAndCents.py

 

Lecture slides for week 5 and pdf version (10.2.17)

Laboratory slides and pdf version

Laboratory worksheet

AlignedNumbers.py

LargeLetters.py

Monogram.py

 

Lecture slides for week 6 and pdf version (17.2.17)

Laboratory slides and pdf version

Laboratory worksheet

Comparison.py

TruthTable.py

 

Lecture slides for week 7 and pdf version (24.2.17)

Laboratory slides and pdf version

Laboratory worksheet

LeapYear.py

QuizGrading.py

 

Lecture slides for week 8 and pdf version (3.3.17)

Laboratory slides and pdf version

Laboratory worksheet

NumberProperties.py

Vowels.py

 

Lecture slides for week 9 and pdf version (10.3.17)

Laboratory slides and pdf version

Laboratory worksheet

CompoundInterest.py

 

Week 10: no lecture (17.3.17)

Mock examination and summary answers

Mock in laboratory test, marking scheme and example code

 

Lecture slides for week 11 and pdf version (24.3.17)

 

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

 

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