问题
单项选择题
在结构化程序设计中,模块划分的原则是
A.各模块应包括尽量多的功能
B.各模块的规模应尽量大
C.各模块之间的联系应尽量紧密
D.模块内具有高内聚度,模块间具有低耦合度
答案
参考答案:D
解析: 在结构化程序设计中,一般较优秀的软件设计尽量做到高内聚、低耦合,这样有利于提高软件模块的独立性,也是模块划分的原则。
在结构化程序设计中,模块划分的原则是
A.各模块应包括尽量多的功能
B.各模块的规模应尽量大
C.各模块之间的联系应尽量紧密
D.模块内具有高内聚度,模块间具有低耦合度
参考答案:D
解析: 在结构化程序设计中,一般较优秀的软件设计尽量做到高内聚、低耦合,这样有利于提高软件模块的独立性,也是模块划分的原则。
任务型阅读(共6小题;每小题1分,满分6分) Some birthday customs are quite similar in many parts of the world---- birthday candles(蜡烛), birthday games,and birthday cakes. But some customs are more specific to certain countries. Here are some children talking about their customs. Linda---I am fourteen. I come from Aruba. In our country,Children take something special to school for their classmates and all teachers. Each teacher gives the birthday child a small gift like a pencil, an eraser or a postcard. The birthday child is also allowed to wear special clothes instead of the school uniform. Lucy---I am one year older than Linda. Denmark is my country. A flag is flown outside a window to show that someone who lives in that house is having a birthday. Presents are placed around the child's bed while they are sleeping so they will see them at once when they wake up. Tom---I am as old as Linda. I am from Brazil. The birthday child receives a pull on the earlobe(耳垂) for each year in my country. The birthday person also gives the first slice of cake to his/her most special friend or relative, usually mom or dad. 根据短文,完成下面表格,每空不超过4个单词,并将其答案写在答题卡中相应题号的横线上。
|