It's very interesting to study names of different countries.Chinese names are different (1) foreign names.Once an English lady came to visit me.When I was introduced to her she said, “ Glad to meet you, Miss Ping.” Then she gave me her name card with three words on it:"Betty J.Black.So I said, “Thank you, Miss Betty.” We looked at each other and laughed heartily.Later I found that the English people (2)their family names last and the given names first, while their middle names are not used very much.I explained to her that the Chinese family name comes first, the given name last, so she(3) never call me Miss Ping.She asked if we Chinese had a middle name.I told her we didn't.but people may often find three words
on a Chinese name card.In this case the family name still come first, and the other words after it(4)a two-word given name.it is quite usual in China.My sister is Li Xiaofang.She has two words in her given name instead (5) just one like mine.(完型填空)
A.Put
B.From
C.Should
D.of
E.are
答案:B A C E D
解析:本段意思:研究不同国家的名称是非常有趣的。中国人的名字不同于外国人的名字。有一次,一位英国女士来看我。当我被介绍给她时,她说:“很高兴认识你,萍小姐。然后她给了我她的名片,上面有三个字:“贝蒂·j·布莱克。”所以我说:“谢谢你,贝蒂小姐。我们面面相觑,开怀大笑。后来我发现英国人把姓放在最后,名放在前面,中间的名字用得不多。我向她解释中国姓在前,名在后,所以她永远不要叫我萍小姐。她问我们中国人有没有中间名。我告诉她我们没有。但是人们经常会在一张中文名片上发现三个字。在这种情况下,姓仍然在前面,在它后面的其他单词是两个单词组成的名字。这在中国很常见。我妹妹是李小芳。她有两个字在她的名字,而不像我一样只有一个。
第1题:
A.使用len(列表名)测量元素的个数names_list=["zhangsan","lisi","wangwu"]print(len(names_list))
B.使用列表名[下标]获取列表的某个元素,例如:names_list=["zhangsan","lisi","wangwu"]print(names_list[2])
C.向列表中添加新元素有三个方法:append、extend、insert,例如:names_list=["zhangsan","lisi","wangwu"]names_list.append("zhaoliu")names_list.extend(["zhaoliu","liqi"])names_list.insert(1,"zhaoliu")print(names_list)
D.已有列表nums=[11,22,33,44,55],使用while循环遍历列表nums=[11,22,33,44,55]i=0 whilei
print(nums[i])i+=1
第2题:
给出下面一段程序,选择运行结果() public class X{ public static void main(String[] args){ String names[] = new String[5]; for(int x=0; x<args.length; x++) names[x]=args[x]; System.out.println(names[2]); } } 命令行执行:java X 结果是下面哪一个?
A.运行出现异常
B.b
C.null
D.names
第3题:
已知names是一个如下定义的变量: manes byte ‘Tom bush’ 符合汇编语言语法的正确语句是______。
A.mov edi,names
B.mov edi,names[ebx]
C.mov edi,offset names[ebx]
D.lea edi,names[ebx]
第4题:
第5题:
多选题:下面哪个是错误的用python实现存储n个人的姓名?
A.names1=n*[0] for i in range(n): names1[i]=input('输入{}个人的姓名:'.format(i+1))
B.names2=[] for i in range(n): names.append(input('输入{}个人的姓名:'.format(i+1)))
C.names3=[] for i in range(n): name=input('输入{}个人的姓名:'.format(i+1)) names3+=name
D.names4=[] for i in range(n): names4[i]=input('输入{}个人的姓名:'.format(i+1))
E.names5=[] for i in range(n): name=input('输入{}个人的姓名:'.format(i+1)) names5+=[name]
第6题:
71、下面代码将姓名列表和成绩例表组合成一个字典(一一对应,例如Bob对应75分) names = ['Michael', 'Bob', 'Tracy'] scores = [95, 75, 85] n_s = {} for i in range(len(names)): ····n_s[____]=____