Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

************PLEASE USE THE SCHEME(RACKET) LANGUAGE. DO NOT USE JAVA!!!****** 6. Design and implement a SCHEME object that represents a music library. Your music library should

************PLEASE USE THE SCHEME(RACKET) LANGUAGE. DO NOT USE JAVA!!!******

image text in transcribed

6. Design and implement a SCHEME object that represents a music library. Your music library should be able to store music track objects. You should be able to create a library by evaluating the make-music-library function which takes no parameters. Therefore, the music library starts with no tracks. Your music library object should expose the following functions add- which takes one parameter, a music track object, and stores it inside the library . find-by-artist which takes one string as a parameter, the artist's name, and returns a list of lists con taining the track title, artist, and album for all music track objects in the library which were recorded by the artist . find-by-title which takes one string as a parameter, the title of the music track(s) you wish to find, and returns a list of lists containing the track title, artist, and album for all music track objects in the library which share that title . find-by-album - which takes one string as a parameter, the title of an album, and returns a list of lists containing the track title, artist, and album for all music track objects in the library which were released as part of that album

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

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions

Question

03 Strategic planning process and implementation.

Answered: 1 week ago

Question

Compute the derivative f(x)=(x-a)(x-b)

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago