當前位置:高考升學網(wǎng) > 招聘筆試題 > 正文
二、編程題(共2題,每題15分,滿分30分)
1、閱讀下列函數(shù)說明和C代碼,將應填入 處的字句寫在答題紙的對應欄內(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個元素的最大值,并作為函數(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年河北新聞網(wǎng)兩學一做
時間:2023-09-18 07:0:242020年河北新聞網(wǎng)兩學一做
時間:2023-09-15 11:0:59兩學一做學習教育知
時間:2023-09-21 06:0:302020年開展兩學一做學習教
時間:2023-09-19 21:0:30
工商銀行招聘筆試題和面試題答案目2023-09-21 17:47:52
淘寶實習招聘筆試題和面試題答案2023-09-18 02:47:33
陜西國際商貿(mào)學院在重慶高考專業(yè)招生計劃(人數(shù)+代碼)2025-05-22 10:38:12
安徽建筑大學和新余學院哪個好 分數(shù)線排名對比2025-05-22 10:36:54
襄陽職業(yè)技術學院廣西錄取分數(shù)線及招生人數(shù) 附-2020最低位次排名2025-05-22 10:35:29
長江大學和新疆師范大學哪個好 分數(shù)線排名對比2025-05-22 10:34:16
錦州師范高等專科學校在遼寧高考專業(yè)招生計劃(人數(shù)+代碼)2025-05-22 10:32:49
山東高考排名在17550的考生能報什么大學(原創(chuàng))2025-05-22 10:31:33
廣州華立學院的英語專業(yè)分數(shù)線(附2020-最低分排名怎么樣)2025-05-22 10:30:14
蘭州石化職業(yè)技術大學的理化測試與質(zhì)檢技術專業(yè)分數(shù)線(附2020-最低分排名怎么樣)2025-05-22 10:29:06
泉州師范學院和亳州學院哪個好 分數(shù)線排名對比2025-05-22 10:27:53
貴州醫(yī)科大學在江西高考專業(yè)招生計劃(人數(shù)+代碼)2025-05-22 10:26:23
東莞城市學院和西安工商學院哪個好 分數(shù)線排名對比2025-05-22 10:24:51
山東海事職業(yè)學院的水路運輸安全管理專業(yè)分數(shù)線(附2020-最低分排名怎么樣)2025-05-22 10:23:44 


