2. (5% each, totally 25%) Today a machine will produce 100 resistors in order. Suppose that a bad resistor is produced independently with the probability of p. Let N be the number of resistors before the first bad resistor is produced (i.e., N does NOT include the first bad resistor). Let N_B be the total number of bad resistors.

(a) Is \(N\) a discrete random variable or continuous random variable?