题目
A.that
B.when
C.which
D.where
第1题
A.marrying
B.marriage
C.married
D.to marry
第2题
第3题
阅读以下说明和C++程序,将应填入(n)处的字句写在对应栏内。
[说明]
以下程序的功能是统计学生成绩,包括输入学生的姓名和成绩,按成绩从高到低排列打印输出,对前百分之七十的学生定为合格(PASS),而后百分之三十的学生定为不合格(FAIL)。例如,当输入4名学生的姓名和成绩“Alice 67 Mary 90 Tom 56 John 88”后,程序的执行结果如下:
姓名 成绩 合格否
Mary 90 PASS
John 88 PASS
Alice 67 FAIL
Tom 56 FAIL
[C++程序]
include <stdio.h>
include <string.h>
define N 10
class student
{ protected:
char name[10];
int deg;
public:
void setname(charna[]) {strcpy(name,na);}
char * getname() {return name;}
void setdeg(int d) {deg= d;}
int getdeg(){return deg;}
};
class compute
{ int ns;
student na[N];
public:
void getdata();
void sort();
void disp();
};
void compute::getdata()
{ int i,tdeg;
char tname[10];
printf("输入学生人数:");
scanf("%d",&ns);
printf("输入学生姓名和成绩:\n");
for(i=0;i<ns;i+ +){
scanf("%s%d",tname,&tdeg);
(1);
na[i].setdeg(tdeg);
}
}
void compute::sort()
{ int i,j,pick;
(2);
for(i=0;i<ns-1;i+ +){
pick=i;
for(j=i+1;j<ns;j+ +)
if(na[j].getdeg()>na[pick].getdeg()) (3);
temp=na[i];
na[i]=na[pick];
na[pick]=temp;
}
}
void compute::disp()
{ int cutoff,i;
printf("RESULT\n");
printf("姓名 成绩 合格否\n");
cutoff=ns*7/10-1;
for(i=0;i<ns;i+ +) {
printf("%-6s%3d",(4));
if((5)) printf("\tPASS\n");
else printf("\tFAIL\n");
void main()
{ compute obj;
obj.getdata();
obj.sort();
obj.disp();
}
第4题
An Organization that Supports the Arts
Aside from perpetuating itself, the sole purpose of the American Academy and Institute of Arts and Letters is to "foster, assist and sustain an interest" in literature, music, and art. This it does by enthusiastically handing out money. Annual cash awards are given to deserving artists in various categories of creativity: architecture, musical composition, theater, novels, serious poetry, light verse, painting, sculpture. One award subsidizes a promising American writer' s visit to Rome. There is even an award for a very good work of fiction that failed commercially--once won by the young John Updike for The Poorhouse Fair and, more recently, by Alice Walker for In Love and Trouble.
The awards and prizes are total about 750,000 a year, but most of them range in size from 5,000 to 12,500, a welcome sum to many young practitioners whose work may not bring in that much money in a year. One of the advantages of the awards is that many go to the struggling artists, rather than to those who are already successful. Members of the Academy and Institute are not eligible for any cash prizes. Another advantage is that, unlike the National Endowment for the Arts or similar institutions throughout the world, there is no government money involved.
Awards are made by committee. Each of the three departments----Literature (120 members), Art (83), Music (47)-----has a committee dealing with its own field. Committee membership rotates every year, so that new voices and opinions are constantly heard. The most financially rewarding of all the Academy - Institute awards are the Mildred and Harold Strauss Livings. Harold Strauss, a devoted editor at Alfred A. Knopf, the New York publishing house, and Mildred Strauss, his wife, were wealthy and childless. They left the Academy -Institute a unique bequest: for five consecutive years, two distinguished (and financially needy) writers would receive enough money so they could devote themselves entirely to "prose literature" (no plays, no poetry, and no paying job that might distract). In 1983, the first Strauss Livings of 35,000 a year went to short -story writer Raymond Carver and novelist- essayist Cynthia Ozick. By 1988, the fund had grown enough so that two winners, novelists Diane Johnson and Robert Stone, each got 50,000 a year for five years.
Which of the following can be inferred about Alice Walker' s book In love and Trouble?
A.It sold more copies than The Poorhouse Fair.
B.It described the author' s visit to Rome.
C.It was a commercial success.
D.It was published after The Poorhouse Fair.
第5题
In the following century, children's literature began to bloom. Hans Christian Andersen's wonderful stories like "The Ugly Duckling", and "The Little Mermaid", and Grimm brothers collected two volumes of German folktales that included stories such as "Snow White" and "Rumpelstiltskin". Childhood came to be recognized as a joyful and carefree period of life, and books celebrating it began to be published. Charles Dodgson (Lewis Carrol) wrote the fantasy "Alice in Wonderland", the first book that was intended purely for children's enjoyment without any pretense of instruction. Edwards Lear's books of nonsense poetry delighted both young and old readers. In North America, books for a young audience were becoming popular as well. Kate Douglas Wiggin wrote "Rebecca of Sunnybrook Farm", Louisa May Alcott wrote "Little Women", and Samuel Clemens (Mark Twain) created Tom Sawyer and Huckleberry Finn. By the end of the century, the pious and moralistic books of earlier times had been replaced by writing designed to amuse and entertain a young audience. In the 1800s color printing was introduced, and by the middle of the 19th century, the rough illustrations that characterized earlier children's books had been replaced by works of art that captured the word and some of the story.
The word "constitute" underlined in Paragraph 1 most probably means ______.
A.form
B.talk
C.plan
D.look
第6题
A. Alice only
B. Alice and Reena
C. Alice, Reena, and Timber
D. Sue, Alice, Reena, and Timber
第8题
Can you find out ____________her pen?
A.where Alice had put
B.where had Alice put
C.where Alice has put
D.where has Alice put
第10题
A.Alice 的公钥
B.Alice 的私钥
C.Bob 的公钥
D.Bob 的私钥
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!