此题为判断题(对,错)。
第1题:
A.at
B.to
C.for
D.of
第2题:
A.some
B.any
C.no
第3题:
I prefer tea()coffee.
Ato
Bfrom
Cby
Dwith
第4题:
How many ______ can I take?
A、rice
B、cakes
C、water
D、coffee
第5题:
publicclassDrinkimplementsComparable{publicStringname;publicintcompareTo(Objecto){return0;}}and:Drinkone=newDrink();Drinktwo=newDrink();one.name=Coffee”;two.name=Tea”;TreeSetset=newTreeSet();set.add(one);set.add(two);AprogrammeriteratesovertheTreeSetandprintsthenameofeachDrinkobject.Whatistheresult?()
A.Tea
B.Coffee
C.CoffeeTea
D.Compilationfails.
E.Thecoderunswithnooutput.
F.Anexceptionisthrownatruntime.
第6题:
请判断如下的代码输出结果: spices = {'Coffee':50, 'Tea':20, 'Sugar':20} print(spices.get('Juice', 'Sorry, only Coffee, Tea, Sugar in spices.'))
A.0
B.报错
C.'Sorry, only Coffee, Tea, Sugar in spices.'
D.20