Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

LO1 Explain how the workforce is changing in unpredicted ways.

Answered: 1 week ago

Question

LO6 List the components of job descriptions.

Answered: 1 week ago