久久久久亚洲精品男人的天堂,免费高潮视频,日韩小视频在线观看,国产女优视频,久久三区,中文字幕日韩一区,99热97

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

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

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

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

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

  [函數(shù)1.1說明]

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

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

  [函數(shù)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;

  }

  [函數(shù)1.2說明]

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

  [函數(shù)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)的動作。請運用多態(tài)技術展示貓跑和狗跑的動作。要求用C++代碼實現(xiàn)。

三、英語題(滿分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