问题 单项选择题

斗程序如果把它作为一个整体,它也是只有一个入口、一个出口的单个顺序结构,这是一种______。

A.结构程序

B.组合的过程

C.自顶向下设计

D.分解过程

答案

参考答案:B

解析: 如果一个程序只是由顺序结构、选择结构、循环结构所组成,这种程序就称为结构程序。以上三种结构中的后两种,如果分别把它们看作一个整体,它们各自都只有一个入口、一个出口,则这是一种组合的过程,即把一个较复杂的结构看作一个整体,若干个整体又组合成更大的整体,最后得到一个顺序结构(程序)。

单项选择题
单项选择题

Recently, I flew to Las Vegas to attend a meeting. As we were about to arrive, the pilot announced with apology that there would be a slight (16) before setting down. High desert winds had (17) the airport to close all but one runway. He said that we would be (18) the city for a few minutes waiting to (19) . We were also told to remain in our seats meanwhile with our seat belts fastened (20) there might be a few bumps(颠簸). Well, that few minutes turned into about four-five minutes, including a ride that would make a roller coaster(过山车) (21) by comparison. The movement was so fierce that several passengers felt (22) and had to use airsickness bags. As you might guess, that’ s not a good thing to have happen in a(n) (23) space because it only (24) to increase the discomfort of the situation.

About twenty minutes into the adventure, the entire airplane became very (25) There was now a sense of anxiety and fear that could be (26) noticed. Every passenger simply held on for dear life …except one. A (27) was having a good time! With each bump of the (28) , he would let out a giggle (咯咯地笑)of delight. As I observed this, I (29) that he didn’t know he was supposed to be afraid and worried about his (30) . He neither thought about the past nor about the future. Those are what we gown--ups have learned from (31) . He was (32) the ride because he had not yet been taught to fear it. Having understood this, I took a deep breath and (33) back into my seat, pretending I was (34) on a roller coaster. I smiled for the rest of the flight. I even (35) to giggle once or twice, much to the chagrin(随恼) of the man sitting next to me holding the airsickness bag.

19()

A.attempted 

B.managed 

C.wanted 

D.decided