笔试题及答案1
面试笔试7.22K
笔试题及答案1
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). 作答(仅供参考)
1 翻译题(必答)
CDMA 厂商们已经竭力开发出一种用于CDMA手机上使用的名为RUIM的SIM卡,进而能够使CDMA漫游,这种为中国联通开发的新CDMA上使用的SIM卡在 中国进一步开发与推广,韩国KTF公司在今年年初向公众展示其采用此卡在GSM与CDMA间进行漫游,尽管如此, 也只有那些含有用户服务数据的卡才能实现漫游功能, 相反那些一般的CDMA手机或只含有用户手机号的是不行的(除非通过转移)
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. 编程题(必答)
链表
a 实现一个整数链表, 并支持插入运算(在给定的结果后插入)和删除运算(移除给定的结点),
b 实现一个方法来对链表进行除序排序;
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 J***A program:
static void g(int i)
{
if(==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. 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). 作答(仅供参考)
1 翻译题(必答)
CDMA 厂商们已经竭力开发出一种用于CDMA手机上使用的名为RUIM的SIM卡,进而能够使CDMA漫游,这种为中国联通开发的新CDMA上使用的SIM卡在 中国进一步开发与推广,韩国KTF公司在今年年初向公众展示其采用此卡在GSM与CDMA间进行漫游,尽管如此, 也只有那些含有用户服务数据的卡才能实现漫游功能, 相反那些一般的CDMA手机或只含有用户手机号的是不行的(除非通过转移)
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. 编程题(必答)
链表
a 实现一个整数链表, 并支持插入运算(在给定的结果后插入)和删除运算(移除给定的结点),
b 实现一个方法来对链表进行除序排序;
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 J***A program:
static void g(int i)
{
if(==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
-
中粮集团笔试归来
今天中粮笔试,终于可以不去清华了,不过人大好像也不是很好找。本来中午吃饭后准备休息会,3点考试吗,2点走正好,临睡前看了一下笔试通知,这一看不要紧,扫到笔试时间竟然是2点开考!赶紧准备一下就出发了,刚出校门就看到有两辆公车呼啸而过,只好等下一辆了(没有足够的信心打...
-
sony往年程序笔试真题
A、该题用语言描述是指:第i行第一个输出*,然后输出i-1个.,重复上i次。#include#defineN8intmain(){inti;intj;intk;for(i=0;i<=N;i++){for(j=1;j<=i;j++){printf("*");for(k=1;kprintf(".");}printf("n");}return0;B、降序排列数组,很常见的,这里我采用冒泡排序法还...
-
意法半导体(上海)笔试归来
那天是我第一次去紫竹的意法半导体,感觉相当之好。喜欢那种整个透明的建筑风格,喜欢周围空旷的环境。到了意法半导体的office里,被招呼的挺好,让我在那里等面试官,还给我倒水喝:)等着等着,拿来了一张卷子,限时一个小时。题目有一定难度,和以前在学校的侧重点很不一样,做的...
-
新浪08校园招聘部分笔试题(博客编辑)
新浪08校园招聘部分笔试题(博客编辑)新浪的08校园招聘已经过好久了,很有幸参加了笔试,虽然没能拿到offer,但也是一次难得的经历。大致写一下我还有印象的一些新浪笔试题供大家参考:一、综合部分(所有人都要做的)单选25个,包括法国现任总统、十七大闭幕时间、嫦娥飞升时...