1.

In LISP, what is the function assigns the symbol x to y?(a) (setq y x)(b) (set y = ‘x’)(c) (setq y = ‘x’)(d) (setq y ‘x’)The question was asked during an online exam.The origin of the question is LISP Programming in chapter LISP Programming of Artificial Intelligence

Answer»

The correct option is (d) (SETQ y ‘X’)

To EXPLAIN I WOULD say: None.



Discussion

No Comment Found

Related InterviewSolutions