Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C++ Assignment 7 ITunes Objects Select one option from below. All (both) options are worth the same number of points. The more advanced option(s)
In C++
Assignment 7 ITunes Objects Select one option from below. All (both) options are worth the same number of points. The more advanced option(s) are provided for students who find the basic one too easy and want more of a challenge. Make sure you have read and understood . both modules A and B this week, and module 2R Lab Homework Requirements before submitting this assignment. Hand in only one program, please OPTION A (Basic) ITunes Understand the Application An ITunes entry in music library is a descriptor that summarizes information about the tune that it describes. (It is not the actual tune, which is contained in a large music data file.) For each ITunes entry in your own music library file (which is in XML format, but we won't go there) there are between 20 and 50 fields _ i.e., members. If you were to look at the file on your system, you would find that the fields have names like Genre, Track ID, Name, Artist, Bit Rate, Sample Rate, Track Type, and so on. We will consider a simplified ITunes class, that stores these ITunes entry objects, with only the following four members for each object: Name (the title of the song) Artist (the performing musician or group) Bit Rate (the number of kilobits per second that the ITunes object streams at or plays at -higher for better quality, lower for smaller data file ze Total Time (the playing time of the ITunes object, represented in milliseconds, i.e., 36500 would stand for 36.5 seconds) The assignment is to first create a class called ITunes that represents these four items, and provides solid protection for the fields. Then, the client, main), will instantiate between four or more ITunes objects (some using default constructors and some using parameter-taking constructors), display them immediately, mutate many of their fields, display them again to reflect the
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started