CSC121H Winter 2018: Lectures

Lectures

Lecture slides and content for each week can be found on this page.

NOTE: All of the worksheets used in class, as well as the R programs demonstrated, will be uploaded here after class each week.


  Week of     Topics/Worksheets   Lecture Material (MWF @ 12pm)
Jan. 4
(Week 0)
  • Introduction
  M       
  W       
  F  
  • Welcome to CSC121! First lecture on Jan. 5th.
Jan. 8
(Week 1)
  • Introduction to R  
  • Expressions and Variables   
  • Using functions
  M  
  W  
  F  
Jan. 15
(Week 2)
  • R Scripts   
  • Function Definitions   
  M  
  W  
  F  
Jan. 22
(Week 3)
  • Vector Manipulation   
  • Logical Values   
  • If statements   
  M  
  • Vector Manipulation and Logical Values: R Console (txt)
  W  
  F  
Jan. 29
(Week 4)
  • Strings   
  • Loops   
  • Using the Debugger   
  M  
  W  
  F  
Feb. 5
(Week 5)
  • More While Loops   
  • Lists   
  M  
  W  
  F  
Feb. 12
(Week 6)
  • List Manipulation  
  • Dictionaries (named lists)   
  • Reading files line-by-line   
  M  
  • Quiz 1
  W  
  F  
Feb. 19
Reading Week: No Lectures or Labs
Feb. 26
(Week 7)
  • Matrices  
  M  
  W  
  • No lecture notes.
  F  
Mar. 5
(Week 8)
  • Plotting Graphs  
  • Data Sets  
  M  
  W  
  F  
Mar. 12
(Week 9)
  • Random Numbers  
  • Classes  
  • Factors  
  M  
  W  
  F  
Mar. 19
(Week 10)
  • Classes  
  • Tables  
  • More plotting in R  
  M  
    Quiz 2
  W  
  • Review of Classes, same code as last Friday: classes.R (R)
  F  
Mar. 26
(Week 11)
  • More graphing  
  • Recursion  
  M  
  W  
  F  
  • Good Friday - no lecture
Apr. 2
(Week 12)
  • Runtime complexity  
  • Sorting Algorithms  
  M  
  W  
  F