《博彦科技 2022 软件面试题(应聘 求职 面试准备资料).docx》由会员分享,可在线阅读,更多相关《博彦科技 2022 软件面试题(应聘 求职 面试准备资料).docx(4页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、博彦科技2022软件面试题第 1 题: a, b, c : wear cap(black or white, but not all white), a and b can see, but c is blink; a,b,c in turn answer whether he can know what color he is wearing, a said no , b said no ,c said is :Q: why c know, and what color his is?第2题:100个和尚吃100个馒头,大和尚一人吃4个,小和尚4人 吃一个,问:大,小和尚各多少人?第3题:扩
2、展名为DLL的动态链接文件的特点是A.可以自由的插入到其他的源程序中使用B.本身是一个数据文件,可以与其他程序动态的链接使用C.本身可以*运行,也可以供其他程序在运行是调用D.本身不能*运行,但可以供其他程序在运行时调用第4题:面对对象技术中,对象是类的实例,对象有三种成分、 属性和方法(或操作)A.标识 B、规章 C、封装 D、消息第5题:程序设计语言引入“类的概念是为了解决数据保护问题,C+语言将类的成员封装在类体之中,使之具有肯定的存取规章,这 些规章规定了存取类的成员的权力,其中,对于用private说明的成 员,它A.既能被该类的成员函数访问,又能被外界直接访问B.只能被该类的成员函
3、数访问,外界不能直接访问C.不能被该类的成员函数访问,只能外界直接访问D.既不能被该类成员函数访问,也不能外界直接访问第 6 题: is a set of specifications and software that allow small programs or software components to work together.A. ActiveX B. XML C. HTML D. DAMS第7题 请简要说明如何测试下面的程序?templateclass Tvoid OutputRoots(T a, T b , T c)(T d=b * b -4*a*c;if(dO)(floa
4、t sqrtd=sqrt(d);count there are two real roots” (-b+sqrtd)/(2*a)-2-and(-b-sqrtd)/(2*a)endl;)Else if (d= =0) Coutthere is only one distinct root-b(2*a)endl;)elsecout The roots are complexendlThe real part is-b/(2*a)The imaginary part issqrt (-d)/(2*a)endl;)第8题: 以下是一段用C编写的函数,请指出其中存在的问题:-3-1 int PtintD
5、igit(void)2(char*p;3 int i=0;p=(char*) malloc (256*sizeof (char);4 for(l=0;l=256;l+,p+)*p=l;printffHere is the numbers you need; %dn,7,i)5 )第9题:请翻译下面这段文字For Chinese applicants,the first step in applying for a visa is to make an appointment by calling 65325305 or 65322228. The problem is that the two
6、 numbers are so busy that often they cant get through . Mr Bennet explained :Since all embassies have to use 6532 telephone prefix and the number of lines is limited, the US embassy is only allotted two lines for our appointment system. Insgroupsto solve the problem, we plan to work through a contra
7、ctor. Contractors dont have to use the 6532 prefix, so they can be assigned move lines and hire lots of people to answer calls . Applicants will also be able to use faxes and the Internet to make appointments, which will greatly enhance flexibility and convenience, Since the contact has not been awarded yet, I cant say exactly when the new system will be operative-hopefully sometimes in the fall/-5-