题目内容

领导作风是指领导者在领导活动中表现出来的一贯态度和行为。

A. 对
B. 错

查看答案
更多问题

【程序功能】统计一个字符串中包含的字母串个数并找出其中最长的字母串。所谓字母串是指一个连续的字母序列(不区分大小写),字母串之间用非字母字符分隔。函数count的功能是统计p指向的字符串中包含的字母串个数,找出的最长字母串存放在pmax指向的数组中,函数返回字母串的个数。【测试数据与运行结果】测试数据:you are teaeher234too.屏幕输出:a=you are teacher234too.number is 4max string is:teacher【含有错误的源程序】#include #include #include int count(char p[],char pmax[]){ int j=0,k,m=0;char temp[100];while(*p){ while((!isalpha(*p)) && *p) p++;k=0;if(*p!=’\0’) m++;while(isalpha(*p))temp[k++]=*p++;temp[k]="\0";if(k { j=k;pmax=temp;}}return m;}void main(){ char a[100]="you are teacher234too.",max[100];int i;i=count(a[],max[]);if(i==0)printf("a=%S: No letter strings!\n",a);elseprinff("a=%s\nnumber is %d\nmax string is:%s\n",a,i,max);}【要求】1.将上述程序录入到文件myf1.c中,根据题目要求及程序中语句之间的逻辑关系对程序中的错误进行修改。2.改错时,可以修改语句中的一部分内容,调整语句次序,增加少量的变量说明或编译预处理命令,但不能增加其他语句,也不能删去整条语句。3.改正后的源程序(文件名myf1.c)保存在T:盘根目录中供阅卷使用,否则不予评分

Questions 45 to 48 are based on the following passage:There are several ways of listening that net us nothing but trouble, according to Dr. RalphNichols of the University of Minnesota. If we recognize and try to conquer them, we can step upour listening ability by about twenty-five percent and thereby greatly increase our chances forsuccess in our daily lives.Unless you are very unusual indeed, says Dn Nichols, you must plead guilty to several of thefollowing bad listening habits:Daydream Listening: You can think about four times as fast as the average person speaks. So youhave quite a bit of spare thinking time while waiting for the words to come in. Unconsciously, youuse this time, if you are a poor listener, to let your thoughts drift elsewhere.For instance, your teacher is giving you some background material on Americanhistory. Your mind is with him at first. Then other thoughts drift into that spare thinking space.Without warning, they have taken over your mind entirely... I mustn’t forget to go downtown afterschool for Mother. If only my bike was fixed!Maybe I can get Joe to come over Saturday and helpme... Your thoughts drift on.Suddenly, with a jolt, you hear these words: "Now we’ll have a little teston what I have been explaining." Ouch!So what to do to keep daydreams from filtering in One way is to put that extra thinking time towork--on the subject. Sum up what the speaker is saying; look for major points. Pretend you aregoing to have to repeat his ideas. Put his words into your words. It isn’t easy. It takes effort and timeto learn. But the results are sure to surprise and please you"That’s-What-You-Think" Listening: You have your own pet ideas on certain subjects. You don’tlike to hear anything which might make you question them. So when anyone begins arguing on theother side, you simply stop listening.Instead you plan what you are going to answer. Anyone whorefuses too often tolisten to the other side of a question risks becoming narrow-minded an exasperating andunattractive trait in the other fellow. Is it any more becoming to you No thanks, you say, anddecide to hear the other fellow out. Maybe he is right. Maybe you are. But you can give him a betterargument on your viewpoint if you hear what he says.Half-An-Ear Listening: Often other sounds compete for your attention and win. Your father givesyou a list of errands. But his voice must compete with, say,your favorite song on the radio. Later,you find that half an ear wasn’t enough. You didn’t listen to your father’s words closely enough tohear and remember them. You have to telephone home for a repeat performance. And you can’treally blame your father for being irritated. Better to turn off the radio, shut the door on competingnoises, if possible. If not, guard against your tendency to listen to distracting sounds.So there are the forces--some within ourselves, some outside that work against us in our efforts tolisten. But once we learn what they are and how to fight them, we are well on our way to getting rid of wasteful listening habits. Poor listening can be attributed to

A. faults within ourselves
B. bad habits
C. distracting outside influences
D. all of the above

Questions 57 to 60 are based on the following passage:I don’t know how I became a writer, but I think it was of a certain force in me that I had to write.And that force finally burst through and found a channel. My people were of the working class. Myfather, a stone-cutter, was a man with a great respect for literature. He had a tremendous memory,and he loved poetry. The poetry that he loved best was naturally of the rhetorical kind. Neverthelessit was good poetry--Hamlet’s soliloquy, Macbeth, Mark Antony’s "Funeral Oration", Grey’s "Elegy",and all the rest of it. I heard it all as a child; I memorized and learned it all.He sent me to the state university.The desire to write, which had been strong during all my days in high school, grew stronger still.I was editor of the college paper, the college magazine, etc., and in my last year or two I was amember of a course in playwriting which had just been established. I wrote several little one actplays, still thinking I would become a lawyer or a newspaper man, never daring to believe I couldseriously become a writer. Then I went to Harvard, wrote some more plays, starting to think that Ihad to be a playwright. After leaving Harvard, I had my plays rejected. And finally in the autumn of1926, I had a moment of literary inspiration that drove me forward to dedicate my life to writing.But I have never exactly been able to determine ail these questions like how, why, or in whatmannen Probably the force in me that had to write at last sought out its channel. I began to write myfirst book in London. I was living all alone at that time. 1 had two rooms---a bed room and a sittingroom in a little square in Chelsea in which all the houses had that familiar, smoked brick andcream-yellow-plaster look. The author.

A. went to Harvard to learn to write plays
B. worked as a newspaper man before becoming a writer
C. began to think of becoming a writer at Harvard
D. had always been successful in his writing career

Questions 45 to 48 are based on the following passage:There are several ways of listening that net us nothing but trouble, according to Dr. RalphNichols of the University of Minnesota. If we recognize and try to conquer them, we can step upour listening ability by about twenty-five percent and thereby greatly increase our chances forsuccess in our daily lives.Unless you are very unusual indeed, says Dn Nichols, you must plead guilty to several of thefollowing bad listening habits:Daydream Listening: You can think about four times as fast as the average person speaks. So youhave quite a bit of spare thinking time while waiting for the words to come in. Unconsciously, youuse this time, if you are a poor listener, to let your thoughts drift elsewhere.For instance, your teacher is giving you some background material on Americanhistory. Your mind is with him at first. Then other thoughts drift into that spare thinking space.Without warning, they have taken over your mind entirely... I mustn’t forget to go downtown afterschool for Mother. If only my bike was fixed!Maybe I can get Joe to come over Saturday and helpme... Your thoughts drift on.Suddenly, with a jolt, you hear these words: "Now we’ll have a little teston what I have been explaining." Ouch!So what to do to keep daydreams from filtering in One way is to put that extra thinking time towork--on the subject. Sum up what the speaker is saying; look for major points. Pretend you aregoing to have to repeat his ideas. Put his words into your words. It isn’t easy. It takes effort and timeto learn. But the results are sure to surprise and please you"That’s-What-You-Think" Listening: You have your own pet ideas on certain subjects. You don’tlike to hear anything which might make you question them. So when anyone begins arguing on theother side, you simply stop listening.Instead you plan what you are going to answer. Anyone whorefuses too often tolisten to the other side of a question risks becoming narrow-minded an exasperating andunattractive trait in the other fellow. Is it any more becoming to you No thanks, you say, anddecide to hear the other fellow out. Maybe he is right. Maybe you are. But you can give him a betterargument on your viewpoint if you hear what he says.Half-An-Ear Listening: Often other sounds compete for your attention and win. Your father givesyou a list of errands. But his voice must compete with, say,your favorite song on the radio. Later,you find that half an ear wasn’t enough. You didn’t listen to your father’s words closely enough tohear and remember them. You have to telephone home for a repeat performance. And you can’treally blame your father for being irritated. Better to turn off the radio, shut the door on competingnoises, if possible. If not, guard against your tendency to listen to distracting sounds.So there are the forces--some within ourselves, some outside that work against us in our efforts tolisten. But once we learn what they are and how to fight them, we are well on our way to getting rid of wasteful listening habits. From this piece we learn that

A. there is a difference between heating and listening
B. listening requires little skill
C. deafness is much more common than most people suppose
D. it is easier to listen alone than in a group

答案查题题库