Exam 4: Logic Programming

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In predicate calculus,arguments to predicates and functions can only be terms - that is,combinations of ____.

(Multiple Choice)
4.8/5
(39)

Logic programming systems are sometimes referred to as ____.

(Multiple Choice)
4.8/5
(35)

Programs known as automatic deduction systems ____.

(Multiple Choice)
4.8/5
(39)

The statements a → b and b → c then a → c are an example of a typical inference rule.

(True/False)
4.8/5
(38)

The process of unification can be used to shorten clauses.

(True/False)
4.9/5
(34)

Prolog applies resolution in a strictly linear fashion,replacing goals from left to right.

(True/False)
4.8/5
(30)

____ takes the perspective that a program describes what the solution to a problem is,not how that problem is solved.

(Multiple Choice)
4.8/5
(44)

The kind of logic used in logic programming is lambda calculus.

(True/False)
4.9/5
(31)

Theorems are derived from axioms.

(True/False)
4.9/5
(44)

Resolution is an especially inefficient inference rule for Horn clauses.

(True/False)
4.9/5
(32)

____ are statements that are assumed to be true and from which other true statements can be proved.

(Multiple Choice)
4.8/5
(33)

Horn clauses of the form →b are sometimes referred to as ____.

(Multiple Choice)
4.7/5
(33)

The ____ quantifier represents all things in the universe named by the variable.

(Multiple Choice)
4.7/5
(40)

An example of a Horn clause is a₁ and a₂ and a₃ →b.

(True/False)
4.7/5
(36)

Statements that can be derived from the logic program are known as queries or goals.

(True/False)
4.9/5
(34)

Prolog is vulnerable to infinite loops because it uses a depth-first search.

(True/False)
4.7/5
(31)

Prolog completely satisfies the original goal of logic programming.

(True/False)
4.8/5
(30)

Most logic programming systems restrict themselves to a particular subset of predicate calculus called ____.

(Multiple Choice)
4.8/5
(36)

Variables set equal to patterns are said to be ____.

(Multiple Choice)
4.8/5
(30)

A variable introduced by a quantifier is said to be free and not bound by the quantifier

(True/False)
4.9/5
(32)
Showing 21 - 40 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)