Question
What is the return value of the following function application: (car (cdr (a (b c))))? b (b c) ((b c)) None of the above What
What is the return value of the following function application:
(car (cdr (a (b c))))?
b
(b c)
((b c))
None of the above
What is the return value of the following function application:
(quote (quote ( + 1 2))) ?
3
quote
' ( + 1 2)
None of the above
What is the return value of the following function application:
(and 1 #t 2) ?
#t
()
1
2
What is the return value of the following function application:
(or 1 2)?
#t
#f
1
2
What is the return value of the following function application:
(cdr (list 'a '(b)))?
b
(b)
( ( b) )
( )
What is the return value of the following function application:
(if (car '(a b)) (list) (+)) ?
error
0
( )
a
What is the return value of the following function application:
(cond (#f 1 )(#t 2)(else 3))
1
2
3
error
What is the return value of the following function application:
((lambda (x) (/ (+ x 1) ( - x 1))) 3) ?
3
4
2
1
What is the return value of the following function application:
((car (cdr (list + - * /))) 15 3) ?
18
12
5
45
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started