群硕的笔试题分享

时间:2024-07-30 05:14:59 综合指导

群硕的笔试题分享

  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