logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

In this task you will extend the implementation of your Text Based Music Player.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

In this task you will extend the implementation of your Text Based Music Player. 

The grade achievable for this task (within the Pass range) is:

Your Text Based Music Application must have the following functionality:

Display a menu that offers the user the following options:

1. Read in Albums

2. Display Albums

3. Select an Album to play

4. Update an existing Album

5. Exit the application

Menu option 1 should prompt the user to enter a filename of a file that contains the following information:

•The number of albums 

•The first artist name

•The first album name

•The release date of the album

•The genre of the album

•The number of tracks 

•The name and file location (path) of each track.

•The album information for the remaining albums.

Menu option 2 should allow the user to either display all albums or all albums for a particular genre. The albums should be listed with a unique album number which can be used in Option 3 to select an album to play. The album number should serve the role of a ‘primary key’ for locating an album. But it is allocated internally by your program, not by the user. If the user chooses list by genre - list the available genres.

Menu option 3 should prompt the user to enter the primary key (or album number) for an album as listed using Menu option 2.If the album is found the program should list all the tracks for the album, along with track numbers. The user should then be prompted to enter a track number. If the track number exists, then the system should display the message “Playing track ” then the track name, “ from album ” then the album name. You may or may not call an external program to play the track, but if not the system should delay for several seconds before returning to the main menu. 

Menu option 4 should list the albums before allow the user to enter a unique album number and change its title or genre (list the genres in this case). The updated album should then be displayed to the user and the user prompted to press enter to return to the main menu (you do not need to update the file).

 

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

658 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

765 Answers

Hire Me
expert
Husnain SaeedComputer science

687 Answers

Hire Me
expert
Atharva PatilComputer science

992 Answers

Hire Me

Get Free Quote!

283 Experts Online