CS 2000 - Fall 2026.
[Home]
Welcome to CS 2000! 9/4/2026
Video of the Day
Python: Trailer from Socratica
Python: Hello World from Socratica
Image of the Day
(See Wednesday's logical problem.)
Also, story behind the python antigravity module.
Logical problem of the day: 12, 6, 3, 10, 5, ...
What is the next number in the above series?
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 1: Python.
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].
Demo staff solution on zoo in class.
Familiarize yourself with accessing the Zoo computers
using the
Slade's Guide to the Zoo.
(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
Poorvu STEM Navigators Program.
Yale Digital Ethics Center
Yale Information Society Project See this week's events.
Let us know if you have an upcoming event you would like to
share with the class.
Clarity
Yale provides free access to three large language models:
OpenAI's
ChatGPT, Anthropic's Claude, and Google's Gemini.
See Clarity. I suggest that use these models as a study aid, e.g., to come up with sample exam practice questions.
Collatz Conjecture
Want to win a Fields Medal? Solve the
Collatz Conjecture! (aka, Kakutani's Problem).
We define a function collatz(n) (where n is an
arbitrary positive integer) which behaves as follows:
- If n is even, return n/2.
- If n is odd, return 3n + 1.
Next, let's define a sequence of Collatz numbers, such that the output
of each call becomes the input of the next, unless and until you
arrive at 1. The conjecture part is to prove that this series will
always converge to 1.
We now turn to some python code that implements Collatz
collatz.py
Getting to know Python
Introduction.html (jupyter) Python
Getting to know UNIX
UNIX Introduction
Sample UNIX exam question. Specify the XXXX commands.
[Home]