What is the output of the following statement?
* (setf p .6)
* (cond ((> p .75) ‘very-likely)((> p .5) ‘likely)((> p .25) ‘unlikely)(t ‘very-unlikely))
a) Very-likely
b) Likely
c) Unlikely
d) Very-unlikely



What is the output of the following statement? * (setf p .6) * (cond ((> p .75) ‘very-lik..

Answer / chaitanya

b

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AI Languages Interview Questions

 What is the output of the following statement? * (first ‘( p h w)) a) P b) H c) W d) phw

1 Answers  


 Explain what is SWI-Prolog?

1 Answers  


 How the clause is called if it contains a test, as well as zero or more additional forms in LISP? a) Conditional b) Consequents c) Clause d) None of the mentioned

1 Answers  


 Which is the primitive that creates new structure types in LISP? a) Defnum b) Deftype c) Defstruct d) None of the mentioned

1 Answers  


Mention what is the difference between Prolog and normal programming language?

1 Answers  






What is a data type in which expressions are stored in places identified by integer indexes in LISP? a) Structure b) List c) Array d) None of the mentioned

1 Answers  


Which enables storage in procedurally indexed places in LISP? a) Defstruct b) Object c) Structure d) None of the mentioned

1 Answers  


 Which is a procedures supplied by user in terms of primitives? a) Custom b) User-defined c) Definite d) All of the mentioned

1 Answers  


Explain what is LISP? Give an example of some of the popular applications built in LISP?

1 Answers  


 Which hides details behind abstraction boundaries? a) Procedures b) Procedure abstraction c) Recursion d) Both a & b

1 Answers  


 What is the programming structure for LISP?

1 Answers  


Which makes it possible to define generic functions? a) Lisp b) CLOS c) Class d) Object-Oriented programming

1 Answers  


Categories