问题 单项选择题

以下关系表达式中,其值为False的是______。

A."Base">"Basic"

B."List1">"Command1"

C."CASE"=UCase("case")

D."Integer">"Int"

答案

参考答案:A

解析: 字符串比较大小的规则是从左到右逐个比较其字符的ASCII值。有以下几种情况:
①字符串完全相等。
②当两个字符串不是所有对应位置上的字符都相等,以第一次出现不同字符时的比较结果为准。例如,当“Base”与“Basic”进行比大小时,先比"B"="B",再比"a"="a",再比"s"="s",,再比"e">"i"计算结果为False,空格与"c"就没必要继续进行比较了。两个字符串不一样长时。将长度短的字符串右边用空格补齐,然后逐个比较。
③部分相同的两个字符串,长的大。
④相同大小写的字母按英文字典顺序比较。在字典中后出现的比在前面出现的大。相同大小写的字母时,小写字母总是大于相同的大写字母。
⑤汉字字符串按拼音的ASCII值比较。
⑥数字字符规则同上。

单项选择题 A1/A2型题
单项选择题

When Dave was eighteen, he bought a secondhand car for 200 so that he could travel to and from work more (1) than by bus. It worked quite well for a few years, but then it got so old, and it was costing him (2) much in repairs that he decided that he had better (3) it.

He asked among his friends to see if anyone was particularly (4) to buy a cheap car, but they all knew that it was falling to pieces, so (5) of them had any desire to buy it. Dave’s friend Sam saw that he was (6) when they met one evening, and said, "What’s (7) , Dave"

Dave told him, and Sam answered, "Well, what about advertising it in the paper You may (8) more for it that way than the cost of the advertisement!" Thinking that Sam’s (9) was sensible, he put an advertisement in an evening paper, which read "For sale: small car, (10) very little petrol, only two owners. Bargain at 50. " For two days after the advertisement first appeared, there was no (11) . But then on Saturday evening he had an enquiry. A man rang up and said he would like to (12) him about the car. "All right, " Dave said, feeling happy. He asked the man whether ten o’clock the next morning would be (13) or not. "Fine, " the man said, "and I’ll (14) my wife. We intend to go for a ride in it to (15) it. "

The next morning, at a quarter to ten, Dave parked the car in the square outside his front door, (16) to wait there for the people who had (17) his advertisement. Even Dave had to (18) that the car really looked like a wreck. Then, soon after he had got the car as clean (19) it could be, a police car stopped just behind him and a policeman got out. He looked at Dave’s car and then said, "Have you reported this (20) to us yet, sir\

14().

A.follow 

B.meet 

C.bring 

D.introduce