- 相關(guān)推薦
博彥科技面試題
博彥科技
姓名: 聯(lián)系電話:
問(wèn)題第一部分:(智力)
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個(gè)和尚吃100個(gè)饅頭,大和尚一人吃4個(gè),小和尚4人吃一個(gè),
問(wèn):大,小和尚各多少人?
問(wèn)題第二部分:(選擇)
1: 擴(kuò)展名為DLL的動(dòng)態(tài)鏈接文件的特點(diǎn)是_________
A. 可以自由的插入到其他的源程序中使用
B. 本身是一個(gè)數(shù)據(jù)文件,可以與其他程序動(dòng)態(tài)的鏈接使用
C. 本身可以獨(dú)立運(yùn)行,也可以供其他程序在運(yùn)行是調(diào)用
D. 本身不能獨(dú)立運(yùn)行,但可以供其他程序在運(yùn)行時(shí)調(diào)用
2:面向?qū)ο蠹夹g(shù)中,對(duì)象是類的實(shí)例,對(duì)象有三種成分______、屬性和方法(或操作)
A.標(biāo)識(shí) B、規(guī)則 C、封裝 D、消息
3.程序設(shè)計(jì)語(yǔ)言引入“類”的概念是為了解決數(shù)據(jù)保護(hù)問(wèn)題,C++語(yǔ)言將類的成員封裝在類體之中,使之具有一定的存取規(guī)則,這些規(guī)則規(guī)定了存取類的成員的權(quán)力,其中,對(duì)于用private說(shuō)明的成員,它_______
A. 既能被該類的成員函數(shù)訪問(wèn),又能被外界直接訪問(wèn)
B. 只能被該類的成員函數(shù)訪問(wèn),外界不能直接訪問(wèn)
C.不能被該類的成員函數(shù)訪問(wèn),只能外界直接訪問(wèn)
D.既不能被該類成員函數(shù)訪問(wèn),也不能外界直接訪問(wèn)
4.___________ 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
問(wèn)題第三部分:(問(wèn)答)
1請(qǐng)簡(jiǎn)要說(shuō)明如何測(cè)試下面的程序?
template
void OutputRoots(T a, T b , T c)
{
T d=b * b – 4*a*c;
if(d>0)
{
float sqrtd=sqrt(d);
count <<”there are two real roots”
<<(-b+sqrtd)/(2*a)
<<”and”
<<(-b-sqrtd)/(2*a)
<<endl p="" ;<="">
}
}
Else if (d= =0) {
Cout<<”there is only one distinct root”
<<-b(2*a)
<<endl;< p="">
}
else{
cout <<”The roots are complex”
<<endl< p="">
<<”The real part is”
<<-b/(2*a)
<<”The imaginary part is”
<<sqrt p="" (2*a)<="">
<<endl;< p="">
}
2、以下是一段用C編寫(xiě)的函數(shù),請(qǐng)指出其中存在的問(wèn)題:
1 int PtintDigit(void)
2 {
3 char*p;
4 int i=0;
5 p=(char*) malloc (256*sizeof (char));
6 for (I=0;I<=256;I++,p++)*p=I;
7 printf(Here is the numbers you need; %d ”,i)
8 }
問(wèn)題第四部分(外語(yǔ)考察)
請(qǐng)翻譯下面這段文字,中文寫(xiě)在后面:
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 numbers are so busy that often they can’t 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 contractor. Contractors don’t 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 can’t say exactly when the new system will be operative-hopefully sometimes in the fall.”
[博彥科技面試題]
【博彥科技面試題】相關(guān)文章:
博彥科技校園招聘信息08-27
博朗軟件Java面試題08-12
硅谷科技公司刁鉆面試題集合08-15
經(jīng)典面試題06-20
經(jīng)典面試題08-07
關(guān)于李彥宏的創(chuàng)業(yè)故事07-11
李彥宏的美國(guó)留學(xué)故事06-03
厲彥林《布鞋》閱讀答案06-27
英語(yǔ)面試題精選06-13
iOS面試題07-10