+1 vote
in Artificial Intelligence by
In LISP, the function returns t if <integer> is even and nil otherwise ___________

(a) (evenp <integer>)

(b) (even <integer>)

(c) (numeven <integer>)

(d) (numnevenp <integer>)

I have been asked this question in my homework.

This intriguing question originated from Expert Systems topic in section Uncertain Knowledge and Reasoning of Artificial Intelligence

Select the correct answer from above options

Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

1 Answer

0 votes
by
Correct option is (a) (evenp <integer>)

For explanation I would say: None.

Related questions

+2 votes
asked Oct 22, 2021 in Artificial Intelligence by DavidAnderson
+1 vote
asked Oct 23, 2021 in Artificial Intelligence by DavidAnderson
...