CS 2000 - Fall 2025.
[Home]
Welcome to CS 2000! 8/29/2025
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.
Administrivia
I have office hours Wednesdays from 4-6 pm, on zoom, id 459 434 2854.
In the coming weeks, I will be available for lunch on Mondays at 1 pm in Morse. Stay tuned.
ULA office hours are found at
Ed Discussions on Canvas
Homework assignments:
[Assignments]. hw0 is now
available. Note: I will list provisional due dates for all assignments.
The name of your homework file submitted to gradescope must be exactly the same as the
assignment file, e.g., hw0.py, hw1.py. Otherwise, zippo.
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 reading assignment:
[Assignments]. Demo hw0.py (hw0a.pyc)
Familiarize yourself with the Zoo computers
on your own using the
Zoo tutorial, Spring 2014 edition.
(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.
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
[Home]