- 相關推薦
群碩的筆試題分享
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、英文閱讀理解,個人感覺非常簡單。
【群碩的筆試題分享】相關文章:
群碩筆試題Java和C++、C#11-21
騰訊筆試題 試題分享02-24
迅雷JAVA廣州站二筆筆試題目分享11-21
采購人員筆試題,試題分享02-25
AC尼爾森筆經分享11-19
SK筆經經歷分享11-27
大唐移動測試工程師筆經,筆試題目分享11-21
HTC筆試題分享11-21
IT相關筆試題分享11-21
寶潔 筆試題分享11-21