Suppose you are writing software for a radio station that manages its playlists.
ID: 3731491 • 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
Q1. You must decide what sort of data structure to use to store playlists? Make a choice and write a design rationale.
DataStructure used will be a Map. It will have the form of this type:- Map<String genre, List<MusicItems>>.
Map<String genre, List<MusicItems>> playListMap = new Map<String genre, List<MusicItems>>();
Q2. Your rationale should explain the factors that went into your decision?
Q3. The design alternatives you considered? - Array[MusicItems]
Q4. Your evaluation of design decisions, and the reasoning for your final choice.
Please let me know in case of any clarifications required. Thanks!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.