问题 单项选择题

下列关于接收参数和传送参数的说法中,正确的是( )。

A. 接收参数的语句PARAMTERS可以写在程序中的任意位置

B. 通常传送参数的语句DO-WITH和接收参数的语句PARAMETERS不必搭配成队,可以单独使用

C. 传送参数和接收参数排列顺序和数据类型必须一一对应

D. 传送参数和接收参数的名字必须相同

答案

参考答案:C

解析:接收参数的语句PARAMTERS,应该是模块程序的第一条可执行命令,在调用模块程序时,必须和语句 PARAMTERS语句搭配使用,发送参数和接收参数的名字可以不一样,但排列顺序和数据类型必须一一对应。

阅读理解

Monty Robert’s father was a horse trainer. As a child, Monty often went from one farm to another with his father. Sometimes they didn’t have enough money to pay for food, but Monty still kept hoping to own a horse farm.

When he was in school, his teacher asked him to write a paper about his dream. He wrote a seven-page paper. He wanted to have a horse farm one day. He even drew a picture of a horse farm in the paper.

The next day he handed it in to his teacher. Two days later, he got his paper back. On the front page was a large red “F” with the words “See me after class”. So the boy did and asked his teacher:” Why did I get an F?” The teacher said: “This dream will not come true for a young boy like you. You need a lot of money to own a horse farm. You have to buy the land. You have to pay for a lot of things. There is no way you could ever do it.” Then the teacher added: “If you write this paper

again with a simpler dream, I will give you a good grade.”

After school he thought hard about it. At last, he decided to hand in the same paper, making no changes at all. He wrote: “You can keep the F and I’ll keep my dream.”

Many years later, Monty had his own large horse farm. His dream came true.

So don’t let anyone take away your dreams. Follow your dreams, no matter what they are.

小题1:From Paragraph1, we learn that _______.

A. Monty’s family was poor

B. Monty’s father didn’t support him

C. Monty hoped to be a horse trainer

小题2:What did his teacher ask him to do when he was in school?

A. To write a seven-page paper.

B. To draw a picture about his dream.

C. To write a paper about his dream.

小题3:What was Monty’s attitude 态度 towards his paper?

A. Careless. B. Serious. C. Funny.

小题4:Monty’s teacher gave him a red “F” because he thought ______.

A. Monty’s handwriting was too bad

B. Monty copied from another student

C. Monty’s dream was too hard for him to achieve

小题5:What does the story want to tell us?

A. Follow a simple dream.

B. Never give up your dream.

C. Don’t take away others’ dreams.

问答题 简答题