|
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、英文阅读理解,个人感觉非常简单。 |
+10
|