CS 200 - Fall 2023. 11/08/2023.
[Home]
Welcome to CS 200!
Video of the day
SQL Socratica.
I hereby solicit suggestions for the video of the day. Please email
me your ideas with explanations. Selected entries will win 5
homework points. If your video is played at the beginning of class,
you must also briefly explain something about the video and
something about yourself - in person.
Logical Problem of the day
The 1975 edition of the American Heritage Dictionary contains a
definition of the word "anticlimax" (or "bathos"). What do the editors
provide as an example?
https://pollev.com/slade
You may also download the app to your phone. Use the "slade" poll id.
Lecture 19: Midterm Review.
Administrivia
I have
Office hours via zoom, meeting ID
459 434 2854. Wednesday 4-6pm.
ULA office hours posted on
csofficehours.org. See the posting on Ed Discussions for more information.
Homework assignments:
[Assignments]. hw6 is available. hw5 extension to Monday November 13th.
You will submit with gradescope.
Book recommendations: You are not expected to understand this Online copy from the Yale Library. Tells lots of stories
about computer science. Very easy to read.
The Ethics of AI, by Luciano Floridi. See online book at Yale.
Kollected
Kode Vicious, George Neville-Neil. Inciteful and
practical programming advice, from column in CACM. (George
is now a PhD student in Yale CS Department.)
Midterm Exam II: Thursday November 9th, 7pm
Midterm exam Thursday November 9th, 7pm, WLH 207.
As with the first midterm, the accessibility exam room will be WLH 211.
The second midterm will similar to the first. You will have 2 hours.
Here is a sample midterm exam. (solutions)
There will also be a question on data structures. For decorators,
there will be a wraps question.
There will be a UNIX question, as in the first midterm. Here is a
sample UNIX transcript
(solutions)
UNIX will cover through principle 4.
The CS 201 midterm
review slides cover UNIX.
Practice decorator question: write a decorator retry() that repeatedly calls
the decorated function as long as it raises an exception.
@retry
def roll_sixes():
number = random.randint(1,6)
if number != 6:
raise ValueError(number)
return number
See retry.py
Decorators.html
Exceptions.html
PVM.html
UNIX Introduction Principles 3 and 4.
Databases and SQL
SQL notebook
Getting to know UNIX
UNIX Introduction Principle 6.
[Home]