Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For problems 9-14, use the following two lists: LIST1 -> (I (really like) my (Artificial Intelligence) class) LIST2 -> ((but I) especially ((really) really like)

image text in transcribed

For problems 9-14, use the following two lists: LIST1 -> (I (really like) my (Artificial Intelligence) class) LIST2 -> ((but I) especially ((really) really like) LISP) 9. (5 pts.) How many elements does LISTI contain? (i.e. What is (length LIST1)?) 10. (5 pts.) Give the cons cell notation for LIST2. 11. (5 pts) What is the result of (cadr LIST1)? 12. (5 pts) What is the result of (cdddr LIST1)? 13. (5 pts) What is the result of (cddar LIST2)? 14. (5 pts) What is the result of (cadddr LIST2) ? For problems 9-14, use the following two lists: LIST1 -> (I (really like) my (Artificial Intelligence) class) LIST2 -> ((but I) especially ((really) really like) LISP) 9. (5 pts.) How many elements does LISTI contain? (i.e. What is (length LIST1)?) 10. (5 pts.) Give the cons cell notation for LIST2. 11. (5 pts) What is the result of (cadr LIST1)? 12. (5 pts) What is the result of (cdddr LIST1)? 13. (5 pts) What is the result of (cddar LIST2)? 14. (5 pts) What is the result of (cadddr LIST2)

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

Transactions On Large Scale Data And Knowledge Centered Systems Xxxviii Special Issue On Database And Expert Systems Applications Lncs 11250

Authors: Abdelkader Hameurlain ,Roland Wagner ,Sven Hartmann ,Hui Ma

1st Edition

3662583836, 978-3662583838

More Books

Students also viewed these Databases questions