Question

If lst is equal to '(a (b c) (d)), what is (car (cdr lst)) equal to:...

If lst is equal to '(a (b c) (d)), what is (car (cdr lst)) equal to:

(Select multiple correct answers)

a.(cadr lst)

b.'(d)

c.'((b c) (d))

d.'(b c)

e. (cdar lst)

Homework Answers

Answer #1

a] (cadr lst) and e] (cdar lst)

car stands for the first element and cdr stands for the rest elements. So in the expression (car (cdr lst)), let's take the inside one (cdr lst). Here the elements except the first element of the list lst is obtained. That is cdr lst = a ( b c )( d )). Now car of this element is the first element that is "a". In the options (cadr lst) and (cdar lst) both are same and gives second element of the list lst as the output which is equal to "a".

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A multiple-choice test consists of 27 questions with possible answers of a, b, c, d, e,...
A multiple-choice test consists of 27 questions with possible answers of a, b, c, d, e, f. Estimate the probability that with random guessing, the number of correct answers is at least 8.
A number between 1 and 10 is chosen. Events A, B, C, and D are defined...
A number between 1 and 10 is chosen. Events A, B, C, and D are defined as follows. A: {The number is even} B: {The number is less than 7} C: {The number is less than or equal to 7} D: {The number is 5} Identify all events that are mutually exclusive. Select one: a. C and D b. None of the other answers c. A and B d. A and C e. B and D
The diagram below shows 6 vectors: a, b, c, d, e and f. Each side of...
The diagram below shows 6 vectors: a, b, c, d, e and f. Each side of a grid square represents a length of 3 m. Select two correct statements from the list. Select one or more: The bearing of the resultant vector a + c is 90o The resultant vector c + d + f is 36 m long at a bearing of 90o b and e are equal vectors The magnitudes of the resultant vectors c + d and...
Jimmy has a quiz today that is multiple choice (a, b, c, or d) with ten...
Jimmy has a quiz today that is multiple choice (a, b, c, or d) with ten questions, but he did not study, so he decides to randomly mark answers on his scantron without reading the questions. a) Why should the number of questions Jimmy gets correct on the quiz follow a binomial distribution, to wit, what are the requirements to use a binomial distribution and how are they met in this scenario? b) List the parameters that define this distribution...
In car racing competition, four car brands A, B, C, and D are competing with two...
In car racing competition, four car brands A, B, C, and D are competing with two cars each. Each of the cars from A, B, C have the same chance of winning, while each of D’s cars have twice the chance of winning. What is the probability of winning for the D brand?
         d          - a     b    c           +    e    Consider the...
         d          - a     b    c           +    e    Consider the arrangement of two fixed point charges, equal in magnitude, shown in the figure. Which of the following statements are correct for the initial motion of a third charge if it is released from rest in the vicinity of the two charges shown? (Correct or incorrect) A positive charge at point d will accelerate up. A negative charge at point b will accelerate down. A...
A multiple choice test consists of 23 questions with possible answers of a,b,c,d. Estimate the probability...
A multiple choice test consists of 23 questions with possible answers of a,b,c,d. Estimate the probability that with random guessing the number of correct answers is at least 11.
When making random guesses for difficult multiple choice test questions with possible answer of A,B,C,D, and...
When making random guesses for difficult multiple choice test questions with possible answer of A,B,C,D, and E. We expect to get 20% answers correct. A student uses another method of guessing and get 23% answers correct. There is a chance of 26% of getting such result if this method is as good as guessing. A) Does the method used by the student have statistical significant ? Explain. B) Does the method used by the student have practical significant ? Explain.
1.)You make random guesses for 10 multiple choice questions (options are a, b, c, d, or...
1.)You make random guesses for 10 multiple choice questions (options are a, b, c, d, or e) on a test, answer the following. What is the probability of getting none of the questions correct (Event G)? What is the probability of getting at least one of the questions correct? What is the complement of event G? (in words).
This question has multiple choice answers. The answer is either A, B, C, D or E....
This question has multiple choice answers. The answer is either A, B, C, D or E. Question: The price of a share of stock is currently $39. The following probability distribution shows how the price per share is expected to change over a 3-month period: Price Change ($)   Probability             -2                     0.05             -1                     0.10             0                    0.25             +1                    0.35             +2                    0.25 If you were to set up a table for random sampling from this distribution using VLOOKUP...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • 3. A fair coin is flipped 4 times. (a) What is the probability that the third...
    asked 10 minutes ago
  • An engineer wants to know if the mean strengths of three different concrete mix designs differ...
    asked 10 minutes ago
  • The National Football League (NFL) records a variety of performance data for individuals and teams. To...
    asked 20 minutes ago
  • Associated Strategies obtained significant influence over Cece Corporation by buying 30% of Cece’s 50,000 outstanding shares...
    asked 21 minutes ago
  • A survey of 25 randomly selected customers found the ages shown​ (in years). The mean is...
    asked 25 minutes ago
  • (1)         For this discussion, I would like for you to identify and describe two out of...
    asked 26 minutes ago
  • Determine the open intervals on which the graph is concave upward or concave downward. (Enter your...
    asked 27 minutes ago
  • 9- What is the most widely used technique for determining the best combination of debt and...
    asked 27 minutes ago
  • Katsumoto Inc. (Katsumoto) manufactures and sells collectible swords. Katsumoto currently operates at 80% of its 15,000-unit...
    asked 29 minutes ago
  • A researcher wishes to estimate the percentage of adults who support abolishing the penny. What size...
    asked 36 minutes ago
  • Discuss why the longer-term generation of positive free cash flow is important to the providers of...
    asked 41 minutes ago
  • The three main areas for memory in the brain involve the Hippocampus, the Basal Ganglia, and...
    asked 1 hour ago