I need help in preparing a the pseudo code and a flow chart following the process below. 1. Start/Begin 2. Access the digital music library (collection) 3. Sort the songs collection by category (example: Rock, Pop, Country, Hip hop etc.) // for the sake of this problem we are only considering the Song category Pop 4. Sort the Pop songs (an array of pop songs) 5. Eliminate the duplicate songs out of the list (eliminate duplicate element in the array) 6. Sort the new Song list (an array of pop songs) 7. Eliminate songs whose duration is not a whole number (an array of pop songs whose duration is not whole number) 8. Sort the Song list alphabetically (an array of pop songs) 9. Name the list of songs as My_playlist 10. Eliminate the songs in the list to restrict the whole duration of the playlist is not less than 60 mins and greater than 70 mins (sum the duration of the elements of the array not exceeding 60 mins and greater than 70). 11. End/Stop Question 1 Illustrate your solution to the above problem using pseudo code. Be sure to organize the algorithm to work in the most logical and efficient manner possible. Question 2 Draw a flowchart to illustrate the pseudo code process (use proper flowchart components/symbols). Remember, this should be easy to understand by non-technical people
I need help in preparing a the pseudo code and a flow chart following the process below.
1. Start/Begin
2. Access the digital music library (collection)
3. Sort the songs collection by category (example: Rock, Pop, Country, Hip hop etc.)
// for the sake of this problem we are only considering the Song category Pop
4. Sort the Pop songs (an array of pop songs)
5. Eliminate the duplicate songs out of the list (eliminate duplicate element in the array)
6. Sort the new Song list (an array of pop songs)
7. Eliminate songs whose duration is not a whole number (an array of pop songs whose duration is not whole number)
8. Sort the Song list alphabetically (an array of pop songs)
9. Name the list of songs as My_playlist
10. Eliminate the songs in the list to restrict the whole duration of the playlist is not less than 60 mins and greater than 70 mins (sum the duration of the elements of the array not exceeding 60 mins and greater than 70).
11. End/Stop
Question 1
Illustrate your solution to the above problem using pseudo code. Be sure to organize the
Question 2
Draw a flowchart to illustrate the pseudo code process (use proper flowchart components/symbols). Remember, this should be easy to understand by non-technical people.
Step by step
Solved in 2 steps with 2 images