Computer Science


Lectures: COMPSCI 101 Semester 1, 2020

Slides used in lectures will be provided here. Lecture recordings are available on Canvas. If you miss a lecture, then please watch the lecture recording on Canvas.

Week 12

No Lectures

Week 11



DateLecture TitleHandouts
2 June Lecture 28 - Doctests
3 June Lecture 29 - Test2 Revision
5 June Lecture 30 - Exam Revision
Week 10



DateLecture TitleHandouts
26-May Lecture 25 - GUI
27-May Lecture 26

Using the Canvas widget to draw rows and columns of shapes
29-May Lecture 27

Nested loops, passing mutable objects as parameters
Week 9



DateLecture TitleHandouts
19-May Lecture 22 - Python Dictionary objects Slides (1 per sheet)

Slides (4 per sheet)

20-May Lecture 23 - More on Python Dictionary objects Slides (1 per sheet)

Slides (4 per sheet)

22-May Lecture 24 - Using the Python interpreter, Python sequences<
Week 8




DateLecture TitleHandouts
12-May Lecture 19 - Tuples Slides (1 per sheet)

Slides (4 per sheet)
13-May Lecture 20 - Read from/write to files Slides (1 per sheet)

Slides (4 per sheet)
15-May Lecture 21 - Maintaining a file of Information Slides (1 per sheet)

Slides (4 per sheet)
Week 7
DateLecture TitleHandouts
5-May Lecture 18 - Test Revision - see the Canvas announcement and the Revision Lecture Recording
6-May No Lecture
8-May No Lecture
Week 6
DateLecture TitleDocuments
28-Apr Lecture 15 - Updating elements of lists, split() method, lists are mutable objects 1 slide per sheet

4 slides per sheet
29-Apr Lecture 16 - Slicing lists, list methods, '==' vrs 'is' 1 slide per sheet

4 slides per sheet
1-May Lecture 17 - Assignment 3 - Lists Questions 1, 2 and 3 - 1 slide per sheet

Questions 1, 2 and 3 - 4 slides per sheet


Questions 4, 5 and 6 - 1 slide per sheet

Questions 4, 5 and 6 - 4 slides per sheet


Question 7 - 1 slide per sheet

Question 7 - 4 slides per sheet

Week 5
DateLecture TitleHandouts
6-Apr Lecture 13 - The Python range() function, for … in range() loops Slides (1 per sheet)

Slides (4 per sheet)

7-Apr Lecture 14 - The in operator, Python List objects, the append() method Slides (1 per sheet)

Slides (4 per sheet)

9-Apr No Lecture - Good Friday

Week 4
DateLecture TitleHandouts
31-Mar Lecture 10 - Boolean expressions, if statements Slides (1 per sheet)

Slides (4 per sheet)

1-Apr Lecture 11 - if .. else statements, if .. elif statements, nested ifs Slides (1 per sheet)

Slides (4 per sheet)

3-Apr Lecture 12 - While Loops Slides (1 per sheet)

Slides (4 per sheet)

Week 3
DateLecture TitleHandouts
17-Mar Lecture 7 - Defining Functions Slides (1 per sheet)

Slides (4 per sheet)

20-Mar Lecture 8 - More Functions Slides (1 per sheet)

Slides (4 per sheet)

22-Mar Lecture 9 - Code Trace Slides (1 per sheet)

Slides (4 per sheet)

Format of CompSci 101 Programs

Slide 19 Code Trace

Week 2
DateLecture TitleHandouts
10-Mar Lecture 4 - Strings 1 slide per sheet

4 slides per sheet

11-Mar Lecture 5 - Manipulating Strings (Updated) 1 slide per sheet

4 slides per sheet

13-Mar Lecture 6 - User Input 1 slide per sheet

4 slides per sheet

Week 2 Lecture Code Week 2 Code Zip File
Week 1
DateLecture TitleHandouts
3rd March Lecture 1 - Introduction 1 slide per sheet

4 slides per sheet
4th March Lecture 2 - Variables 1 slide per sheet

4 slides per sheet

6th March Lecture 3 - Expressions 1 slide per sheet

4 slides per sheet

Week 1 Lecture Code Week 1 Code Zip File


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page