Computer Science


Lectures: COMPSCI 101 Semester 2, City Campus

Top
Lecture Slides

Slides used in lectures will be provided here.

We will try to have lecture slides posted a day before (or on the day of) each lecture.

Week 11
DateLecture TitleHandouts
19th Oct Lecture 28 - Testing, docstrings for functions, doctests 1 slide per sheet

4 slides per sheet

Lecture code Solution
Top
Week 10
DateLecture TitleHandouts
12th Oct Lecture 25 - GUI's, using the Canvas widget 1 slide per sheet

4 slides per sheet

Lecture code Solution
15th Oct Lecture 26 - Drawing shapes using nested loops 1 slide per sheet

4 slides per sheet

Lecture code Solution
16th Oct Lecture 27 - Nested loops, passing objects as parameters 1 slide per sheet

4 slides per sheet

Lecture code Solution
Top
Week 9
DateLecture TitleHandouts
5th October Lecture 22 - Dictionaries 1 1 slide per sheet

4 slides per sheet

Lecture code
8th October Lecture 23 - Dictionaries 2 1 slide per sheet

4 slides per sheet

Lecture code
9th October Lecture 24 - Sequences and the Python Interpreter 1 slide per sheet

4 slides per sheet

Lecture code
Week 8
DateLecture TitleHandouts
28th September Lecture 19 - Tuples 1 slide per sheet

4 slides per sheet

Lecture code
1st October Lecture 20 - File I/O 1 1 slide per sheet

4 slides per sheet

Lecture code
2nd October Lecture 20 - File I/O 2 1 slide per sheet

4 slides per sheet

Lecture code
Top Top
Week 4
DateLecture TitleHandouts
17th August Lecture 10 - Boolean expressions,

if statements
1 slide per sheet

4 slides per sheet

L10Slide13.py

L10Slide14.py

20th August Lecture 11 - if...else... statements,

if...elif... statements
1 slide per sheet

4 slides per sheet

L11Slide07AddBonus.py

L11Slide11Compare1.py

L11Slide15Compare2.py

L11Slide16IsLeapYear.py

L11Slide18Horoscope.py

21st August Lecture 12 - Loops, while loops 1 slide per sheet

4 slides per sheet

L12Slide11GetDiceThrowsResult.py

L12Slide12GetSumOfDivisors.py

L12Slide14UserGuess.py

Week 2
DateLecture TitleHandouts
3rd August Lecture 4 - Python string

objects
1 slide per sheet

4 slides per sheet

L04Slide25NameInStars.py

6th August Lecture 5 - dot notation,

String methods
1 slide per sheet

4 slides per sheet

L05Slide17TaxCalculator.py

7th August Lecture 6 - User input,

random numbers
1 slide per sheet

4 slides per sheet

L06Slide09_RemoveRandom.py

L06Slide18_DiceThrow.py

Week 1
DateLecture TitleHandouts
27th July Lecture 1 - Introduction 1 slide per sheet

4 slides per sheet
30th July Lecture 2 - Variables 1 slide per sheet

4 slides per sheet

L02HelloWorld.py

L02ConversionDollars.py
31st July Lecture 3 - Expressions 1 slide per sheet

4 slides per sheet

L03Slide16HeronsFormula.py

L03Slide18Inheritance.py
Top


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