Answer
B - I and II only.
Work Step by Step
Shannon's index of diversity formulas uses the total number of species in a community (n), and for each species, the proportion of individuals in the community that represent that species$\ (p_{i})$
Therefore, I and II are correct. III is not correct because Shannon's index does not use the number of individuals in the species in its formula.