sokaoti.com
北京中长石基信息技术股份有限公司11月招聘面试题117道20201115

D

Anne and Joseph are talking about an interesting question. Why do some people change their names? There can be many reasons. Hanna changed her name to Anne because she thought it would be easier for people to remember. On the other hand, Joseph is thinking about changing his name to an unusual name because he wants to be different.

People have a lot of reasons for changing their names. Film stars, singers, sportsmen and some other famous people often change their names because they want names that are not ordinary, or that have special sound. They chose the “new name” for themselves instead of the name their parents gave them when they were born.

Some people have another reason for changing their names. They have moved to a new country and want to use a name that is usual there. For example, Li Kaiming changed his name to Ken Lee when he moved to the United States. He uses the name Ken at his job and at school. But with his family and Chinese friends, he uses Li Kaiming. For some people, using different names makes life easier in their new country.

In many countries, a woman changes her family name to her husband’s after she gets married. But today, many women are keeping their own family name and not using their husband’s. Sometimes , women use their own name in some situations (情况)and their husband’s in other situations . And some use both their own name and their husband’s.

根据短文内容,完成下面表格。

different people

reason to change the name

Hanna

It is ____61____ for people to remember.

Joseph

He wants to have a name that’s ____62_____.

famous people

Their name may sound _____63_____.

Li Kaiming

Using different names can make ____64_____ easier.

a woman

After she gets _____65_____, she may change her name.

61._________________________________________________________________________


正确答案:
easier


Both Chinese names and English names give clues about place identity, family relationship, ethnic group, parents' expectation and values or even personal().

A、mistakes

B、characteristics

C、replacement

D、analysis


参考答案:B


阅读下列短文,从每题所给的四个选项(A、B、C和D)中,选出最佳选项,

A

Remembering names is an important social skill.Here are some ways to master it.

Recite and repeat in conversation.

When you hear a person’s name,repeat it.Immediately say it to yourself several times without moving your lips.You could also repeat the name in a way that does not sound forced or artificial.

Ask the other person to recite and repeat.

You can let other people help you remember their names.After you’ve been introduced to someone,ask that person to spell the name and pronounce it correctly for you.Most people will be pleased by the effort you’re making to learn their names.

Admit you don’t know.

Admitting that you can’t remember someone’s name can actually make people relaxed.Most of them will feel sympathy if you say.“I’m working to remember names better.Yours is right on the tip of my tongue.What is it again?”

Use associations.

Link each person yon meet with one thing you find interesting or unusual.For example,you could make a mental note: "Vicki Cheng -- tall, black hair.” To reinforce (加强) your associations, write them on a small card as soon as possible.

Limit the number of new names you learn at one time.

When meeting a group of people, concentrate on remembering just two or three names. Free yourself from remembering every one. Few of the people in mass introductions expect you to remember their names. Another way is to limit yourself to learning just first names. Last names can come later.

Go early.

Consider going early to conferences, parties and classes. Sometimes just a few people show up on time. That's fewer names for you to remember. And as more people arrive, you can hear them being introduced to others -- an automatic review for you.

56. How will most people feel when you try hard to remember their names?

A. They will be moved. B. They will be annoyed.

C. They will be delighted. D. They will be discouraged.


正确答案:C


When you meet a group of people, it is better to remember __

A. all their names B. a couple of names first

C. just their last names D. as many names as possible


正确答案:B


关于group by 以下语句正确的是( )

A.SELECT store_name FROM Store_Information GROUP BY store_name

B. SELECT SUM(sales) FROM Store_Information GROUP BY sales

C.SELECT store_name, price SUM(sales) FROM Store_Information GROUP BY store_name,price

D.SELECT store_name, SUM(sales) FROM Store_Information GROUP BY store_name


正确答案:D,C,B 


北京中长石基信息技术股份有限公司11月招聘面试题面试题面试官常问到的一些题目整理如下:问题 Q1:列表的扁平化和降维?比如有一个二维列表,降成普通的一维的。如:groups = huahua, xiaojian, musen, yuze, keyou得到结果 huahua, xiaojian, musen, yuze, keyou可用的回答 : 方法一:最简单的方式可以通过 for 循环的方式一一提取: names = for group in groups: for name in group: names.append(name) print(names) 方法二:但是在面试的时候可能会加一些限制,比如让你用一行代码实现 这个时候就需要对 python 基础有进一步的理解了,比如说使用 sum 函数: names = sum(groups, ) 方法三:通过列表推导式也可以方便的解决: a = e for group in groups for e in group 问题 Q2:Python是如何进行内存管理的?可用的回答 : 从三个方面来说,一对象的引用计数机制,二垃圾回收机制,三内存池机制 一、对象的引用计数机制 Python内部使用引用计数,来保持追踪内存中的对象,所有对象都有引用计数。 引用计数增加的情况: 1,一个对象分配一个新名称 2,将其放入一个容器中(如列表、元组或字典),引用计数减少的情况: 1,使用del语句对对象别名显示的销毁 2,引用超出作用域或被重新赋值 sys.getrefcount( )函数可以获得对象的当前引用计数 多数情况下,引用计数比你猜测得要大得多。对于不可变数据(如数字和字符串),解释器会在程序的不同部分共享内存,以便节约内存。 二、垃圾回收 1,当一个对象的引用计数归零时,它将被垃圾收集机制处理掉。 2,当两个对象a和b相互引用时,del语句可以减少a和b的引用计数,并销毁用于引用底层对象的名称。然而由于每个对象都包含一个对其他对象的应用,因此引用计数不会归零,对象也不会销毁。(从而导致内存泄露)。为解决这一问题,解释器会定期执行一个循环检测器,搜索不可访问对象的循环并删除它们。 三、内存池机制 Python提供了对内存的垃圾收集机制,但是它将不用的内存放到内存池而不是返回给操作系统。 1,Pymalloc机制。为了加速Python的执行效率,Python引入了一个内存池机制,用于管理对小块内存的申请和释放。 2,Python中所有小于256个字节的对象都使用pymalloc实现的分配器,而大的对象则使用系统的malloc。 3,对于Python对象,如整数,浮点数和List,都有其独立的私有内存池,对象间不共享他们的内存池。也就是说如果你分配又释放了大量的整数,用于缓存这些整数的内存就不能再分配给浮点数。 问题 Q3:迭代器和生成器的区别?可用的回答 : 1)迭代器是一个更抽象的概念,任何对象,如果它的类有next方法和iter方法返回自己本身。对于 string、list、dict、tuple等这类容器对象,使用for循环遍历是很方便的。在后台for语句对容器对象调 用iter()函数,iter()是python的内置函数。iter()会返回一个定义了next()方法的迭代器对象,它在容器中 逐个访问容器内元素,next()也是python的内置函数。在没有后续元素时,next()会抛出一个 StopIteration异常 2)生成器(Generator)是创建迭代器的简单而强大的工具。它们写起来就像是正规的函数,只是在需 要返回数据的时候使用yield语句。每次next()被调用时,生成器会返回它脱离的位置(它记忆语句最后 一次执行的位置和所有的数据值) 区别:生成器能做到迭代器能做的所有事,而且因为自动创建了iter()和next()方法,生成器显得特别简洁, 而且生成器也是高效的,使用生成器表达式取代列表解析可以同时节省内存。除了创建和保存程序状态 的自动方法,当发生器终结时,还会自动抛出StopIteration异常 问题 Q4:参数如何通过值或引用传递?可用的回答 :Python中的所有内容都是一个对象,所有变量都包含对象的引用问题 Q5:有哪些工具可以帮助查找错误或执行静态分析?可用的回答 : PyChecker是一个静态分析工具,可以检测Python源代码中的错误,并警告错误的风格和复杂性。 Pylint是另一种验证模块是否符合编码标准的工具。 auto-pep8工具也可以进行静态代码检查 问题 Q6:如何在Python中复制对象?可用的回答 :要在Python中复制对象,可以尝试copy.copy() 或 copy.deepcopy() 来处理一般情况。copy.copy()浅拷贝,复制引用;copy.deepcopy()深拷贝,完全独立的对象问题 Q7:一行代码实现1-100之和?可用的回答 :使用sum函数。sum(range(1, 101)问题 Q8:如何在Python中内存管理?可用的回答 :Python内存由Python私有堆空间管理。 所有Python对象和数据结构都位于私有堆中。 程序员无权访问此私有堆,解释器负责处理此私有堆。 Python对象的Python堆空间分配由Python内存管理器完成。核心API提供了一些程序员编写代码的工具。 Python还有一个内置的垃圾收集器,它可以回收所有未使用的内存并释放内存并使其可用于堆空间。问题 Q9:什么是Python?使用Python有什么好处?可用的回答 :Python是一种编程语言,包含对象,模块,线程,异常和自动内存管理。Python的好处在于它简单易用,可移植,可扩展,内置数据结构,并且它是一个开源的。问题 Q10:什么是猴子补丁?可用的回答 :在运行时动态修改类和模块算法题面试官常问到的一些算法题目整理如下(大概率会机考):算题题 A1:转换单词题目描述如下:We have a string S of lowercase letters, and an integer array shifts.Call the shift of a lett

What are the components of Chinese names?

A、Given name and middle names

B、Family name

C、Family name and given name

D、Last name and surname


参考答案:C


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·布莱克。”所以我说:“谢谢你,贝蒂小姐。我们面面相觑,开怀大笑。后来我发现英国人把姓放在最后,名放在前面,中间的名字用得不多。我向她解释中国姓在前,名在后,所以她永远不要叫我萍小姐。她问我们中国人有没有中间名。我告诉她我们没有。但是人们经常会在一张中文名片上发现三个字。在这种情况下,姓仍然在前面,在它后面的其他单词是两个单词组成的名字。这在中国很常见。我妹妹是李小芳。她有两个字在她的名字,而不像我一样只有一个。



Your network consists of a single Active Directory domain.The domain contains more than 300 group objects. The group objects are divided between several regional organizational units (OUs).You need to create a list of all groups that have names that begin with the word Sales.Which command should you use? ()

A. Dsget group

B. Dsquery group

C. Netdom query

D. Net group


参考答案:B


importjava.util.*;

publicclassNameList{

privateListnames=newArrayList();

publicsynchronizedvoidadd(Stringname){names.add(name);}

publicsynchronizedvoidprintAll(){

for(inti=0;iSystem.out.print(names.get(i)+);

}

}

publicstaticvoidmain(String[]args){

finalNameListsl=newNameList();

for(inti=0;i<2;i++){

newThread(){

publicvoidruin(){

sl.add(”A”);

sl.add(”B”);

sl.add(”C”);

sl.printAll();

}

}.start();

}

}

}

Whichtwostatementsaretrueifthisclassiscompiledandrun?()


参考答案:E, F


有如下程序:

#include<iostream>

using flamespace std;

class Name{

char name[20];

public:

Name(){

strcpy(name,“”); cout<<‘?’;

}

Name(char*fname){

strcpy(name,fname); cout<<‘?’;

}

};

int main(){

Name names[3]={Name(”张三”),Name(”李四”)};

return 0;

}

运行此程序输出符号?的个数是

A.0

B.1

C.2

D.3


正确答案:D
解析:定义了3个Name的对象,前2个定义带参数,执行第二个构造函数输出“?”,第三个定义没带参数,执行第一个构造函数也输出“?”;一共输出3个“?”,故选D)。

更多 “北京中长石基信息技术股份有限公司11月招聘面试题117道20201115” 相关考题
考题 以下哪种初始化数组的方式是错误的?()  A、String[] name =,“zhang”,”wang”,”li”-B、String*3+ names=,“zhang”,”wang”,”li”-C、String names[] =new String[3]  names*0+=”wang”D、names*1+=”wang”E、names*2+=”li”F、以上皆正确正确答案:B

考题 You are the network administrator for TestKing.com. All user accounts and groups in the domain are in the container named Users. Company naming conventions require that names of global groups begin with G_ and names of domain local groups begin with DL_. A domain local group named HRServices does not meet the requirements. The HRServices group has one global group member named G_HRUsers. The HRServices group is assigned to Allow - Full Control permission for a shared folder named HRFiles. The shard folder is located on a file server. You need to rename the HRServices group to meet the naming convention requirements. In addition, you need to ensure that user access to the HRFiles shared folder is not disrupted while you perform the procedure. What are two possible ways to achieve this goal? ()(Each correct answer presents a cplete solution. Choose two.)A、Open Active Directory Users and Computers, and then delete the existing HRServices domain local group. Create a new domain local group named DL_HRServices. Add the G_HRUsers group to the DL_HRServices group. Assign the DL_HRServices group the Allow - Full Control permission for the HRFiles shared folder.B、Open the Active Directory Users and Computers, and then change the name of the HRservices group to DL_HRServices.C、Run the following command: dsadd group CN=DL_HRServices,CN=Users,DC=testking.com,DC=com - member CN=G_HRUsers,CN=Users,DC=testking,DC=comD、Run the following command: dsmove CN=HRServices,CN=Users,DC=testking,DC=com -newname DL_HRServices正确答案:B,D

考题 DNS servers provide what service?()A、they run a spell check on host names to ensure accurate routingB、they map individual hosts to their specific IP addressC、they convert domain names into IP addressD、Given an IP address,they determine the name of the host that is…正确答案:C

考题 You need to display the last names of those employees who have the letter "A" as the second character in their names. Which SQL statement displays the required results? ()A、SELECT last_name FROM EMP WHERE last_ name LIKE '_A%';B、SELECT last_name FROM EMP WHERE last name ='*A%'C、SELECT last_name FROM EMP WHERE last name ='_A%';D、SELECT last_name FROM EMP WHERE last name LIKE '*A%'正确答案:A

考题 单选题DNS servers provide what service?()A they run a spell check on host names to ensure accurate routingB they map individual hosts to their specific IP addressC they convert domain names into IP addressD Given an IP address,they determine the name of the host that is…正确答案:D解析:暂无解析

考题 根据以下材料,回答题 The men and women of Anglo-Saxon Englandnormally bore one name only. Distinguishing epithets were rarely added.These might be patronymic, descriptive or occupational. They were, however,hardly surnames. Heritable names gradually became general in the threecenturies following the Norman Conquest in 1066. It was not until the 13th and14th centuries that surnames became fixed, although for many years after that,the degree of stability in family names varied considerably in different partsof the country. British surnames fall mainly into four broadcategories: patronymic, occupational, descriptive and local. A few names, it istrue, will remain puzzling: foreign names, perhaps, crudely translated, adaptedor abbreviated; or artificial names. In fact, over fifty per cent of genuineBritish surnames derive from place names of different kinds, and so they belongto the last of our four main categories. Even such a name as Simpson may belongto this last group, and not to the first, had the family once had its home inthe ancient village of that name. Otherwise, Simpson means "the son ofSimon", as might be expected. Hundreds of occupational surnames are atonce familiar to us, or at least recognisable after a little thought: Archer,Carter, Fisher, Mason, Thatcher, Taylor, to name but a few. Hundreds of othersare more obscure in their meanings and testify to the amazing specialization inmedieval arts, crafts and functions. Such are "Day" (old English forbreadmaker) and "Walker" (a fuller whose job was to clean and thickennewly made cloth). All these vocational names carry with them acertain gravity and dignity, which descriptive names often lack. Some, it istrue, like "Long", "Short" or "Little", aresimple. They may be taken quite literally. Others require more thinking; theirmeanings are slightly different from the modem ones. "Black" and"White" implied dark and fair respectively. "Sharp" meantgenuinely discerning, alert, acute rather than quick-witted or clever. Place-names have a lasting interest sincethere is hardly a town or village in all England that has not at some timegiven its name to a family. They may be picturesque, even poetical; or they maybe pedestrian, even trivial. Among the commoner names which survive withrelatively little change from old-English times are "Milton" (middleenclosure) and "Hilton" (enclosure on a hill).All of the following belong to the fourmain categories of British surnames EXCEPT ________.查看材料A.patronymic names B.occupational names C.artificial names D.local names答案:C解析:细节题。根据第二段的第一句话“British surnames fall mainlyinto four broad categories: patronymic, occupational, descriptive and local.”可知C项不包括在内。

考题 根据以下材料,回答题 The men and women of Anglo-Saxon Englandnormally bore one name only. Distinguishing epithets were rarely added.These might be patronymic, descriptive or occupational. They were, however,hardly surnames. Heritable names gradually became general in the threecenturies following the Norman Conquest in 1066. It was not until the 13th and14th centuries that surnames became fixed, although for many years after that,the degree of stability in family names varied considerably in different partsof the country. British surnames fall mainly into four broadcategories: patronymic, occupational, descriptive and local. A few names, it istrue, will remain puzzling: foreign names, perhaps, crudely translated, adaptedor abbreviated; or artificial names. In fact, over fifty per cent of genuineBritish surnames derive from place names of different kinds, and so they belongto the last of our four main categories. Even such a name as Simpson may belongto this last group, and not to the first, had the family once had its home inthe ancient village of that name. Otherwise, Simpson means "the son ofSimon", as might be expected. Hundreds of occupational surnames are atonce familiar to us, or at least recognisable after a little thought: Archer,Carter, Fisher, Mason, Thatcher, Taylor, to name but a few. Hundreds of othersare more obscure in their meanings and testify to the amazing specialization inmedieval arts, crafts and functions. Such are "Day" (old English forbreadmaker) and "Walker" (a fuller whose job was to clean and thickennewly made cloth). All these vocational names carry with them acertain gravity and dignity, which descriptive names often lack. Some, it istrue, like "Long", "Short" or "Little", aresimple. They may be taken quite literally. Others require more thinking; theirmeanings are slightly different from the modem ones. "Black" and"White" implied dark and fair respectively. "Sharp" meantgenuinely discerning, alert, acute rather than quick-witted or clever. Place-names have a lasting interest sincethere is hardly a town or village in all England that has not at some timegiven its name to a family. They may be picturesque, even poetical; or they maybe pedestrian, even trivial. Among the commoner names which survive withrelatively little change from old-English times are "Milton" (middleenclosure) and "Hilton" (enclosure on a hill).The underlined word"epithets" in Paragraph 1 most probably means ________.查看材料A.a name shared by all the members of afamily B.a word in front of a person's name toshow their rank or profession C.an offensive word or phrase that is usedabout a person or group of people D.an adjective or phrase that is used to describesomebody/something's character or most important quality答案:D解析:词义题。根据第一段的前四句话“The men and women ofAnglo-Saxon England normally bore one name only. Distinguishing _epithets wererarely added. These might be patronymic, descriptive or occupational. Theywere, however, hardly surnames.",盎格鲁一撒克逊时期的英国人.无论男女通常都只有一个名字,他们的名字后很少加有区别的epithets。这些epithets可能是源于父名的、描述性的或与职业有关的词语,但在那时还不是姓。A项“家族所有成员共用的一个名字”与distinguishing矛盾,排除;B项错在in front of;C项错在all offensiveword or phrase,原文没提;D项“用来描述某人/某事的特征或重要品质的形容词或短语”符合文意。故选D。

考题 Your network consists of a single Active Directory domain. The domain contains more than 300 group objects. The group objects are divided between several regional organizational units (OUs). You need to create a list of all groups that have names that begin with the word Sales. Which command should you use? ()A、Dsget groupB、Dsquery groupC、Netdom queryD、Net group正确答案:B

考题 单选题关于查询中列的别名, 以下()语句是不正确的A Select name as’姓名’from tableB Select name as姓名from table where id=1C Sleect name=姓名from table姓名=names(正确答案)D Select names姓名from table正确答案:C解析:暂无解析

考题 根据以下材料,回答题 The men and women of Anglo-Saxon Englandnormally bore one name only. Distinguishing epithets were rarely added.These might be patronymic, descriptive or occupational. They were, however,hardly surnames. Heritable names gradually became general in the threecenturies following the Norman Conquest in 1066. It was not until the 13th and14th centuries that surnames became fixed, although for many years after that,the degree of stability in family names varied considerably in different partsof the country. British surnames fall mainly into four broadcategories: patronymic, occupational, descriptive and local. A few names, it istrue, will remain puzzling: foreign names, perhaps, crudely translated, adaptedor abbreviated; or artificial names. In fact, over fifty per cent of genuineBritish surnames derive from place names of different kinds, and so they belongto the last of our four main categories. Even such a name as Simpson may belongto this last group, and not to the first, had the family once had its home inthe ancient village of that name. Otherwise, Simpson means "the son ofSimon", as might be expected. Hundreds of occupational surnames are atonce familiar to us, or at least recognisable after a little thought: Archer,Carter, Fisher, Mason, Thatcher, Taylor, to name but a few. Hundreds of othersare more obscure in their meanings and testify to the amazing specialization inmedieval arts, crafts and functions. Such are "Day" (old English forbreadmaker) and "Walker" (a fuller whose job was to clean and thickennewly made cloth). All these vocational names carry with them acertain gravity and dignity, which descriptive names often lack. Some, it istrue, like "Long", "Short" or "Little", aresimple. They may be taken quite literally. Others require more thinking; theirmeanings are slightly different from the modem ones. "Black" and"White" implied dark and fair respectively. "Sharp" meantgenuinely discerning, alert, acute rather than quick-witted or clever. Place-names have a lasting interest sincethere is hardly a town or village in all England that has not at some timegiven its name to a family. They may be picturesque, even poetical; or they maybe pedestrian, even trivial. Among the commoner names which survive withrelatively little change from old-English times are "Milton" (middleenclosure) and "Hilton" (enclosure on a hill).This passage is mainly about ________.查看材料A.the importance of surnames B.the origin and culture of Britishsurnames C.the dignity of having a proper surname D.the meanings of British surnames答案:B解析:主旨题。本文第一段讲英国姓氏的发展,第二、三、四段讲英国姓氏的分类及起源,第五、六段讲英国姓氏的含义。A、C项没提英国,首先排除。D项“英国姓氏的含义”,只是文章的一个方面,也排除。B项概括较为全面.故选B。