當前位置:簡歷模板館>面試>面試筆試>

廣東北電(Nortel)筆試題目

面試筆試 閱讀(2.25W)
廣東北電(Nortel)筆試題目
英文筆試
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 ver,only the card containing the user’s service data can roam-not the CDMA handset or the user’s number (except via call forwarding).
2. 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 the method terminaters (assume i=5), Otherwise enter ic 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 JAVA 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:
3 10 5 16 8 4 2 1

中文試題
1.漢譯英
北電網絡的開發者計劃使來自於不同組織的開發者,能夠在北電網絡的平臺上開發圓滿的補充業務。北電網絡符合工業標準的開放接口,爲補充業務的開展引入了無數商機,開發者計劃爲不同層面的開發者提供不同等級的資格,資格的劃分還考慮到以下因素:補充業務與北電網絡平臺的集合程度,開發者團體與北電網絡的合作關係,等等。
2.編程
將整數轉換成字符串:void itoa(int,char); 例如itoa(-123,s[])則s=“-123”; U2合唱團在17分鐘內得趕到演唱會場,途中必需跨過一座橋,四個人從橋的同一端出發, 你得幫助他們到達另一端,天色很暗,而他們只有一隻手電筒。一次同時最多可以有兩人 一起過橋,而過橋的時候必須持有手電筒,所以就得有人把手電筒帶來帶去,來回橋兩端 。手電筒是不能用丟的方式來傳遞的。四個人的步行速度各不同,若兩人同行則以較慢者 的速度爲準。Bono需花1分鐘過橋,Edge需花2分鐘過橋,Adam需花5分鐘過橋,Larry需花 10分鐘過橋。他們要如何在17分鐘內過橋呢?(有個同濟的學生寫文章說他當時在微軟面試時就是碰到了這道題,最短只能做出在19分鐘內過橋,微軟的人對他講這樣的結果已經是不錯的了!)