Stanford Root

Schedule

Stanford Root

Schedule

CS 151

Logic Programming

UNITS:3
GRADING:Letter or Credit/No Credit
LEVEL:Undergrad
GER:—

Logic Programming is a style of programming based on symbolic logic. In writing a logic program, the programmer describes the application area of the program (as a set of logical sentences) without reference to the internal data structures or operations of the system executing the program. In this regard, a logic program is more of a specification than an implementation; and logic programs are often called runnable specifications. This course introduces basic logic programming theory, current technology, and examples of common applications, notably deductive databases, logical spreadsheets, enterprise management, computational law, and game playing. Work in the course takes the form of readings and exercises, weekly programming assignments, and a term-long project. Prerequisite: CS 106B or equivalent.

Syllabus for selected term:
View Spring 2027 Syllabus

Sections

1 Term
Lecture 1Open
ID: 6390
0 / 43 enrolled
DAYS:Tuesday, Thursday
TIME:1:30 PM – 2:50 PM
LOCATION:TBD
INSTRUCTOR:
Kant, Manav, Genesereth, Michael
3units

CS 151: Logic Programming

3 units · Letter or Credit/No Credit

Logic Programming is a style of programming based on symbolic logic. In writing a logic program, the programmer describes the application area of the program (as a set of logical sentences) without reference to the internal data structures or operations of the system executing the program. In this regard, a logic program is more of a specification than an implementation; and logic programs are often called runnable specifications. This course introduces basic logic programming theory, current technology, and examples of common applications, notably deductive databases, logical spreadsheets, enterprise management, computational law, and game playing. Work in the course takes the form of readings and exercises, weekly programming assignments, and a term-long project. Prerequisite: CS 106B or equivalent.

Offered in Spring 2027 at Stanford University.

Spring 2027 sections

  • Lecture — Tuesday Thursday 1:30 PM – 2:50 PM — Kant, Manav, Genesereth, Michael (Undergrad)

More CS courses

  • CS 146J: Full-Stack Web Programming
  • CS 146S: The Modern Software Developer
  • CS 147: Introduction to Human-Computer Interaction Design
  • CS 147L: Cross-platform Mobile App Development
  • CS 148: Introduction to Computer Graphics and Imaging
  • CS 149: Parallel Computing
  • CS 152: Trust and Safety (COMM 122, INTLPOL 267)
  • CS 153: Frontier Systems
  • CS 154: Introduction to the Theory of Computation
  • CS 155: Computer and Network Security
  • CS 157: Computational Logic
  • CS 161: Design and Analysis of Algorithms

All CS courses · All departments