Question: are pdf and pmf the same?
Answer: In summary, the PMF is used when the solution that you need to come up with would range within numbers of discrete random variables. PDF, on the other hand, is used when you need to come up with a range of continuous random variables.