Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

8. In prolog, which is the correct translation of the statement Jane likes sweets - a. likes(Jane.sweets). b. Jane(likes.sweets). c. sweets(Jane, likes). d. Jane(sweetsalikes). e

image text in transcribed
image text in transcribed
image text in transcribed
8. In prolog, which is the correct translation of the statement Jane likes sweets - a. likes(Jane.sweets). b. Jane(likes.sweets). c. sweets(Jane, likes). d. Jane(sweetsalikes). e none of the above 9. In object Oriented Language, Polymorphism means: a. Object having different colors b. Object having different addresses c. Object having different names d. Object having different parents none of the above e. 10. In object Onented Language, which of the following best describes inheritance? a. Object gets methods and data members of a parent b. Object gets only methods of a parent C. Object gets only data members of a parent d Object gets only names of parents none of the above e. 15. What is the output for the given Lisp program? (defun myfun(L) (car (cdr L))) (myfun a b c d)) a a b. d C. b d. c e. none of the above 6. What is the output for the given Lisp program? (defin myfun(L) (plus (car L) (car (cdr L)))) (myfun '(1 2 3 4)) a. 7 b. 5 c. 6 d. 3 e. none of the above

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

Understanding Oracle APEX 5 Application Development

Authors: Edward Sciore

2nd Edition

1484209893, 9781484209899

More Books

Students also viewed these Databases questions