试题与答案

光绪七年(1881),广东南海知县徐庚陛以“各省制办机器,均系由官设局,奏明办理

题型:选择题

题目:

光绪七年(1881),广东南海知县徐庚陛以“各省制办机器,均系由官设局,奏明办理,平民不得私擅购置”,以及机器缫丝厂“男女混杂,易生瓜李之嫌”“夺人之生业”为由,查封各处缫丝厂。这说明            

A.民族企业中存在着不良现象

B.民族工业无力同传统行业竞争

C.封建势力束缚着民族工业的发展

D.民族工业的发展引起官办企业的不满

答案:

答案:C

题目分析:材料中的“平民不得私擅购置”、“男女混杂,易生瓜李之嫌”,反映了广东南海知县以各种理由限制、查封民族工业的创办,体现了封建势力对民族工业的阻碍。故选C。

试题推荐
题型:阅读理解

Many students have already had clear ideas about what jobs they would like to have in the future. We believe boys’ choices are different from girls’. To find out how different their choices are, we made a survey in Green High School. The following diagram shows the results of the survey.

小题1:About 45% of the girls would like to be ________ in the future.

A.bank clerks

B.reporters

C.scientists

D.teachers小题2:About ________ of the boys want to be teachers as well.

A.5%

B.15%

C.28%

D.38%小题3:Which job do the girls like least?

A.Bank clerks

B.Reporters

C.Managers

D.Scientists小题4:What does the diagram show us?

A.Boys’ abilities of jobs are the same as girls’.

B.Boys’ abilities of jobs are different from girls’.

C.Boys’ choices of jobs are the same as girls’.

D.Boys’ choices of jobs are different from girls’.小题5:Which of the following statements is RIGHT?

A.More girls would like to be reporters than boys.

B.More boys would like to be bank clerks than girls.

C.Boys would like to be reporters most.

D.Girls would like to be managers most.

查看答案
题型:问答题

请编制函数ReadDat()实现从文件in.dat中读取1000个十进制整数到数组xx中;请编制函数Compute()分别计算出xx中奇数的个数odd,奇数的平均值avel,偶数的平均值ave2以及所有奇数的方差totfc的值,最后调用函数WriteDat()把结果输出到out.dat文件中。
计算方差的公式如下:


设N为奇数的个数,xx[i]为奇数,avel为奇数的平均值。
原始数据文件存放的格式是:每行存放10个数,并用逗号格开(每个数均大于0且小于等于2000)。
注意:部分源程序给出如下:
请勿改动主函数main()和输出数据函数WriteDat()的内容。
[试题源程序]
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define MAX 1000
int xx[MAX],odd=0,even=0;
double avel=0.0,ave2=0.0,totfc=0.0;
void WriteDat(void);
int ReadDat(void)

FILE*fp;
if((fp=fopen("iN.DAT","r"))==NULL)return 1;
fclose(fp);
return 0;

void Compute(void)


void main()

int i;
for(i=0;i<MAX;i++)xx[i]=0;
if(ReadDat())
printf("数据文件IN.DAT不能打开!\007\n");
return;

Compute();
printf("ODD=%d\nAVE1=%f\nAVE2=%f\nTOTFC=%f\n",odd,ave1,ave2,totfc);
WriteDat();

void WriteDat(void)

FILE*fp;
int i;
fp=fopen("OUT.NAT","w");
fprintf(fp,"%d\n%f\n%f\n%f\n",odd,ave1,ave2,totfc);
fclose(fp);

查看答案
微信公众账号搜索答案