问题 单项选择题

在贷款申请的编辑程序中,为了确保所借金额、偿还金额和分期付款间的逻辑关系,最好的控制方法是()。

A.依赖性检查

B.合理性检查

C.格式检查

D.存在性检查

答案

参考答案:A

解析:

依赖性检查测试贷款应用程序的数据元素在逻辑上是否一致。选项(b)不正确,因为合理性检查测试输入的数据是否在预定的限值范围内。选项(c)不正确,因为格式检查确保所有需要的数据以预定义的格式出现。选项(d)不正确,因为存在性检查测试输入的数据编码是否是文件或程序中包含的有效的代码。

阅读理解

阅读理解。

     I'm lying on my back in my grandfather's orchard (果园), looking up at the branches above me. It is one

of the last days of summer. Already the days are shorter and the nights are cooler. Some kinds of apples are

already ripe (成熟的). Others will be ready to pick soon. I think of my grandmother's apple pie (苹果馅饼),

and how I used to make it with her. She died last year, before the apple harvest, and I have not had her pie

since. I really miss her. I hear bees busily humming about, visiting the late summer flowers. The gentle hum

of their wings nearly sends me to sleep.

     The sky is as blue as my grandfather's eyes. Above me, big white clouds race across the sky like pieces

of cotton blowing in the wind. School starts in another week, and time seems to have slowed down.

     "Sophie!" calls my grandfather. "Is that you?" I stand up, take his hand, and tell him all about my day as

we walk through the orchard. We talk about apples, and bees, and Grandma. He tells me that he misses her

too.

     He puts his rough, brown farmer's hand around my shoulder and pulls me close. "You know, Sophie," he

says, "I spent the morning in the attic (阁楼), and you'll never guess what I found. It's the recipe (烹饪法)

for Grandma's apple pie. I used to help her make it sometimes. I can't do it all alone, but you used to help her

too. Maybe between the two of us, we can work it out. Want to try?"

     "But it won't be the same without Grandma," I tell him.

     "That's true," he says, "but nothing is the same without Grandma. Still, I don't think that she would want

us never to have another apple pie. What do you say?" I nod yes, and we walk towards home… towards an

afternoon in the farmhouse kitchen, making Grandma's famous apple pie.

1. We learn from the passage that Sophie _____.[ ]

A. likes to watch clouds in the attic

B. comes to the orchard after school

C. enjoys Grandma's apple pie very much

D. picks many apples in the orchard

2. Both Sophie and her grandfather used to _____.[ ]

A. help Grandma make apple pies

B. spend summer afternoons in the orchard

C. enjoy fresh fruit in the farmhouse kitchen

D. walk alone among the apple trees

3. The underlined part in the last paragraph shows _____. [ ]

A. how much Sophie's grandmother loved Sophie

B. how much Sophie's grandfather likes apple pies

C. how much Sophie loves her grandfather's orchard

D. how much Sophie's grandfather misses Grandma

4. Which of the following might be the best title for the passage?[ ]

A. My grandfather's orchard

B. My grandmother's apple pie

C. A morning in the attic

D. The last days of summer

问答题 计算题