Two-digit numbers are formed from the digits 0,1,2,3,4 without repeating the digits.
∴ Sample space S={10,12,13,14,20,21,23,24,31,32,34,40,41,42,43}
∴n(S)=16
(1) Let A be the event of getting an even number.
A={10,12,14,20,24,30,32,34,40,42}
∴n(A)=10
Probability, P(A)=n(A)n(S)=1016=58
(2) Let B the event of getting a prime number.
B={13,23,31,41,43}
∴n(B)=5
Probability, P(B)=n(B)n(S)=516