单项选择题

设有100个数据元素,采用折半搜索时,最大比较次数为()

A.6
B.7
C.8
D.10