问题 问答题 简答题

请简述三层C/S结构的优点。

答案

参考答案:

1、允许合理的划分三层结构的功能,使之在逻辑上保持相对独立性,从而使整个系统的逻辑结构更为合理清晰,能提高系统和软件的可维护性和可扩展性。

2、允许更灵活的选用相应的平台和硬件系统使之在处理负荷能力上与处理特性上分别适应于结构清晰的三层,并且具有可升级性和开放性

3、可并行开发,各层可选择各自最适合语言使之高效开发,从而达到较高的性价比

4、允许利用功能层有效的隔离开表示层和数据层,未授权的用户难以通过如黑客手段访问数据层,同时也更加合理和有效的控制。

单项选择题

When I was looking for a Christmas present for my daughter in a toy store, a nicely dressed little girl, with some money in her little hand, was looking at some beautiful dolls. When she saw a doll she liked, she would ask her father if she had enough money. He usually said yes.
At the same time, a boy, with old and small clothes, was looking at some video games. He, too, had money in his hand, but it looked no more than five dollars. Each time he picked up one of the video games and looked at his father, he shook his head.
The little girl had chosen her doll, a very beautiful one. However, she noticed the boy and his father. She saw the boy give up a video game with disappointment and walk to another corner of the store.
The little girl put her doll back to the shelf and ran over to the video game. After she talked to her father, she paid for the video game and whispered(耳语) to the shop assistant.
So the boy got the video game that he wanted for free—he was told it was a prize from the store. He smiled happily, although he felt it was so incredible. The girl saw all this happen. She smiled, too.
When I walked out of the store to my car, I heard the father ask his daughter why she had done that. I would never forget their short talk. "Daddy, didn’t Grandma want me to buy something that would make me happy"
He said, "Of course, she did."
"Well, I just did!" With that, the little girl started skipping towards their car happily.

The boy ______.

A. wore new and nice clothes
B. had much money in his hand
C. was from a poor family
D. wanted to get a doll very much

判断题