Final answer:
The probability that a hard-rock song is playing when you turn on the radio, with 7 hard-rock songs in a 20-song sequence, is 7/20, which is answer A.
Step-by-step explanation:
The question asks: What is the probability that when you turn on the radio, a hard-rock song will be playing? Given a 20-song sequence made up of 8 soft-rock, 7 hard-rock, and 5 rap songs, we calculate the probability of a hard-rock song being played by dividing the number of hard-rock songs by the total number of songs.
Probability of a hard-rock song playing = Number of hard-rock songs / Total number of songs
= 7 hard-rock songs / 20 total songs
= 7/20
Therefore, the correct answer is A) 7/20.