Find the value of each of the lisp expressions

Assignment Help Business Management
Reference no: EM132083982

Please verify that I solve the this practice problem correctly. Thanks for the help

Suppose that L1 is the list (A (B C) (D)) and L2 is the list (D (F)). Find the value of each of the following LISP expressions:

(a) (CONS 9CAR L2) (CDR L1))

MY ANSWER IS:(CAR(D(F))(CDR(A(BC)(D))

(D(F))(CDR(A(BC)(D))

(b) (LIST (CONS L1 L2))

MY ANSWER IS: (CONS(A(BC)(D))(D(F))))

(A(BC)(D(D)F))

(c) (CDR (LIST L1 'E L2))

MY ANSWER IS: (A(BC)(D)) E (D(F))

Reference no: EM132083982

Questions Cloud

How much of each product should be produced : Product A has a contribution margin per unit of $500 and a required 2 hours of machine time. How much of each product should be produced
Defend your strategy to successfully compete against market : Defend your plan to differentiate yourself from the competition using the information detailed on the worksheet in the text (p. 131 | Market Share Distribution)
Charging what the market will bear : A manager at a payday loan and check cashing business defends his company’s business practice as simply “charging what the market will bear.”
Internet exploitation and primary federal law : Two online traps that have the most adverse impact on children are obscenity and cyberbullying.
Find the value of each of the lisp expressions : Suppose that L1 is the list (A (B C) (D)) and L2 is the list (D (F)). Find the value of each of the following LISP expressions:
How does perception affect communication : How does perception affect communication? What are the barriers to effective communication in the case and how can communicattion be improved?
How does the internet play a role in supply chain : What is the roll of supply chain integration in business? How does the Internet play a role in supply chain?
Identify potential reasons that might drive higher npv : Explain how the decision of the Federal Reserve Bank (Fed) to raise interest rates would be expected to affect each component.
Why is transportation important to supply chain management : Why is transportation important to supply chain management? How does forecasting play a part in a successful supply chain management program?

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd