CS 212, AI Programming 1

Overview of AI

Contents

What is AI?

John McCarthy and the Dartmouth Workshop

John McCarthy was a mathematics professor at Dartmouth College who coined the term Artificial Intelligence.

McCarthy’s Definition of AI

Classical Symbolic AI (GOFAI)

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).

A Modern Definition

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.

Analysis of the modern definition

This definition raises the bar by implying that machine learning is an essential part of AI.

  1. 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?

  2. 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.

Categories of AI

For the purposes of this class, we will categorize the different approaches to AI as:

What We’ll Cover in this Course

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


Creative Commons License 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.

  1. Dartmouth workshop—Wikipedia ↩

  2. What is AI? / Basic Questions—Professor John McCarthy, Stanford ↩

  3. GOFAI—Wikipedia ↩

  4. Artificial Intelligence: The Very Idea, John Haugeland, 1989, MIT Press. ↩

  5. National Artificial Intelligence Initiative Act of 2020 ↩