A single observation of a random variable having a hyper geometric distribution with N = 7 and n = 2 is used to test the null hypothesis k = 2 against the alternative hypothesis k = 4. If the null hypothesis is rejected if and only if the value of the random variable is 2, find the probabilities of type I and type II errors.