A function allows a user to input a music genre of their choice (classical, rock, country, etc.). Then, it chooses a song in that genre from a list. Finally, it plays the song three times. Which programming constructs will this function use?
1: Selection for choosing the song and iteration for playing it three times
2: Sequence for choosing the song and selection for playing it three times
3: Sequence for choosing the song and iteration for playing it three times
4: Iteration for choosing the song and selection for playing it three times

Q&A Education