当前位置: 首页 > >

计算机语言B(C语言)2006春季学期B卷及参考答案

发布时间:

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal c ontrol s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ctions, strengt heni ng operatio ns in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, co ntrol career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of chara cte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and a ss essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise develo pment i n the

2006



计算机语言 B 期末考试

得分

一、选择题(第 1—20 小题每小题 1 分,第 21—30 小题每 小题 2 分,共 40 分)

下列各题[A]、[B]、[C]、[D]四个选项中,只有一个选项是正确的,请将你认为正 确的选项填写在答题纸相应位置上,答在试题上不得分。 1.若变量已正确定义并赋值,以下符合 C 语言语法的表达式是_____________。 [A] a:=b+2 [B] a=b=c+1 [C] int 18.5%3 [D] a=a+5=c+b 2.C 语言中运算对象必须是整型的运算符是_____________。 [A] %= [B] / [C] = [D] <= 3.若已定义 x 和 y 为 double 类型,则表达式 x=1,y=x+3/2 的值是_____________。 [A] 1 [B] 2 [C] 2.0 [D] 2.5 4.有如下程序: main() { int y=3,x=3,z=1; printf("%d,%d\n",(++x,y++),z+2); } 运行该程序的输出结果是_____________。 [A] 3,4 [B] 4,2 [C] 4,3 [D] 3,3 5.能正确表达逻辑关系"a≥3"或"a≤-3"的 C 语言表达式是_____________。 [A] a>=3 or a<=-3 [B] a>=3|a<=-3 [C] a>=3&&a<=-3 [D] a>=3||a<=-3 6.设有说明语句 char a='\072',则变量 a _____________。 [A]包含 1 个字符 [B]包含 4 个字符 [C]包含 3 个字符 [D]说明不合法 7. 有如下函数调用语句 func(r1,r2+r3,(r4,r5)); 该函数调用语句中,含有的实参个数是_____________。 [A] 3 [B] 4 [C] 5 [D]有语法错误 8. C 语言中,形参缺省存储类别是 。 [A] auto [B] static [C] extern [D] register 9. C 语言程序由_____________组成。 [A]子程序 [B]过程 [C]函数 [D]主程序和子程序 10.有如下程序 main()

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher lev el of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com panie s mature an d symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

{ int x=23; do{ printf("%d",x--); }while(!x); } 该程序的执行结果是_____________。 [A] 24 [B] 23 [C]不输出任何内容 11.有如下程序 main() { int n=9; while(n>6) { n--; printf("%d",n);} } 该程序的输出结果是_____________。 [A] 987 [B] 876 [C] 8765 12.有如下程序 main() { int x=1,a=0,b=0; switch(x) { case 0: b++; case 1: a++; case 2: a++;b++; } printf("a=%d,b=%d\n",a,b); } 该程序的输出结果是_____________。 [A] a=2,b=1 [B] a=1,b=1 [C] a=1,b=0 13.有如下程序 main() { float x=2.0,y; if(x<0.0) y=0.0; else if(x<10.0) y=1.0/x; else y=1.0; printf("%f\n",y); } 该程序的输出结果是_____________。 [A] 0. [B] 0. [C] 0. [D] 1. 14. 有如下程序
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy

[D]陷入死循环

[D] 9876

[D] a=2,b=2

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

15.

16.

17.

18.

int add(int a,int b) { return(a+b);} main() { int x=3,y=6,z=9,r; r=add(add(x,y),z); printf("%d\n",r); } 该程序的输出结果是_____________。 [A] 15 [B] 16 [C] 17 [D] 18 有如下程序段 int *p,a=13,b=2; p=&a; a=*p+b; 执行该程序段后,a 的值是_____________。 [A] 16 [B] 15 [C] 14 [D]编译出错 有如下程序 long fib(int n) { if(n<2) return(1); else return(fib(n-1)+fib(n-2)); } main() {printf("%ld\n",fib(3)); } 该程序的输出结果是_____________。 [A] 2 [B] 3 [C] 4 [D] 6 有如下程序 #define N 2 #define M N+1 #define NUM 2*M+1 main() { int i; for(i=1;i<=NUM;i++) printf("%d\n",i); } 该程序中的 for 循环执行的次数是_____________。 [A] 5 [B] 6 [C] 7 [D] 8 有如下程序段 int a=14,b=15,x; char c='A'; x=(a&&b)&&(c<'B'); 执行该程序段后,x 的值为_____________。
To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d.

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

[A] true [B] false [C] 0 [D] 1 19. 若有如下说明 int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a; 则数值为 9 的表达式是_____________。 [A] *p+9 [B] *(p+8) [C] *p+=9 [D] p+8 20. 有如下程序 main() { int n[5]={3,3,3},i,k=2; for(i=0;i<k;i++) n[i]=n[i]+1; printf("%d\n",n[k]); } 该程序的输出结果是_____________。 [A]不确定的值 [B] 5 [C] 4 [D] 3 21. 若有定义:int t[3][2];能正确表示 t 数组元素地址的表达式是_________。 [A] &t[3][2] [B] t[3] [C] t[1] [D] *t[2] 22. 有如下程序 main() { int a[3][3]={{1,2},{3,4},{5,6}},i,j,s=0; for(i=1;i<3;i++) for(j=0;j<=i;j++) s+=a[i][j]; printf("%d\n",s); } 该程序的输出结果是_____________。 [A] 18 [B] 19 [C] 20 [D] 21 23. 有如下定义 struct person{char name[9];int age;}; struct person class[10]={"Zhao",17,"Qian",19,"Sun",18,"Li",16,}; 根据上述定义,能输出字母 S 的语句是_____________。 [A] printf("%c\n",class[3].name); [B] printf("%c\n",class[3].name[1]); [C] printf("%c\n",class[2].name[1]); [D] printf("%c\n",class[2].name[0]); 24.有如下程序 main() { int a=2,b=-1,c=2; if(a<b) if(b<0) c=0; else c++; printf("%d\n",c);
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

} 该程序的输出结果是_____________。 [A] 0 [B] 1 [C] 2 [D] 3 25.有如下程序 main() { int i,sum; for(i=1;i<=3;sum++) sum+=i; printf("%d\n",sum); } 该程序的执行结果是_____________。 [A] 6 [B] 3 [C]死循环 [D] 0 26. 若 x、y 是 int 型变量,则执行以下程序段后的 x,y 值是_____________。 for (y=1 ,x=1; y<=50; y++) { if (x>=10) break ; if (x%2==1) {x+=5;continue ; } x-=3; } [A] 10,6 [B] 6,4 [C] 7,8 [D] 10,2 27. 能实现求 7!阶乘运算的程序段是 。 [A] for(t=1,i=1;i<=7;i++) [B] for(t=1,i=1;i<7;i++) t=t*i; t=t*i; [C] for(t=0,i=1;i<=7;i++) [D] for(t=0,i=1;i<7;i++) t=t*i; t=t*i; 28. 有如下程序 main() { char s[]="ABCD",*p; for(p=s+1;p<s+4;p++) printf("%s\n",p); } 该程序的输出结果是_____________。 [A] ABCD [B] A [C] B [D] BCD BCD B C CD CD C D D D D 29. 若有如下说明 int w=1, x=2, y=3, z=4; 则表达式 w>x ? w: z> y ? z : x 的值是_____________。 [A] 4 [B] 3 [C] 2 [D] 1 30. 下列程序段的输出是_____________。 int *p,**p1,a=100; p=&a;p1=&p; printf("%d\n",**p1);

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

[A] a 的地址 [C] p 的地址

[B] a 的值 [D] p1 的地址

得分 1.

二、阅读程序,写出运行结果(每题 4 分,共 20 分)

#include <stdio.h> main() { int i,j,k; i=12; j=20; k=i+j; printf("k=i+j=%d\n",k); } 运行结果:

2.

#include <stdio.h> main( ) { float x,y; x=-12.34; if (x>0) y=1; if (x=0) y=0; if (x<0) y=-1; printf("x=%f\ny=%f",x,y); } 运行结果:

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

3.

#include <stdio.h> int fun(int x) { int p; if(x==0||x==1)return(3); p=x*fun(x-2); return p; } main() { printf("%d\n",fun(7)); } 运行结果:

4.

#include<stdio.h> main() { char *p[]={"POOL","opk","he","SP"}; int i; for(i=3;i>=0;i--)printf("%c",*p[i]); printf("\n"); } 运行结果:

5.

#include<stdio.h> int y=5; void sub(int x) { int y = 1; y+=x++; printf("sub: y=%d\n",y);
To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d.

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

} main() { int x = 3; sub(x); y+=x++; printf("main: y=%d\n",y); } 运行结果:

得分

三、填空题,将答案写在答题纸上(每空 4 分,共 40 分)

1. 以下函数返回 a 所指数组中最小值所在的下标值。 int fun(int *a,int n) { int i,p;

for(i=1;i<n;i++) if(a[i]<a[p]) return(p); ;

} 2. 以下函数把 b 字符串连到 a 字符串的后面,并返回 a 中新字符串的长度。 int strcen(char a[],char b[]) { int num=0,n=0; while(*(a+num)!= num++; while(b[n]) {*(a+num)=b[n];num++; return num;
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy

)

;}

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

}

3. 当前磁盘的当前目录下有名为“lut2006”的文本文件,下面的程序是从文件中 读出其中的字符,并统计文件中字符的个数,同时还要求统计出字母’b’或‘B’ 出现的个数。 #include <stdio.h> main() { char ch; int num=0,cg=0 ;

if( (fp=fopen( )) == NULL) exit(1); else while((ch=fgetc(fp)) != EOF ) { num++; if( )cg++;

} printf("num=%d\tcg=%d\n",num,cg); } 4. 请完成程序填空,使之能在运行后输出以下图形。 #include<stdio.h> main() {int i,j,k; for(i=0;i<=3;i++) {for(j=0;j<=2-i;j++) ; for(k=0;k<=2*i;k++) printf("%c",'*'); printf("\n"); } for(i=0;i<=3;i++) {for(j=0;j<=i;j++) printf(" "); for(k=0;k<= ; } printf("\n");
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

* * * * * * * * *

* * * * * * *

* * * * * * * * *

;k++) printf("%c",'*');

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

}

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

参考答案
一、选择题(1-10 每题 1 分,11-30 题每题 2 分,共 40 分)

1.B 2.A 3.C 4.D 5.D 6.A 7.A 8.A 9.C 10.B 11.B 12.A 13.C 14.D 15.B 16.B 17.B 18.D 19 B 20.D 21.C 22.A 23.D 24.C 25.C 26.A 27.A 28.D 29.A 30.B
二、阅读程序,写出其运行结果(每题 4 分,共 20 分) 1. k=i+j=32 2. x=0. y=0. 315 ShoP

3. 4. 5.

sub: y=4 main: y=8 三、填空题(每空 4 分,共 40 分) 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. p=0; p=i '\0'或 0 n++或++n 或 n=n+1 或 n+=1 FILE *fp; ”lut2006”, ”r” ch = = ’b’ || ch = = ’B’ printf( " ") 4-2*i printf("\n")

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

31.在 while(x)语句中的 x 与下面条件表达式等价的是【 】。 [A] x==0 [B] x==1 [C] x!=1 [D] x!=0 32.以下不正确的 C 语言标识符是【 】。 [A] ABC [B] abc [C] ab.c [D] a_bc 33.下面的程序【 】。 [A] 输出的是1 [B] 输出的是1和-2 [C] 输出的是3和0 [D] 是死循环 main() { int x=3; do { printf("%d\n",x=x-2); }while(!(--x)); } 34.下面程序的输出是【 】。 [A] 17 [B] 18 [C] 23 [D] 24 main() { int x=023; printf("%d\n",--x); } 35.若执行下面的程序时从键盘上输入5,则输出是【 】。 [A] 7 [B] 6 [C] 5 [D] 4 main() { int x; scanf("%d",&x); if(x++>5) printf("%d\n",x); else printf("%d\n",x--); } 11.下面程序的输出是【 】。 main() { int x=2; while(x--); printf("%d\n", x); }
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

12.下面程序的输出是【 】。 main() { int arr[10],i,k=0; for( i=0; i<10; i++) arr[i]=i; for( i=1; i<4; i++) k=k+arr[i]; printf("%d\n", k); } 13.下面程序的输出是【 】。 main() { int a=4,b=6; int *pa=&a,*pb=&b; pb=pa; printf("%d\n",*pb); } 14.有以下语句段 int n1=10,n2=20; printf("【】",n1,n2); 要求按以下格式输出n1和n2的值,每个输出行从第一列开始,请填空。 n1=10 n2=20 15.有以下程序 main( ) { int t=1,i=5; for(;i>=3;i--) t*= t*i; printf("%d\n",t); } 执行后输出结果是【 】。

三、写出下列程序的运行结果(每小题 4 分,共 20 分)
1. #include<stdio.h> main()
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

{ int i=16,j,x=6; j=i+1; x=x*i; printf("%d,%d\n",j,x); } 运行结果是:

2. #include<stdio.h> main() { int a,b,c,d; a=c=0; b=1; d=20; if(a) d=d-10; else if(!b) if(!c) d=25; else d=15; printf("d=%d\n",d); } 运行结果:

3. #include<stdio.h> main() { int i=10; switch(i) { case 9: i+=1; case 10: i+=1; case 11: i+=1; default : i+=1; {
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

printf("%d",i); } 运行结果:

4. #include<stdio.h> main() { int a[4]={1,2,3,4},i,j,s=0; j=1; for(i=3;i>=0;i--) { s=s+a[i]*j; j=j*10; } printf("s=%d\n",s); } 运行结果:

5. #include<stdio.h> main() { int i,x; x=2; for(i=3;i<=17;i=i+5); { x=x*2; printf("x=%d\n",x); } printf("i=%d,x=%d\n",i,x); } 运行结果:

四、程序填空题(每空 2 分,共 20 分)
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

阅读程序,在标有下划线的空白处填入适当的表达式或语句,使程序完整并符合题目要求。 1.已知能被 4 整除而不能被 100 整除的年份或者能被 400 整除的年份是闰年,则判断某一 年是否是闰年的程序如下: main() { int year,leap; scanf("%d",&year); if( ) leap=1; else leap=0; if( ) printf("是闰年"); else printf("不是闰年"); } 2.将 100 至 200 间不能被 3 整除的数输出。 main() { int n; for(n=100;n<=200;n++) { if(n%3==0) ; printf("%d",n); } } 3.判断 m 是否是素数。 #include <math.h> main() { int m,i,k; scanf("%d",&m); k=sqrt(m); for(i=2;i<=k;i++) if(m%i==0) ; if(i>=k+1) printf("%d is a prime!\n",m); else printf("%d is not a prime!\n",m); } 4.求 m 的阶乘。 #include<stdio.h> long fact(int t)
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

{ int i; long s= for(i=1;i<=t;i++) { s=s*i; } ; } main() { int m; long fac; printf("Please input m:"); scanf("%d",&m); ; printf("fac=%ld\n",fac); } 5.计算半径为 r 的圆的周长和面积。 #include <stdio.h> main() { float r ; float circum, area; printf("Input r:"); ; circum = 2*PI*r; printf("circum=%.2f,area=%.2f\n", circum, area); } ;

五、编程题(每小题 5 分,共 10 分)
1.计算 1-1/2+1/3-1/4+…+1/99-1/100。

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

2.任意从键盘输入 10 个整数,计算并输出该 10 个整数的*均值。

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the


得分





一、选择题: (每小题 1 分,第 35 分)

1-- 5【 】【 】【 】【 】【 】 6--10【 】【 】【 】【 】【 】 11--15【 】【 】【 】【 】【 】 16--20【 】【 】【 】【 】【 】 21--25【 】【 】【 】【 】【 】 26--30【 】【 】【 】【 】【 】 31--35【 】【 】【 】【 】【 】

得分
1. 【 2. 【 3. 【 4. 【 5. 【 6. 【 7. 【 8. 【

二、填空题(每空 1 分,共 15 分)
】 】 】 】 】 】 】 】 9. 【 10. 【 11. 【 12. 【 13. 【 14. 【 15. 【 】 】 】 】 】 】 】

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovem ent in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res po nsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ct ions, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zer o resistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play informati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care difficult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi l l busine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk rec ognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee sta ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

参考答案及评分标准
一、选择题: (每小题 1 分,第 40 题)
1--5DADAA 6--10BCCBD 11--15ACBAC 16--20DBDCA 21--25ABCCA26--30BDDDC 31—35DCBBB 4. 1 二、填空题(每空 1 分,共 20 分) return s 8 1.程序 2.256(或 2 ) fac=fact(m) 3.1000 M 4.内存 5. #define PI 3.14 5.语法 6.12 scanf("%f",r&) 7..PPT 8.IP 地址 area=2*PI*r*r; 9.ymwang@mail.lut.cn 五、编程题(每小题 5 分,共 10 10.图片另存为 11.-1 12.6 13.4 分) 14.n1=%d\nn2=%d\n 15.60 1. 三、写出下列程序的运行结果(每 #include <stdio.h> main() 小题 4 分,共 20 分) { 1. int i,k=1; 17,96 float sum=0; 2. for(i=1;i<=100;i++) d=20 { 3. sum=sum+k*1/(float)i; 13 k=-k; 4. } s=1234 printf("sum=%f\n",sum); 5. } x=4 2. i=18,x=4 #include <stdio.h> main() 四、程序填空题(每空 2 分,共 20 { int i,x,sum=0; 分) float aver; 1 . ( year%4== 0 && year%100 !=0 ) || for(i=1;i<=10;i++) year%400==0) { leap printf("input x"); 2.continue scanf("%d",&x); 3.break sum=sum+x;
m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to i mpr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s m onit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ng the n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety managem ent mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good health, happy, happy To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge ner ation com panie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of

We will conti nue to im prove the compa ny's inter nal control system, and steady impr ovement in a bility to manage and control, optimize busi nes s proces ses, to e ns ure smooth pr oce sses, re spons ibiliti es in place ; to further strengthe n inter nal control s, play a contr ol post indepe ndent overs ight role of evaluation com plying wit h third -party res ponsi bility; to a ctively make us e of internal a udit t ools detect potentia l management, streamline, sta ndar dize related tra nsa ction s, strengt heni ng operations in a ccorda nce with law. Dee pe ning the i nformation management to ens ure full communi cation "zero r esistance". To constantly perfe ct ERP, and BFS++ , and PI, a nd M IS, and SCM, i nformation sy stem base d constr uction, full i ntegration i nformation system, a chi eved informati on res ources s hared; t o expand Portal system application of brea dth a nd depth, play infor mati on system on ent erprise of As sistant rol e; to perfect dai ly run mai ntena nce operati on of records , prom ote problem reas ons a nalysi s and system ha ndover ; to strengt heni ng BFS+ +, and ERP, and S CM, te chnol ogy applicati on of training, im prove empl oyees a ppli cation information system of capa city and level. H umani stic car e to e nsure "zer o." To strengthe ning H umanitie s care, continues to foster com pany wi nd clear, and ga s are, a nd heart Shun of cultur e atmos phere ; stre ngtheni ng love hel ped trapped, care diff icult empl oyees ; carrie d out style activitie s, rich empl oyees life; strengthe ning healt h and labour protecti on, organizati on career health me dical, control career against; continues t o impleme ntation psychol ogical w arni ng preventi on system, training employ ees healt h of characte r, and stabl e of mood a nd e nterprisi ng of attitude, create d friendly fraternity of Huma nities e nvironme nt. To strengt hen ri sk manageme nt, ensure that the busi nes s of "zero risk". To stre ngthe ned busi nes s pla ns management, wi ll b usine ss busi nes s pla ns cover to al l level, e nsure the busine ss can contr ol in contr ol; to close concern fi nancial, a nd coal el ectric l inkage, a nd e nergy-saving s che duli ng, national policy tre nds , strengtheni ng track, active shoul d; to impl ementation State-owne d asset s method, further spe cification business fina ncia l management; t o perfect risk t ube control system, achieve d risk recognition, a nd meas ure, and ass essme nt, and report, a nd control feedback of close d ring ma nagement, impr ove risk preve ntion capacity. To further standardiz e trading, a nd strive to a chi eve "accordi ng to law, standardize a nd fair." Innovati on of performance management, t o ens ure that potential employee s "zero fly". To stre ngthe n performance manageme nt, pr oces s control, e nhance employ ee evaluati on a nd level s of effective communi cation to improve performance manageme nt. To furt her quantify and refine empl oyee st a ndar ds ... Work, full play party, a nd branch, a nd member s in "five type Enterpri se" construction in the of core r ole, and fighting fortres s role and pi one er mode l role; to continues to stre ngthening "four g ood" leaders hip constructi on, full play levels cadre s in enter prise development i n the

} aver=sum/10.0; printf("aver=%f\n",aver); }

m 3。 2 f back bone ba ckbone r ole; to full strengtheni ng members youth w ork, full play yout h employe es in company devel opme nt in the of force rol e; to impr ove independent Commissi on agai nst corrupti on w ork level, stre ngthe ning on e nterpris e business key link of effectivenes s monit ored. , A nd mai ntain stability. To furt her strengt hen publicity a nd e ducati on, improve the overall legal sy stem. We must stre ngthe n safety management, e stabli sh a nd impr ove the e ducation, supervisi on, and evaluati on as one of the traffic safety management mechanism. 度 高 设 搭 地 落 为 改 后 填 回 础 基 单 式 诊 急 门 o 次 四 分 , 排 双 挑 悬 用 采 架 手 脚 外 楼 技 医 房 病 confi dence. Fut ure devel opme nt opport unitie s, we more exciti ng fight more spirite d. Employees, let us together a cros s 2013 ful l of chal lenges a nd opport unities , to create a gree n, low -cost operation, full of humane care of a worl d-class pow er generation company a nd w ork hard! T he occas ion of the S pring Festival, my sincere wis h that you and the families of the staff in the new yea r, good healt h, happy, happy

To cons cienti ously sum up the Ol ympic se curity contr ols, pr omoting i ntegrated manageme nt to a hig her level, higher standards, a higher level of devel opme nt. Empl oyees, today is l unar calendar on De cember 2 4, the ox Bell i s about to ri ng, at thi s time of year, we clearly feel the pul se of the XX pow er generation company t o flourish, to more clearly hear XX power ge neration com pa nie s mature and symmetry breathi ng. Recalli ng past one a not her acr oss a rai ling, w e are ent husia stic a nd full of



相关推荐


友情链接: