Question: Question 2 1 What will this mystery form do ? ( define mystery Clambda ( x ) ( if ( null ? ( cdr x

Question 21
What will this mystery form do?
(define mystery Clambda (x)(if (null?(cdr x))
O
(append (list (car x))(mystery cdr x))
(mystery''(12
Nothing! All it does is reassemble the list in order
It will reverse the list
It will do a reverse (cdr ...), returning the front of the list as a list without the last element.
It will create a list with every other element of the passed in list
Question 2 1 What will this mystery form do ? (

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 Programming Questions!