Question: 1. (20 points) Design a Drracket program that maintains a CD where each of CD is a structure of name, artist, genre, release year and

1. (20 points) Design a Drracket program that maintains a CD where each of CD is a structure of name, artist, genre, release year and price. Do a proper data definition (and also constructor, selector and predicator). Now, design and implement for the functions. A procedure that

2. (40 points) consumes a CD and a genre g, and produces the artist of CD whose genre is g. 3. (40 points) consumes a CD and a genre g and year, and produces the price of CD whose genre is g and year is y. Note: Ensure that your programs are fully documented, using comments.

Note: plz answer all question by dr racket program. Please attach a picture of the solution for dr racket program

1. (20 points) Design a Drracket program that maintains a CD where

1. (20 points) Design a Drracket program that maintains a CD where esch of CD is a structure of name, artist, genre, relense year and price. Do a proper data definition (and also constructor, selector and predicator). Now, design and implement for the functions. A procedure that 2. (40 points) consumes a CD and a genre g, and produces the artist of CD whose genre is g- 3. (40 points) consumes a CD and a genre g and year, and produces the price of CD whose genire is g and year is y. Note: Ensure that your programs are fully documented, using comments

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!