问题 单项选择题

下列关于风湿病的病因和发病机制的叙述哪项是错误的()

A.本病多始发于儿童

B.患者血清抗链球菌抗体滴度明显升高

C.多见于热带地区

D.发病前多先有急性扁桃体炎和咽峡炎

E.抗生素的广泛应用,降低了风湿病的发病率

答案

参考答案:C

阅读理解
任务型阅读。
Dear friends ,
      My name is Frank. I am from America. Here is a picture of our class. We are in Class 3, Grade 7. The name of our school is St John's High School. We are learning Chinese in our school. Our Chinese teacher's name is Joy Wang. Can you see her in the picture?
      You can see my friends in the picture , too. Jimmy is tall and has black hair. He is good at playing basketball. He is on the school team. Mary is short and is wearing a yellow dress. She is good at math. Sandra has long hair. She can speak French. Sally is a black girl. She has short hair. She likes swimming. She is on the
swimming team. I like music. Can you find me? I'm the boy with glasses. Maria is new here. She is from
Hong Kong. She has black hair and black eyes. She speaks English well, and she is very good at computer. Nick is big. He has small eyes. He is fun. He can play football.
     Send(寄) me a picture of your class and tell me about your friends !
                                                                                                                                              Yours ,
                                                                                                                                               Frank
根据短文内容,完成下列表格。
What he/she is good at
Name
What he/she has
What he/she likes
/
Frank
5                      
music
1                      
Mary
6                      
/
/
Nick
small eyes
11                  
2                    
Jimmy
7                      
12                   
French
Sandra
8                      
/
3                   
Maria
9                      
13                    
4                   
Sally
10                     
14                  
问答题

已知在文件IN.DAT中存有100个产品销售记录,每个产品销售记录由产品代码dm(字符型4位)、产品名称mc(字符型10位)、单价dj(整型)、数量sl(整型)、金额je(长整型)五部分组成。其中:金额=单价*数量计算得出。函数ReadDat()读取这100个销售记录并存入结构数组sell中。请编制函数SortDat(),其功能要求:按产品名称从大到小进行排列,若产品名称相同,则按金额从大到小进行排列,最终排列结果仍存入结构数组sell中。最后main()函数调用函数WritDat()把结果输出到文件OUT.DAT中。
提示:若中间变量为PRO temp,则可以直接使用结构赋值语句进行解题;产品名称比较请用函数strcmp进行解题。
例如,sell[i]=temp。
注意:部分源程序存放在PROG1.C中。请勿改动主函数main()、读函数ReadDat()和输出函数WriteDat()的内容。
[试题程序]
#include
#include
#include
#define MAX 100
typedef struct
char dm[5];/*产品代码*/
char mc[11];/*产品名称*/
int dj; /*单价*/
int sl; /*数量*/
long je; /*金额*/
PRO;
PRO sell[MAX];
void ReadDat();
void WriteDat();
void SortDat()


void main()

memset(sell,0,sizeof(sell));
ReadDat();
SortDat();
WriteDat();

void ReadDat()

FILE *fp;
char str[80],ch[11];
int i;
fp=fopen("in.dat","r");
for(i=0;i<100;i++)
fgets(str,80,fp);
memcpy(sell[i].dm,str,4);
memcpy(sell[i].mc,str+4,10);
memcpy(ch,str+14,4);ch[4]=0;
sell[i].dj=atoi(ch);
memcpy(ch,str+18,5);ch[5]=0;
sell[i].sl=atoi(ch);
sell[i].je=(long)sell[i].dj*sell[i].sl;

fclose(fp);

void WriteDat()

FILE *fp;
int i;
fp=fopen("out.dat","w");
for(i=0;<100;i++)(
fprintf(fp,"%s%s%4d%5d%10ld\n",sell[i].dm,sell[i].mc,sell[i].dj,sell[i].sl,sell[i].je);

fclose(fp);