Skip to content
ExamRizzInterview readingReading
Leave

STEM · Computer Science · Leading Academic Figures

Save

John McCarthy

Institution: MIT, Stanford

Breakthrough Contributions: Coined "Artificial Intelligence" (1956), invented Lisp programming language (1958)—first language with garbage collection, first-class functions, symbolic processing. Proposed time-sharing systems. Developed logical AI approach (representing knowledge in logic, reasoning with inference rules). McCarthy's influence on AI, PL design, and interactive computing is profound.

Questions to think through

  1. Understand Lisp: Lisp represents code as data (s-expressions). `(+ 2 3)` is both code and data structure. This enables metaprogramming: code that manipulates code. Explain: (a) how macros work (transform code before execution) (b) why garbage collection is necessary (automatic memory management for symbolic processing) (c) how first-class functions enable functional programming. Write simple Lisp: `(define factorial (lambda (n) (if (= n 0) 1 (* n (factorial (- n 1))))))`.

    explain
  2. Apply logical AI: McCarthy advocated "advice taker"—system with knowledge in logical form, accepting new knowledge and answering queries via inference. Represent facts: `parent(john, mary)`, `parent(mary, sue)`. Rule: `ancestor(X, Z) :- parent(X, Y), ancestor(Y, Z)`. Query: `ancestor(john, sue)`? Inference proves this. Explain: (a) why logic is attractive (formal semantics, sound inference) (b) limitations (computational cost, difficulty encoding common sense, brittleness). How does this differ from modern statistical AI?

    explain

John McCarthy · Artificial Intelligence · Lisp · Garbage Collection · Logical AI · Symbolic Processing