- 相关推荐
群硕笔试题
1、100=9 9 9 9 9 9
2、根据pseudo code判断下列哪个x打印"Text 2"
If (x>4) then print "Text 1"
Else if (x>9) then print "Text 2"
Else print "Text 3")
(1)less than 0,(2)less than 4,(3)between 4 and 9,(4)>9,(5)none
3、填but report:a browser based software crashes when you type "-1" in a inp
ut field called ABC on secong html page after loggong on on WindowXP platfor
m. And this happens every time you try typing "-1".You are not sure if any d
atabase servers are being used or not.
┏━━━━━━━━━━━━━━━━
┃ Serverity:┃ ┃Priority:┃ ┃
━━━━━━━━━━━━━━━━━
┃ ━━━━━━━━━━━━━━━━━━━┃
┃ Short Description┃ ┃
┃ ━━━━━━━━━┃━━━━━━━━━┃
┃ Reproducible? ┃ ┃
┃ ━━━━━━━━━┃━━━━━━━━━┃
┃ Recreate steps: ┃ ┃
┃ ━━━━━━━━━┃━━━━━━━━━┃
┃ Attachment: ┃ ┃
━━━━━━━━━━━━━━━━━━━━┃
┃ ━━━━━━━━━━━━━━━━━━━┃
┃ platform tested: ┃ ┃
┃ ━━━━━━━━━━━━━━━━━━━┃
┃ database server: ┃ ┃
┃ ━━━━━━━━━━━━━━━━━━━┃
┃ browser : ┃ ┃
━━━━━━━━━━━━━━━━━━━━┃
4、添加注释
//
//
//
//
private static final int SHORT_COLUMN_WIDTH=5;
private static final int INT_COLUMN_WIDTH=10;
private static final int LONG_COLUMN_WIDTH=19;
private static final int DOUBLE_COLUMN_WIDTH=23;
……
int decimalDigits=DataTypeInfo.getScale();
int widthOfNumber=DataTypeInfo.getPrecision();
int dataType=DataTypeInfo.numberValue;
//
//
//
if (decimalDigits==0){
if (widthOfNumber<=SHORT_COLUMN_WIDTH) {dataType=dataTypeInfo.signedInt16V
alue;}
else if (widthOfNumber<=INT_COLUMN_WIDTH) {dataType=dataTypeInfo.signedInt
32Value;}
else if (widthOfNumber<=LONG_COLUMN_WIDTH) {dataType=dataTypeInfo.signedIn
t64Value;}
else if (widthOfNumber<=DOUBLE_COLUMN_WIDTH) {dataType=dataTypeInfo.number
Value;}
else {dataType=dataTypeInfo.numberValue;}
5、设计一个算法判断一个字符串是否是回文,并写出代码。
"A man a plan a canal panama"是会文。
6、定义函数,给出三个参数,从字符串inputString中的下标indexOfChar开始返回noO
fChar个字符。要求找出尽可能多的错误情形
7、编一段代码,求两个int的最大公约数
8、给出一段c++代码(关于构建器和虚析构器的调用问题),要求(1)其输出,(2)
说明virtual destructor的作用(role)
9、英文阅读理解,个人感觉非常简单。
【群硕笔试题】相关文章:
群硕的笔试题分享07-30
群硕笔试题目分享10-25
群硕笔试题目(全)109-18
群硕笔试题Java和C++、C#06-21
群硕面试经历10-25
群硕笔试归来08-08
群硕软件2012届实习生笔试题经验07-17
群硕面试经历分享05-06
群硕 面试面经07-14
分享群硕面试及笔试经历.06-17