Liberal(自由)education is becoming the task of teachers. It is (56) not only to teach and learn knowledge, but also to develop a person’s (57) Its (58) is to teach each student to think for himself and make (59) decisions. Now liberal education has a great (60) on the world. Much work has been done to find better way of teaching.In a liberal class, students are (61) to have their own thoughts and their own ideas when they have lessons which are often held in the form of (62) . They are properly guided to (63) the knowledge learned. Punishment (64) exists. Teachers and students are just like (65) .The (66) is of course a perfect one if it can really be (67) However, it only exists in the imagination and will never be (68) We must (69) that children should at least be guided properly. Just close your eyes and think how many students will (70) the duties of a student if they are not (71) . What is the (72) of advice if it is not suppor-ted by a reasonable (73) of control and punishmentIt is (74) for us to judge the success and failure of the kind of education now, but from the bad behavior of the children, which is actually the (75) of liberal education, we can see that something must be done to help these children.
A. encouraged
B. ordered
C. used
D. driven
已知文件IN16.DAT中存有100个产品销售记录,每个产品销售记录由产品代码dm(字符型4位)、产品名称mc(字符型10位)、单价由(整型)、数量s1(整型)、金额je(长整型)几部分组成。其中:金额 =单价×数量。函数ReadDat()的功能是读取这100个销售记录并存入结构数组sell中。请编制函数SortDat(),其功能要求:按产品名称从大到小进行排列,若产品名称相同,则按金额从大到小进行排列,最终排列结果仍存入结构数组sell中,最后调用函数WriteDat()把结果输出到文件OUT16.DAT中。 注意:部分源程序已给出。 请勿改动主函数main()、渎函数ReadDat()和写函数WriteDat()的内容。 试题程序: #include 〈stdio.h> #include 〈mem.h> #include 〈string.h> #include 〈conio.h> #include 〈stdlib.h> #define MAX 100 typedef struct char dm[5]; /* 产品代码 */ char mc[11]; /* 产品名称 */ int dj; /* 单价 */ int s1; /* 数量 */ long je; /* 金额 */ PRO; PRO sell [MAX]; void ReadDat (); void WriteDat(); void SortDat () main ( ) memset (sell, 0, sizeof(sell)); ReadDat (); SortDat (); WriteDat (); void ReadDat () FILE *fp; char str[80], ch[11]; int i; fp = fopen("IN16.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].s1 = atoi(ch); sell[i].je = (long) sell[i].dj * sell[i].s1; fclose(fp); void WriteDat() FILE *fp; int i; fp = fopen("OUT16.DAT", "w"); for(i = 0; i〈100; i++) fprintf(fp, "%s %s %4d %5d %101d\n", sell[i] .dm, sell[i] .mc, sell[i].dj, sell[i].s1, sell[i].je); felose (fp);