案例分析题若对大小为N的有序顺序表进行顺序查找,当查找不成功时,平均查找长度为();当查找成功且表中仅有一个关键字等于欲查找的元素时,平均查找长度为()。 当查找成功且表中仅有一个关键字等于欲查找的元素时,平均查找长度为()。
A. N
B. N+1
C. N/2
D. (N+1)/2
查看答案
One day Tom bought, for two dollars, a large number of used books. He put them in a (36) and pulled them to the (37) . He was to (38) at work until three in the morning. At three, he (39) to walk home. The streets were dark. Tom could (40) wait to arrive home and began to read his new books." (41) !" a voice shouted. But Tom was too (42) to hear the shout well.A moment later, a gunshot (43) his ear. He heard the shot. Tom turned to see what was (44) . An angry policeman ran toward him. The policeman thought that the bag did not (45) Tom. He shouted at Tom, "Drop it !"" (46) !" the policeman ordered.Tom opened it and the old books (47) out of it."Why not stop (48) when I shouted" the policeman asked, "If I had shot (49) , you would have been dead." "I didn’t (50) you," Tom said, "I am almost deaf."The policeman told Tom he was (51) for having shot at him." (52) would be better for you not to walk on the (53) at night." he said.Tom smiled, and told the policeman that his job (54) a telegrapher was a night job. The policeman could think of (55) to answer this. 37()
A. telegraph office
B. bedroom
C. police station
D. streets
What is the woman’s favourite fruit
A. It’s Friday.
B. It’s October 12th.
C. It’s the 11 th of December.
【 】是限制关系模式的属性之间不允许有非平凡且非函数依赖的多值依赖。