當前位置:高考升學網 > 招聘筆試題 > 正文

東軟筆試題和面試題答案(三)

更新:2023-09-14 04:09:40 高考升學網

二、編程題(共2題,每題15分,滿分30分)

  1、閱讀下列函數說明和C代碼,將應填入 處的字句寫在答題紙的對應欄內。

  [函數1.1說明]

  函數int factors(int n)的功能是判斷整數n(n>=2)是否為完全數。如果n是完全數,則函數返回0,否則返回-1。

  所謂“完全數”是指整數n的所有因子(不包括n)之和等于n自身。例如28的因子為1、2、4、7、14,而28=1+2+4+7+14,因此28是“完全數”。

  [函數1.1]

  int factors(int n)

  {

  int i,s;

  for(i=1,s=0;i<=n/2;i++)

  if(n%i==0) (1) ;

  if( (2) )return 0;

  return -1;

  }

  [函數1.2說明]

  函數int maxint(int a[], int k)的功能是用遞歸方法求指定數組中前k個元素的最大值,并作為函數值返回。

  [函數1.2]

  int maxint(int a[],int k)

  {

  int t;

  if( (3) ) return (4) ;

  t=maxint(a+1, (5) );

  return (a[0]>t)?a[0]:t;

  }

  2、動物(Animals)中的貓(Cat)和狗(Dog)都有跑(Run)的動作。請運用多態技術展示貓跑和狗跑的動作。要求用C++代碼實現。

三、英語題(滿分10分)

  1、選擇題(共5題,每題1分,滿分5分)

  (1) is a device that converts images to digital format.

  A. Copier B. Printer C. Scanner D. Display In Clanguage, a

  (2) is a series of charactrs enclosed in double quotes.

  A. matrix B. string C. program D. stream

  (3) are those programs that help find the information you are trying to locate on the WWW.

  A. Windows B. Search Engines C. Web Sites D. Web Pages

  In C language, (4) are used to create variables and are grouped at the top of a gram block;

  A. declarations B. dimensions C. comments D.descriptions

  An (5) statement can perform a calculation and store the result in a variable so that it can be used later.

  A. executable B.input C.output D. assignment

  2、英譯漢(共1題,滿分5分)

  The invention of the Web brought an extraordinary expansion of digital services to millions of amateur computer users, including color text and pages, formatted text, pictures, animations, video, and sound. In short, the Web makes nearly all the rich elements of human expression needed to establish a commercial marketplace available to nontechnical computer users worldwide.

四、日語附加題(滿分10分)

  1、選擇題(共5題,每題1分,滿分5分)

  1. Log

  A.ロツダ B. ロヅツク C. ログ D. ロツク

  2. Byte

  ……

  2、日譯漢(共1題,滿分5分)

  ……

最新圖文

2020年河北新聞網兩學一做

時間:2023-09-18 07:0:24

2020年河北新聞網兩學一做

時間:2023-09-15 11:0:59

兩學一做學習教育知

時間:2023-09-21 06:0:30

2020年開展兩學一做學習教

時間:2023-09-19 21:0:30
9999久久久国产精品,日韩在线一区二区三区欧美,日韩精品综合在线人妻,免费AAAAAA毛片看
亚洲a人一区二区免费 | 亚洲无线码高清在线观看 | 日韩精品区一区二免费 | 亚洲成a人网站在线看 | 亚洲国产精品看片在线观看 | 中文字幕无线在线视频观看 |