Answer:
21 comparisons
Step-by-step explanation:
Assuming that comparisons are only made with two species at a time and that the order at which species are picked does not matter, the number of comparisons that must be made is given by the combination of picking two out of 7 species:
[tex]n = \frac{7!}{(7-2)!2!}=7*3\\n=21\ comparisons[/tex]
In order to compare the density of all species, 21 comparisons are needed.