Suppose you are writing software for a radio station that manages its playlists.
ID: 3731489 • Letter: S
Question
Suppose you are writing software for a radio station that manages its playlists. The program will generate candidate playlists from a record library automatically and station personnel can then check and modify them. Disc jockeys must also be able to change playlists when they are used because what is actually played is often different from what is planned. The playlists are then used to generate reports for paying royalties. You must decide what sort of data structure to use to store playlists. Make a choice and write a design rationale. Your rationale should explain the factors that went into your decision, the design alternatives you considered, your evaluation of design decisions, and the reasoning for your final choice.
Explanation / Answer
ANSWER:
Playlist {
String name;
List song list;
Boolean played;
Int no-of-times-played;
}
Songs {
String name;
Int length; in seconds
String genrete;
}
List songs , song name , add song , play song
Map <playlist;<songs>>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.