Exam 4: Logic Programming
Exam 1: Introduction50 Questions
Exam 2: Language Design Criteria50 Questions
Exam 3: Functional Programming50 Questions
Exam 4: Logic Programming50 Questions
Exam 5: Object-Oriented Programming50 Questions
Exam 6: Syntax50 Questions
Exam 7: Basic Semantics50 Questions
Exam 8: Data Types50 Questions
Exam 9: Control I - Expressions and Statements50 Questions
Exam 10: Control II - Procedures and Environments50 Questions
Exam 11: Abstract Data Types and Modules50 Questions
Exam 12: Formal Semantics50 Questions
Exam 13: Parallel Programming51 Questions
Select questions type
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)
The statements a → b and b → c then a → c are an example of a typical inference rule.
(True/False)
4.8/5
(38)
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)
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)