Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Any help is appreciated , I am working on a practice review for my class. 37. A

ID: 3840965 • Letter: A

Question

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

Explanation / Answer

37. e. non-procedural
38. d. object oriented
39. A. likes(X,sky) - blue(sky)
40. B. jack is the owner of some cat if that cat has fur and spots.
41. C. X=jon
42. d. false

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote