单选(2分)对顺序表中的n个记录进行直接插入排序,在最好情况下需要比较( )次关键字。
A. n(n-1)
B. n+1
C. n-1
D. n
查看答案
单选(2分)排序算法的稳定性是指( )。
A. 排序算法的性能和被排序的数据数量关系密切
B. 经过排序后,能使原来关键字值相同的数据保持原有顺序中的相对位置不变
C. 经过排序后,能使原来关键字值相同的数据保持原有顺序中的绝对位置不变
D. 排序算法的性能和被排序的数据数量关系不大
During the Second World War, the Japanese settlers in Canada were forced to move to ______.
A. east of Rocky Mountains
B. the United States
C. Pearl Harbor
D. the east coast of Canada
The Progressive Conservative Party in Canada was completely wiped out in the 1993 federal election because .
A. they offended the French-speaking people in Canada
B. they governed the entire country for too many years
C. they didn't manage the Canadian economy well
D. they were unable to represent the country as a whole
The main factor contributing to the widening income gap between blacks and whites in the 1970s was .
A. more white workers moved into high-paying jobs
B. blacks had low positions and low pay in the workplace hierarchy
C. there were more children in black families
D. white people had increased their authority over others