Question: Lisp & Prolog, Choose the correct one. please solve it ASAP Arkusz1 (append '(a b) '(c)) (nconc'(a b) '(c)) (rplaca (ABC)'A) (rplacd (ABC)'A) Which forms

Lisp & Prolog, Choose the correct one. please solve it ASAP

Lisp & Prolog, Choose the correct one. please solve it ASAP Arkusz1

Arkusz1 (append '(a b) '(c)) (nconc'(a b) '(c)) (rplaca (ABC)'A) (rplacd (ABC)'A) Which forms are proper (defun foo (a b &optional c d &rest e) (print a) (print b) (print c) (print d) (print e)) 9 (foo 1) (foo 1 2) (foo) (foo '(1 2 3 4)) (foo 1 2 3 4 5 6 ) 10 Which forms are not proper THRU 9" "NUMBER OUT OF RANGE ** YOU ENTERED"x) error (error" X) ) (error) (error"" 5) Which forms are proper (defun when-plusp-with-bug (number result) (if (plusp number) result)) 11 (when-plusp-with-bug x (print 'ALARM)) (when-plusp-with-bug x) (when-plusp-with-bug (print 'ALARM)) Which forms give result (a 12 c) 12 (a @(list 1 2)c) a(+12) c) (append (lista) (list 1 2)(list 'c)) (a (+ 1 2) c) YVITICIT TOITTIS yive result TUU. (defmacro Square-Sum (XY) "(let* ((First X) (Second,Y) (Sum (+ First Second)>> (*Sum Sum)) ) 13 (let ((First 9)) (Square-Sum 1 First)) (Square-Sum 46) Strona 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!