广东北电试题
广东北电试题
英文笔试题
1. Translation (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).
2. Programming (Mandatory)
Linked list
a. Implement a linked list for integers, which supports the insert after (insert a node after a specified node) and remove after (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 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 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
-
广东海洋大学食品科学与工程2015考研调剂信息
以下为大家发布广东海洋大学食品科学与工程2015考研调剂信息,接下来本站考研网会第一时间为大家发布其他院校考研调剂信息,敬请关注。预祝大家调剂成功!广东海洋大学刘教授招收食品科学与工程硕士调剂生1-2名。广东海洋大学是广东省人民政府和国家海洋局共建的省...
-
2017考研英语新题型做题方法
新题型是考研英语复习的一大部分,下面小编整理分析了新题型的做题方法,希望对2017年考生有所帮助。对新题型部分的要求也是一样,仍是考查考生对诸如连贯性、一致性等语段特征以及文章结构的理解。本部分有三种备选题型,分别为:1)在一篇总长度为500-600词的文章中有5...
-
2015考研政治毛中特知识点真题解析
2015考研政治在各位考生的期待中已经顺利考完,那么各位考生不管考的是否满意,都要去坚持,考研不仅考的是咱们的耐心,同时也是考的咱们的坚持,只有坚持到最后就是胜利。通过2015年考研政治试卷真题我们可以看出,历年考试中多次出现的试题仍然是复习的重点,也就是说知识...
-
2015考研复试需准备哪些内容
在考研成绩公布之前,建议广大考生做好复试的准备。以下是考研过来人的复试经验总结,希望对大家有所帮助。一、了解考研复试内容,最好充足准备主要说来,考研复试主要考听力和口语,然后就是专业课。下面我们分开来看下该如何准备这些内容。1.听力和口试听力和口语是考...