CS 212, AI Programming 1
John McCarthy was a mathematics professor at Dartmouth College who coined the term Artificial Intelligence.
He and his colleagues convened the Dartmouth Summer Research Project on Artificial Intelligence in 1956. 1
One of the major approaches to AI in the mid-twentieth century was to use rules and logic to make decisions. This approach was later labeled “Good Old Fashioned AI”(GOFAI)3 by John Haugeland4 , a professor at the University of Chicago.
In the GOFAI age, an algorithm was considered “AI” if it successfully used explicit rules (selection statements, look-up tables, etc.) to manipulate high-level, human-readable symbols like IF (animal has feathers) AND (animal can fly) THEN (animal is a bird).
From the United States National Artificial Intelligence Initiative Act of 20205:
The term “artificial intelligence” means a machine-based system that can, for a given set of human-defined objectives, make predictions, recommendations or decisions influencing real or virtual environments. Artificial intelligence systems use machine and human-based inputs to:
(A) perceive real and virtual environments;
(B) abstract such perceptions into models through analysis in an automated manner; and
(C) use model inference to formulate options for information or action.
This definition raises the bar by implying that machine learning is an essential part of AI.
It describes things that AI systems do:
Predict
Recommend
Decide
Q: Can you think of some examples of systems using AI that does one or more of these things?
It describes the way AI systems do it:
Perception, i.e. getting input. This input could be in the form of a file containing: text, an image, sound or other data. It could also be input from sensors or input devices: camera, microphone, temperature sensor, etc.
Abstract perception into models. This is what is usually called training a model.
Inference. This means running a program that uses the model to do something.
For the purposes of this class, we will categorize the different approaches to AI as:
Our main focus in this course will be on machine learning. But first we will review Python and write some simplified symbolic AI code.
Here is an outline of what we’ll cover:
Note: Parts of this document were drafted with assistance from Gemini 2.5 Flash
AI Programming 1 Course Materials by Brian Bird, written in 2025, revised in are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Dartmouth workshop—Wikipedia ↩
What is AI? / Basic Questions—Professor John McCarthy, Stanford ↩
Artificial Intelligence: The Very Idea, John Haugeland, 1989, MIT Press. ↩