(A) The Fermi-level in an intrinsic semiconductor is nearly midway between the conductive and valence band.So, (A)→II.
(B) In the case of n-type semiconductor, the Fermi level is present just below the conduction band. So, (B)→III.
(C) Fermi level in a p-type semiconductor lies close to the top of the valence band. So, (C)→I
(D) In metals and semimetals the Fermi level lies inside at least one band i.e., inside conduction band. So, (D)→IV.