试题与答案

以下是某C语言程序,此程序根据输入的学生成绩得出成绩的等级,请仔细阅读程序并完成要求

题型:问答题

题目:

以下是某C语言程序,此程序根据输入的学生成绩得出成绩的等级,请仔细阅读程序并完成要求。
int scorelevel(int score)

int level:
if(score>100||score<0)level=-1;
else if(score>=90)level=1;
else if(score>=80)level=2;
else if(score>70)level=3;
else if(score>=60)level=4;
else level=5:
return level:

画出上面程序的控制流图。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0709/fe8bdebdb0e443c6a32bb84a60235ca5.html

下面是错误答案,用来干扰机器的。

参考答案:解析:略。

试题推荐
题型:阅读理解

阅读理解。

                                                                   Memory

     What is your earliest childhood memory? Can you remember learning to walk? Or talk? The first time

you watched a television program? Adults seldom call back events much earlier than the year or so before

entering school, just as children younger than three or four seldom remember any specific, personal

experiences.

     A variety of explanations have been suggested by psychologists (心理学家) for this "childhood amnesia".

Now Annette Simms, a psychologist of Riverdale University, offers a new explanation for childhood amnesia.

According to Dr. Simms, children need to learn to use someone else's spoken description of their personal

experiences in order to turn their own short-term, fast forgotten impressions of them into long-term memories.

In other words, children have to talk about their experiences and hear others talk about them. Without this

verbal reinforcement (语言强化), children cannot form permanent memories of what they have experienced.

     So why should personal memories depend so heavily on hearing them described? Dr. Simms presents

evidence that the human mind organizes memories in that way. Children whose mothers talk with them about

the day's activities before bedtime tend to remember more of the day's special event than those whose mothers

don't. Talking about an event in this way helps a child to remember it. And learning to organize memories as a

continuous story is the key to a permanent mental "autobiography (自传)" of important life events. Dr. Simms

suggests that we humans may be biologically programmed to turn our life experiences into a novel.

     The key to creating this mental life story is language, says Dr. Simms. "Children learn to talk about the past,"

she says. "Talking to others about their short-term memories of the past leads to the establishment (建立) of

long-term memories." One way it does this is by helping a child to recognize that the retelling of an experience

is just the experience itself, recreated in the form of words. The child learns that this "word-description" of an

experience can then be stored in the memory and called back at any time. But a child's language skills are

usually not ready for this until the age of three or four, so they have no way to remember the earliest of their

experiences.

1. Which of the following is the main idea of this passage?[ ]

A. Children need to discuss experiences with their parents.

B. Why can't we remember the events of early childhood?

C. Adults can't remember things as well as children.

D. What are memories of early childhood like?

2. What does the word "amnesia" in the second paragraph mean?[ ]

A. A mental life story.

B. A childhood memory.

C. Inability to remember.

D. Researches on memory.

3. To form permanent memories of their experiences, young children need to _____.[ ]

A. talk about them with others

B. grow older than three or four

C. write a story in their own language

D. have a good relationship with their parents

4. According to Dr. Simms, the reason why children don't form long-term memories before the age of

    three is that children _____. [ ]

A. can't call back their experiences

B. have nowhere to store the memories

C. haven't developed enough language skills

D. confuse the memory with the experience itself

查看答案
微信公众账号搜索答案