Introduction to Computer Science

About this course

A course taught in the Dept. of Computer Science at UC Santa Barbara.

This site is maintained in this github repo: https://github.com/ucsb-cs8/ucsb-cs8.github.io. If you are a CS department faculty member or TA that should have access to this page, contact Phill Conrad to request permission.

Past offerings of CS8:


Python Topics

  • Anaconda—An alternative Python installation that incorporates many features for scientific computing
  • assignment statements—giving a value to a variable, e.g. x=5
  • float—the data type that represents real numbers
  • MacOS—Using Python on MacOS
  • main blocks—All about that crazy looking `if __name__=="__main__":` thing that you see in some Python code
  • pytest—Unit Testing with the pytest module
  • Python 2 vs. Python 3—Understanding the difference and why it matters
  • Turtle Graphics—Some basics about turtle graphics

Other Topics