A wire p is half the diameter and half the length of wire q of similar material. The ratio of resistance of p to that of q is:
a) 1/8
b) 1/4
c) 1/2
d) 2