Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Any help is appreciated , I am working on a practice review for my class. 37. A paradigm that allows specification of what has to

image text in transcribed
Any help is appreciated , I am working on a practice review for my class.
37. A paradigm that allows specification of what has to be computed rather than just how a computation is to be carried out. E. Non-procedural A. Imperative C. Logical F. Object-oriented B. Functional D. Denotational 38. A paradigm incorporating encapsulation. Inheritance and dynamic type binding E. Non-procedural A. Imperative C. Constraint F. Denotational B. Functional D. Object-oriented 39. How would you write the following as a Prolog clause: lfsky is blue, everyone likes sky. C. sky (blue):- everyone (likes). A- likes(X, sky) blue(sky). D. likes(sky, everyone bluelsky). B. blue(sky), likes(x). 40. What would be the English meaning of the following prolog cause: owner(jack, cat(X):-furlo),spots(X). C. jack is the owner of x or jack is the owner of fur an A jack is an owner of cat and fur and spots. D. B & C both. B. jack is the owner of some cat if that cat has fur and spots. 41 For following Prolog program what will be the solution of query: luckylxp. healthy (jon). man(jon). wealthy (jon) woman(jena) luckyp) healthy (X), wealthy(X). healthy (jena) C. X jon. A X jena, jon. D. false. B. X jena. 42. For below Prolog program what will be the solution of: cotm. horn(toby) fur(coby) cat(Y) not(horn(Y), fur(Y). fur(toby). (hint query succeeds, only if all the subgoals succeeds) C, true A. coby D, false B. toby

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions