CS 2000 - Fall 2025.


[Home]

Welcome to CS 2000! 9/8/2025

Video of the Day

Python: Strings from Socratica [Note: bad link in Strings lecture notes.]

Python: Numbers from Socratica

Python: lambda expressions from Socratica

Python: list comprehensions from Socratica

Logical problem of the day

A father is 21 years older than his child. In exactly 6 years from now, the father will be exactly 5 times as old as the child.

Where's the mother?

https://pollev.com/slade You may also download the app to your phone. Use the "slade" poll id.

Canvas Quiz of the Day (need daily password)

Most days, there will be a simple canvas quiz related to the lecture. You need a password to activate the quiz, which I will provide in class. These quizzes will count toward your class participation grade. The quiz is available only during class.

Click for today's quiz.

Note: the collaboration quiz is separate. It coincides with the first homework assignment.

Lecture 3: Python.

Administrivia

  • I have office hours Wednesdays from 4-6 pm, on zoom, id 459 434 2854.

  • Starting next week, I will be available for lunch on Mondays at 1 pm in Morse.

  • ULA office hours are found at Ed Discussions on Canvas. Note that Christian Choi is our newest ULA.

  • Homework assignments: [Assignments]. hw1 is now available. Note: there is a list of provisional due dates for all assignments.

  • I have received inquiries about the date of the final exam. Yale College sets the schedule to avoid conflicts. We should know with a few weeks.

    If you're thinking of taking CPSC 2000, please do the following.

  • Complete this online Student Information form.
  • Get a course account for CPSC 2000 on the Zoo. When you register for this class, your course account should be created within one hour or so of signing up.
  • Start the homework assignment: [Assignments].
  • Familiarize yourself with the Zoo computers See Slade's Guide to the CS Zoo, which will get you started. (It now includes section on transferring files.) We have started discussing UNIX in class.
  • (Optional.) Download and install Python on your computer (Python) and familiarize yourself with it. If you don't want to install and run Python on your machine, you may run it in person or remotely using your Zoo account.

    Note that there are two current versions of Python: 2 and 3, which are not quite compatible. We suggest that you opt for version 3.

    Announcements

  • Yale Information Society Project See this week's events.

  • Recruiting participants for a robotics human-agent interaction study in the lab of Prof. Marynel Vázquez. flyer You get $10 for 30 minutes. Possibly more.

  • CS Peer Advisers. Elizabeth Schaefer. (Part of DSAC.)

    Getting to know Python

    Python IDE's - Integrated Development Environments

    You need to be able to write, edit, and debug python code. I use the emacs editor. See Emacs.

    Students in this class typically go another route. These options include:

    More introduction

    Jupyter notebooks are an example of Literate Programming.

    Introduction.html (jupyter) Python - dir()

    Strings.html (jupyter) Python

    Lists.html (jupyter) Python

    Getting to know UNIX

    UNIX Introduction Principle 2. (+ head, cat, JCL, punchcards)
    [Home]