[SOLVED] CPT120 Independent Investigation Effort 10

24.99 $

Category:

Description

Rate this product

Introduction To Programming

  1. Check any available feedback of your previous submissions and if you have any unresolved questions or if you need further feedback, post the relevant parts of your submitted work in a new post under Canvas→Discussions→Tutorial discussions and ask from your tutor. E.g. you can ask “Gayan showed _____ but I did mine like ______, so which is the better approach and why?”, etc. Please note that the university requires teaching to be conducted in an equitable manner so please only use email for matters such as special consideration.
  2. Follow the materials under Canvas→ Modules→We ek  10
    • With the help of your group tutor via the forums, modify the object oriented (OO) version of the MusicLibrary so that it reads song data from a file.

You can create a plain text file named ‘songs.csv’ where each song’s data are stored in the following format on separate lines:

<song title>,<song location>

Where <song title> is a particular Song object’s title and <song location> is that same Song object’s location.

To achieve this, create a method named ‘loadSongs’ where you read songs.csv one line at a time and create new Song objects as you go. Think of an appropriate way to invoke/call this method and do so.

  • With the help of your group tutor, create a method named ‘saveSongs’ which will save all of the Song objects in the format given in

5.1 above, to the ‘songs.csv’ file. Find out if you would overwrite the file or if you would update the file.

5.3. (Optional) Do the same for Renovation Project Manager.

  1. If you have not submitted your final version of A3, add comments explaining your plan. Note that this will not be marked but it is to help you progress.

Page 1 of 2

Having trouble with usernames, passwords, access, etc.? Please call the RMIT IT Service and Support Centre for quick help on 03-9925 8888 and remember to ask for a reference number and pass it on to your instructor.
Need extensions or special consideration? Please follow details and process below:

https://www.rmit.edu.au/students/student-essentials/assessment-and-exams/assessment/special-consideration

Page 2 of 2