- 0
- 0
- 约7.44千字
- 约 7页
- 2021-10-26 发布于山东
- 举报
名企面试一试题程序设计(广东北电)_模板
名企面试一试题程序设计(广东北电)_模板
PAGE / NUMPAGES
名企面试一试题程序设计(广东北电)_模板
名企面试一试题程序设计 ( 广东北电 )_模板
英文笔试题
1. Tranlation (Mandatory)
CDMA venders have worked hard to give CDMA roaming capabilities via the development of RUIM-essentially, a SIM card for CDMA handsets currently being deployed in China for new CDMA operator China Unicom. Korean cellco KTF demonstrated earlier this year the ability to
roam between GSM and CDMA using such cards.However,only the card containing the user ’ s service data can roam-not the CDMA handset or the user ’ s number (except via call forwarding).
Programming (Mandatory) Linked list
a. Implement a linked list for integers,which supports the insertafter (insert a node after a
specified node) and removeafter (remove the node after a specified node) methods; b. Implement a method to sort the linked list to descending order.
3. Debugging (Mandatory)
a. For each of the following recursive methods,enter Y in the answer box if themethod terminaters (assume i=5), Otherwise enter N.
static int f(int i){
return f(i-1)*f(i-1);
}
Ansewr:
static int f(int i){
if(i==0){return 1;}
else {return f(i-1)*f(i-1);}
}
Ansewr:
static int f(int i){
if(i==0){return 1;}
else {return f(i-1)*f(i-2);}
}
Ansewr:
b. There are two errors in the following JA VA program:
static void g(int i){
if(i==1){return;}
if(i%2==0){g(i/2);return;}
else {g(3*i);return;}
}
please correct them to make sure we can get the printed-out result as below:
3105168421
中文笔试题
1.汉译英
北电网络的开发者计划使来自于不一样组织的开发者, 能够在北电网络的平台上开发圆满
的增补业务。 北电网络切合工业标准的开放接口, 为增补业务的展开引入了无数商机, 开发
者计划为不一样层面的开发者供给不一样样级的资格, 资格的区分还考虑到以下要素: 增补业务
与北电网络平台的会合程度,开发者集体与北电网络的合作关系,等等。
2.编程
将整数变换成字符串: void itoa(int,char);
比如 itoa(-123,s[]) 则 s=“-123”;
网易
1、 10 个人分红 4 组 有几种分法?
2、如图:
78910
61211
54312
16 15 14 13
设“1”坐标为(的 0, 0) “7”坐标为(-的 1,- 1) 编写一个小程序,使程序做到输入座标( X,Y )以后显示出相应的数字。
3、 #include
//example input and output
//in 1 2 3 out 1 3 1
//in 123456789 2 100 out 123456789 100 21
long mex(long a,long b,long c)
{ long d;
if(b==0) ret
原创力文档

文档评论(0)