Announcements

  • Grades for our Assignment 5 have been released and solution to Assignment 4 and 5 has been posted under Assignment 5 below.
    If you have questions about the marking of your Assignment 4, please, see Christian during his office hours or post your questions on the Discussion Forum of CourSys.
    If you have questions about the marking of your Assignment 5, please, see Rohan during his office hours or post your questions on the Discussion Forum of CourSys.

    You have until Friday April 19 to bring your questions, regarding the marking of your Assignment 4 and/or Assignment 5 to the appropriate TA. We shall not be attending to such questions beyond this deadline!

  • Office hours for Week 14 - Monday April 15 to Friday April 19 - in the usual locations:
    • Monday April 15 - Anne - 2pm to 3:30pm
    • Tuesday April 16 - Arsh - 11:30am to 1:30pm
    • Tuesday April 16 - Rohan - 1:30am to 3:30pm
    • Wed. April 17 - Arsh - 1:30pm to 2:30pm
    • Wed. April 17 - Rohan - 2pm to 3pm
    • Wed. April 17 - Anne - 2:30pm to 4pm
    • Thursday April 18 - Sitong - 8:30am to 11:30am
    • Thursday April 18 - Rohan - noon to 3pm
    • Friday April 19 - Christian - 10am to 3pm
    • Friday April 19 - Anne - 3pm to 4:30pm

Information

Date Reading   Lecture Assignment

Week 1 - Introduction to Computing Science
M Jan. 8 Week 1 Readings +
Instructions regarding
our readings over the semester
Lecture 1 - Course Overview - pdf, recording
(passcode: CMPT120)
A word about Academic_Honesty
 
W Jan. 10 Lecture 2 - CS and Problem Solving - pdf, recording
(passcode: CMPT120)
Natural Language, Flowchart, Pseudocode,
Diagram illustrating an algorithm,
greetingsWithNameAlg.py,
greetingsWithName.py
 
Assignment 0 - due on CourSys on W Jan. 17 at 23:59:59
To practise - Worth 0 marks
F Jan. 12 Reference: "f" String Formatting Lecture 3 - Natural Language Processing and
Chatbots - Intro - pdf, recording
(passcode: CMPT120)
greetingsWithNameBand.py,
greetingsWithNameBandRandom.py

Week 2
M Jan. 15 Week 2 Readings Lecture 4 - Natural Language Processing and
Chatbots - Branching - pdf, recording
(passcode: CMPT120)
howIsItGoing.py
 
W Jan. 17 Lecture - Cancelled - Snow Day!
 
Assignment 1 - due on CourSys on W Jan. 31 at 23:59:59
F Jan. 19 Lecture 5 - Natural Language Processing and
Chatbots - More Branching - pdf, recording
(passcode: CMPT120)
login.py
positiveNumberFromUser.py
howIsItGoing-v2.py
Grade_to_Letter_Converter_Comments.py

Week 3
M Jan. 22 Week 3 Readings Lecture 6 - Natural Language Processing and
Chatbots - Efficiency, Robustness and Testing - pdf,
recording (passcode: CMPT120)
Grade_to_Letter_Converter.py
Grade_to_Letter_Converter_Improved.py
GuessingGame.py
 
W Jan. 24 Lecture 7 - Practice Exam #1
Bring pens, pencils and paper!
pdf, Solution
recording (passcode: CMPT120)
 
F Jan. 26 Lecture 8 - Natural Language Processing and
Chatbots - for loop - pdf, recording
(passcode: CMPT120)
GuessingGameUserInputValidation.py

Week 4
M Jan. 29 Week 4 Readings Lecture 9 - Cryptography and Encryption - pdf,
recording (passcode: CMPT120)
OddEvenEncryptionComments_v1.py
OddEvenEncryptionComments_v2.py
 
W Jan. 31 Lecture 10 - Practice Exam #2
Bring pens, pencils and paper!
pdf, Solution
 
Assignment 2 - due on CourSys on W Feb. 14 at 23:59:59
F Feb. 2 Lecture 11 - Cryptography and Encryption - pdf,
recording (passcode: CMPT120)
Encryption: OddEvenEncryption_v1.py
Encryption: OddEvenEncryption_v2.py

Week 5
M Feb. 5 Week 5 Readings Lecture 12 - Cryptography and Encryption - pdf,
recording (passcode: CMPT120)
Encryption and decryption: OddEvenEncryptionBOTH.py
Python Visualizer
 
W Feb. 7 Lecture 13 - Practice Exam #3
Bring pens, pencils and paper!
pdf, Solution
PredictingChatbot.py
MilkSurveyBot.py
 
F Feb. 9 Lecture 14 - Cryptography and Encryption - pdf,
recording (passcode: CMPT120)
Encryption and decryption:
OddEvenEncryptionFunctionsWhileEmptyString.py
Python Visualizer
Print_Star_5_Times_Comments.py
GreetingUserComments.py
SumOfFirstTenComments.py
SumOfListComments.py
Print_Star_5_Times.py
SumOfFirstTen.py
LargestOf3.py
SumOfList.py
PrintXOfSymbol.py

Week 6
M Feb. 12 Week 6 Readings Lecture 15 - Graphics and Animation - pdf,
recording (passcode: CMPT120)
Where to put functions in a program
Canvas.py
DrawSquare.py
 
W Feb. 14 Lecture 16 - Practice Exam #4
Bring pens, pencils and paper!
pdf, Solution
TicTacToe.py
 
Assignment 3 - due on CourSys on W March 6 at 23:59:59
Turtle_Canvas_Too_Small.py
Turtle_Shapes.py
F Feb. 16 Lecture 17 - Graphics and Animation - pdf,
recording (passcode: CMPT120)
DrawSquare_TwoTurtles.py
Cookies.py

Reading Week - No classes! Yay!

Week 7
M Feb. 26 Week 7 Readings Lecture 18 - Graphics and Animation - pdf,
recording (passcode: CMPT120)
Cookies_Radius.py
Cookies_RepeatedCode.py
Cookies_with5Chips.py
OperationsOnList.py
 
W Feb. 28 Lecture 19 - Practice Exam #5
Bring pens, pencils and paper!
pdf, recording (passcode: CMPT120)
Solution
Palindrome.py
StrangeCalculator.py
 
F March 1 Lecture 20 - Graphics and Animation - pdf,
recording (passcode: CMPT120)
Factorial.py

Week 8
M March 4 Week 8 Readings Lecture 21 - Graphics and Animation - pdf,
recording (passcode: CMPT120)
RecursivePalindrome.py
IterativeTree.py
RecursiveTree.py
RecursiveTree4Seasons.py
 
W March 6 Lecture 22 - Practice Exam #6
Bring pens, pencils and paper!
pdf, recording (passcode: CMPT120)
Solution
reverseString.py
printStars.py
 
F March 8 Lecture 23 - Midterm - in B9201
Information about our Midterm
To read before our midterm!
Marking Scheme
Solution
Midterm Feedback

Week 9
M March 11 Week 9 Readings Lecture 24 - Computer Vision and Image Processing - pdf,
recording (passcode: CMPT120)
beach.jpg, kid-green.jpg
File_IO_Demo_Read_File.py
 
W March 13 Lecture 25 - Computer Vision and Image Processing - pdf,
recording (passcode: CMPT120)
File_IO_Demo_Grid_File.py
CombinedImages_PixelValue.py
 
Assignment 4 - due on CourSys on W March 27 at 23:59:59
Assignment_4.py
maze_1.txt, maze_2.txt
maze_3.txt, maze_4.txt
F March 15 Lecture 26 - Practice Exam #7
Bring pens, pencils and paper!
pdf, Solution

Week 10
M March 18 Week 10 Readings Lecture 27 - Computer Vision and Image Processing - pdf,
recording (passcode: CMPT120)
CombinedImages.py
myColourModule.py
 
W March 20 Lecture 28 - Practice Exam #8
Bring pens, pencils and paper!
pdf, Solution
 
F March 22 Lecture 29 - Computer Vision and Image Processing
pdf updated on March 24
recording (passcode: CMPT120)
JellyBeanColourCounter_1.py
JellyBeanColourCounter_2.py

Week 11
M March 25 Week 11 Readings Lecture 30 - Under the Hood - Binary Encoding - pdf,
recording (passcode: CMPT120)
JellyBeanColourCounter.py - Final version
myColourModule.py
 
W March 27 Lecture 31 - Under the Hood - Binary Encoding - pdf,
recording (passcode: CMPT120)
In-Class Activity #9 (replacing Practice Exam #9)
 
Assignment 5 - due on CourSys on W April 10 at 23:59:59
Assignment_5.py
maze_1.txt, maze_2.txt
maze_3.txt, maze_4.txt
Turtle Maze Calculation
Some help with the function
coordinateToMazePosition(x, y, cellSize = 20)
Solution
F March 29 Good Friday - No Class - Yay!

Week 12
M April 1 Week 12 Readings Easter Monday - No Class - Yay!
W April 3 Lecture 32 - Internet and Big Data - pdf,
recording (passcode: CMPT120)
LinearSearch.py
 
F April 5 Lecture 33 - Internet and Big Data - pdf,
recording - Unfortunately, no recording today!
Here is a visualizer!

Week 13
M April 8 Week 13 Readings Lecture 34 - Internet and Big Data - pdf,
recording (passcode: CMPT120)
 
W April 10 Lecture 35 - Internet and Big Data - pdf,
recording (passcode: CMPT120)
 
F April 12 Lecture 36 - Practice Exam #10
Bring pens, pencils and paper!
pdf, Solution - Partial solution: solution to Part 1.

Week 14 and Week 15
Sa April 20 Final Exam - Saturday April 20 from 19:00 to 22:00
in RCB Images Theatre
Information about our Final Exam
To read before our Final Exam!