问题 单项选择题

A good modern newspaper is an extraordinary piece of reading. It is remarkable first for what it contains the range of news from local crime to international politics, from sports to business to fashion to science, and the range of comment and special features (特定) as well, from editorial page to feature articles and interviews to criticism of books, art, theatre and music. A newspaper is even more remarkable for the way one reads it never completely, never straight through, but always by jumping from here to there, in and out glancing at one piece, reading another article all the way through, reading just a few paragraphs of the next.
A good modern newspaper offers a variety to attract many different readers, but far more than any one reader is interested in. What brings this variety together in one place is its topicality (时事性), its immediate relation to what is happening in your world and your locality now. But immediacy and the speed of production that goes with it mean also that much of what appears in a newspaper has no more than transient (短暂的) value.
For all these reasons, no two people really read the same paper: what each person does is to put together out of the pages of that day’s paper, his own selection and sequence, his own news paper. For all these reasons, reading newspapers efficiently, which means getting what you want from them without missing things you need but without wasting time, demands skill and self-awareness as you modify and apply the techniques of reading.

A modem newspaper is remarkable for all the following except its ______.

A. wide coverage



B. uniform style
C. speed in reporting news


D. popularity

答案

参考答案:B

解析:本题是是非题。本题问及现代报纸值得注意的原因,但问的是for all the following except its。四个选项的意思分别是:wide coverage广泛的新闻报道(范围);uniform style统一的风格;speed in reporting news新闻报道的速度;popularity大众性,普及性。依据文中第二句“...the range of news from local crime to international poetics, from sports to...as well”可知A选项是原因。依据文中中间“What brings this variety together in one place is its topicality, its immediate relation to what is happening in your world and your locality now.”可知C选项是原因。再依据此前一句“A good modem newspaper offers a variety to attract many different readers. But far more than any one reader is interested in.”可知D选项也是原因。只有B选项在文章中没有提及,所以B选项正确。

多项选择题
问答题


阅读以下应用程序说明和C程序,将C程序段中(1)~(6)空缺处的语句填写完整。
【说明】
某大学征询学生意见,从各学院预选的n(n≤60)位优秀大学生中,评选出“十佳大学生”。以下【C程序】对各位学生选票进行相关的统计、排序等处理。
(1)各学院预选的优秀大学生按1,2,…顺序连续编号,每个编号用两个字符表示,即01,02,…。
(2)所回收的选票按以下格式存于文件source中,每行字符串对应一张选票。其中,姓名占10个字符,学院名称占30个字符,大学生编号占20个字符。
(3)对应名次的大学生编号可以有空缺,但必须用00表示。
(4)若编号超出规定范围,或编号重复出现,按照废票处理。
(5)按选票中所列“十佳大学生”顺序给出各名大学生的得分。评分标准如下:
一 二 三 四 五 六 七 八 九 十
15 12 9 7 6 5 4 3 2 1
(6)按各位大学生得分数由高到低顺序排队,并按以下格式列出“十佳大学生”排行表。
名次 大学生编号 合计得分 合计得票数
若得分相同,则得票数多的在前;若得分和得票数都相同,则编号小的在前。
以下【C程序】中所应用到的函数fopen、fclose和fgets都是I/O程序库中的函数。
【C程序】
#include <stdio. h>
#define n 60
long int tn[n], td[n], score[n+1][10], order[n];
char s[80];
int mark[]=(15,12,9,7,6,5,4,3,2,1);
FILE *fp, *fopen();
Main()
{ int c, g, k, I, j, b[10];
long int e, d, t, tt, dd;
char * p;
for(i=0; i<=n; i++)
for(j=0; j<10; j++)
score[i][j]=0;
fP=fopen("source", "r");/*以读方式打开文件source*/
p=fgets(s, 80, fp); /*读fp所指文件的下一行字符串于s*/
while(*p){
g=l; k=0; p+=40;
while(k<10){
c=((*p++)-’0’)*10+((*p++)-’0’);
b[k++]=c)
if(c<=n){
if(c)
{ i=0;
While( (1) );
If( (2) ){g=0; break;}
}
else{g=0; break;}
}
If(g)
For(i=0; i<k; i++)
If(b[i])
(3) ;
p=fgets(s, 80, fP);
}
Fclose(fp); /*关闭fp所指文件*/
For(i=1; i<n; i++){
For(t=0, d=0, j=0; j<10; j++){
t +=(e=score[i][j]);
d +=e * mark[j];
}
tn[i-1]=t; td[i-1]=d; order[i-1]=i;
}
For(i=0; i<n-1; i++){
k=i;
for(j=i+1; j<n; j++)
if((t=td[order[j]-1])>(d=td[order[k]-1]))
k=j;
else
if(t==d){
tt= (4) ;
dd= (5) ;
for(c=0; c<10; c++)
if((e= (6) )>0){
k=j; break;}
else
if(e<0)break;
}
If(k!=i){
t=order[k]; order[k]=order[i]; order[i]=t;
}
}
For(i=0; i<10; i++)
Printf("%2d%2d%d%d\n", i+1, order[i], td[order[i]-1], tn[order[i]-1]));
}
}

【问题2】
以上C程序段中,采用了哪种算法对大学生得分进行排序