當(dāng)前位置:高考升學(xué)網(wǎng) > 招聘筆試題 > 正文

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

更新:2023-09-14 04:09:40 高考升學(xué)網(wǎng)

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

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

  [函數(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個(gè)元素的最大值,并作為函數(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、動(dòng)物(Animals)中的貓(Cat)和狗(Dog)都有跑(Run)的動(dòng)作。請(qǐng)運(yùn)用多態(tài)技術(shù)展示貓跑和狗跑的動(dòng)作。要求用C++代碼實(shí)現(xiàn)。

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

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

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

  1. Log

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

  2. Byte

  ……

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

  ……

相關(guān)文章

最新圖文

2020年河北新聞網(wǎng)兩學(xué)一做

時(shí)間:2023-09-18 07:0:24

2020年河北新聞網(wǎng)兩學(xué)一做

時(shí)間:2023-09-15 11:0:59

兩學(xué)一做學(xué)習(xí)教育知

時(shí)間:2023-09-21 06:0:30

2020年開展兩學(xué)一做學(xué)習(xí)教

時(shí)間:2023-09-19 21:0:30
9999久久久国产精品,日韩在线一区二区三区欧美,日韩精品综合在线人妻,免费AAAAAA毛片看
亚洲有码在线观看 | 一道本国产精品久久 | 午夜精品视频在线 | 日韩国产欧美亚洲 | 日韩中文字幕久久 | 日韩欧美视频在线精品网站 |