The probability of getting a queen or a heart is P = 0.308
How to find the probability?
To find the probability we need to take the quotient between the outcomes that meet the condition and the total number of outcomes.
Here we have 52 cards, so there are 52 possible outcomes, and we want to find the probability of getting a queen or a heart, there are 13 heart cards, and there are 3 queens (there are 4 queens, but one of the queens is also a heart)
so 13 + 3 = 16 outcomes meet the condition, then the probability is:
P = 16/52 = 0.308