


版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、第24页 共24页电大软件工程期末复习简答题参考资料考试小抄电大软件工程期末复习-简答题 1、试从软件的特点出发分析p 软件危机产生的原因。 2、一个程序片段如下,请设计符合条件组合覆盖的测试用例。 if (a=4) &;&; (b3) | (c1) printf(“c不在计算区域n”) else printf(“%dn”, c); 3、面向对象的分析p 通常要建立三个模型,请问三个模型的作用? 4、软件工程为什么要强调规范化和文档化? 5、读懂下面的程序,调整格式,使其更容易理解,并添加注释。 int main int a10; for (int i =0;i10;i+) scanf(“%d
2、”,ai); int max=a0,min=a1; for (int j = 0;jaj?max:aj); min=(min=5) &;&; (b5) | (c5 x=10 else x=1; if b10 y=20 else y=2; if c15 z=30 else z=3; printf(“d%,d%,d%n”,x,y,z) 13、请说明快速原型化模型的基本思想。 14、下面的程序段A被程序员误写成程序段B,请设计合适的测试用例发现其中的错误。 程序段A 程序段B T=0; if (A=1)&;&; (B=2) T=T+1; else T=T+2; if (X=90) &;&;(Y=75
3、) T=T+3; else T=T+4; printf(“d%n”,T); T=0; if (A=1)&;&; (B=2) T=T+1; else T=T+2; if (X=90)&;&;(Y=4 b=4 b=0 a4 b0 a=0 c3 c=3 c=1 综合以上条件组合,设计测试用例如下(注意结果不唯一,只要满足上面的组合条件即可): a=4 b=-1 c=3 a=4 b=0 c=4 a=-1 b=-1 c=0 a=-1 b=0 c=-1 3、答案 1)功能模型:表达系统的详细需求,为软件的进一步分析p 和设计打下基础。在面向对象方法中,由用例图和场景描述组成。2)对象模型:表示静态的、结构
4、化的系统“数据”性质。描述现实世界中实体的对象以及它们之间的关系,表示目标系统的静态数据结构。3)动态模型:描述系统的动态结构和对象之间的交互,表示瞬时的、行为化的系统的“控制”特性。 4、答案 软件工程强调规范化和文档化。规范化的目的是使众多的开发者遵守相同的规范,使软件生产摆脱个人生产方式,进入标准化、工程化的生产方式。文档化是将软件的设计思想、设计过程和实现过程完整地记录下来,以便于后人的使用和维护,在开发过程中各类相关人员借助于文档进行交流和沟通。另外,在开发过程中产生的各类文档使得软件的生产过程由不可见变为可见,便于管理者对软件生产进度和开发过程进行管理。在用户最终验收时可以通过对提
5、交的文档进行技术审查和管理审查,保证软件的质量。 5、答案 int main int a10; /读入10个数据 for (int i =0;i10;i+) scanf(“%d“,ai); /max存放最大值,min存放最小值 int max=a0,min=a0; /从10个数中发现最大、最小值 for (int j = 0;jaj?max:aj); min=(min=5 b=5 b0 c1 1c5 a10 b15 c=1 B=2; A=1 B2 A=2 A1 B=90 Y=75 X=90 Y75 X=75 X90 Y=50马力 Y N N N =10年 N Y - N 有维修记录 - - Y
6、 - 送外 本厂 本车间 二、 应用题 1、答案 参考答案如下,结果不唯一。 2、答案不唯一。参考答案如下: 3、答案 答案不唯一,参考答案如下: 4、答案 5、答案 请您删除一下内容,O(_)O谢谢!20XX年中央电大期末复习考试小抄大全,电大期末考试必备小抄,电大考试必过小抄After earning his spurs in the kitchens of The Westin, The Sheraton, Sens on the Bund, and a sprinkling of other top-notch venues, Simpson Lu fi nally got the c
7、hance to bee his own boss in November 2022. Sort of. The Shanghai-born chef might not actually own California Pizza Kitchen (CPK) but he is in sole charge of both kitchen and frontof- house at this Sinan Mansionsstalwart. “Its certainly a responsibility to be the head chef, and then to have to manag
8、e the rest of the restaurant as well,“ the 31-year-old tells Enjoy Shanghai. “In hotels, for exle, these jobs are strictly demarcated, so its a great opportunity to learn how a business operates across the board.“ It was a task that management back in sunny California evidently felt he was ready for
9、, and a vote of confi dence from a pany that, to date, has opened 250 outlets in 11 countries. And for added pressure, the Shanghai branch was also CPKs China debut. “For sure it was a big step, and unlike all their other Asia operations that are franchises, they decided to manage it directly to beg
10、in with,“ says Simpson. Two years ago a private franchisee took over the lease, but the links to CPK headquarters are still strong, with a mainland-based brand ambassador on hand to ensure the business adheres to its ethos of creating “innovative, hearth-baked pizzas“, a slice of PR blurb that Simps
11、on insists lives up to the hype. “They are very innovative,“ he says. “The problem with most fast food places is that they use the same sauce on every pizza and just change the toppings. Every one of our 16 pizza sauces is a unique recipe that has been formulated to plement the toppings perfectly.“
12、The largely local customer base evidently agrees and on Saturday and Sunday, at least, the place is teeming. The kids-eat-for-free policy at weekends is undoubtedly a big draw, as well as is the spacious second-fl oor layout overlooked by a canopy of green from Fuxing Park over the road. The pany is
13、 also focusing on increasing brand recognition and in recent years has taken part in outside events such as the regular California Week. Still, the sta are honest enough to admit that business could be better; as good, in fact, as in CPKs second outlet in the popular Kerry Parkside shopping mall in
14、Pudong. “Sinan Mansions has really struggled to get the number of visitors that were envisaged when it first opened, and it hasnt been easy for any of the tenants here,“ adds Simpson. “Were planning a third outlet in the city in 20XX, and we will probably choose a shopping mall again because of the
15、better foot traffic.“ The tearooms once frequented by Coco Chanel and Marcel Proust are upping sticks and ing to Shanghai, Xu Junqian visits the Parisian outpost with sweet treats. One thing the century-old Parisian tearoom Angelina has shown is that legendary fashion designer Coco Chanel not only h
16、ad style and glamor but also boasted great taste in food, pastries in particular. One of the most popular tearooms in Paris, Angelina is famous for having once been frequented by celebrities such as Chanel and writer Marcel Proust. Now Angelina has packed up its French ambience, efficient service, a
17、nd beautiful, forting desserts and flown them to Shanghai. At the flagship dine-in and take-out space in Shanghai, everything mimics the original tearoom designed from the beginning of the 20th century, in Paris, the height of “Belle Epoque“. The paintings on the wall, for exle, are exactly the same
18、 as the one that depicts the landscape of southern France, the hometown of the owner; and the small tables are intentional imitations of the ones that Coco Chanel once sat at every afternoon for hot chocolate. The famous hot chocolate, known as LAfricain, is a luxurious mixture of four types of coco
19、a beans imported from Africa, blended in Paris and then shipped to Shanghai. Its sinfully sweet, rich and thick as if putting a bar of melting chocolate directly on the tongue and the fresh whipped cream on the side makes a light, but equally gratifying contrast. It is also sold in glass bottles as
20、takeaway. The signature Mont-Blanc chestnut cake consists of three parts: the pureed chestnut on top, the vanilla cream like stuffing, and the meringue as base. Get all three layers in one scoop, not only for the different textures but also various flavors of sweetness. The dessert has maintained it
21、s popularity for a century, even in a country like France, perhaps the worlds most petitive place for desserts. A much overlooked pairing, is the Paris-New York choux pastry and N226 chocolate flavored tea. The choux pastry is a mouthful of airy pecan-flavored whipped cream, while the tea, a blend o
22、f black teas from China and Ceylon, cocoa and rose petals, offers a more subtle fragrance of flowers and chocolate. Ordering these two items, featuring a muted sweetness, makes it easier for you to fit into your little black dress. Breakfast, brunch, lunch and light supper are also served at the tea
23、room, “a hub of many cultures“ and takes in “a mix of different styles of French cuisines“, according to the management team. The semi-cooked foie gras terrine, is seductive and deceptive. Its generously served at the size and shape of a toast, while the actual brioche toast is baked into a curved s
24、lice dipped with fig chutney. The flavor, however, is honest: strong, smooth and sublime. And you dont actually need the toast for crunchiness. This is the season for high teas, with dainty cups of fine china and little pastries that appeal to both visual and physical appetites. But there is one hig
25、h tea with a difference, and Pauline D. Loh finds out just exactly why it is special. Earl Grey tea and macarons are all very well for the crucial recuperative break in-between intensive bouts of holiday season shopping. And for those who prefer savory to sweet, there is still the selection of class
26、ic Chinese snacks called dim sum to satisfy and satiate. High tea is a meal to eat with eye and mouth, an in-between indulgence that should be light enough not to spoil dinner, but sufficiently robust to take the edge off the hunger that strikes hours after lunch. The afternoon tea special at Shang-
27、Xi at the Four Seasons Hotel Pudong has just the right elements. It is a pering meal, with touches of luxury that make the high tea session a treat in itself. Whole baby abalones are braised and then topped on a shortcrust pastry shell, a sort of Chinese version of the Western vol-au-vent, but class
28、ier. Even classier is the dim sum staple shrimp dumpling or hargow, upgraded with the addition of slivers of midnight dark truffles. This is a master touch, and chef Simon Choi, who presides unchallenged at Shang-Xi, has scored a winner again. Sweet prawns and aromatic truffles whats not to love? Hi
29、s masterful craftsmanship is exhibited in yet another pastry a sweet pastry that is shaped to look like a walnut, but which you can put straight into the mouth. It crumbles immediately, and the slightly sweet, nutty morsel is so easy to eat youll probably reach straight for another. My favorite is t
30、he dessert that goes by the name yangzhi ganlu, or ambrosia from the gods. The hotel calls it chilled mango cream with sago, pomelo and birds nest made with ingredients that resonate with every female soul. It does taste like ambrosia, with the sweet-sour fragrance of the mango forming the first layer of taste and sensation, and the pomelo sacs and sago pearls providing the tactile contrast. The birds nest its the ingredient that gilds the lily, since it is supp
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 智慧仓储与物流园区建设规划方案
- 2025版中国羽毛球行业市场发展前景分析报告(智研咨询发布)
- 转让果园合同协议书范本
- 牛放线菌病临床症状及防治措施
- 2025年中国溶聚丁苯橡胶项目创业计划书
- 2025年自动化单体设备项目调研分析报告
- 2025年往复泵项目深度研究分析报告
- 2025年氧化铂项目可行性分析报告(模板参考范文)
- 通辽智能计量仪表项目可行性研究报告
- 高低压输配电设备融资投资立项项目可行性研究报告(非常详细)
- 电子技术技能与实训电子教案12 CD4511显示译码功能测试
- 《剪映专业版:短视频创作案例教程(全彩慕课版)》 课件 第9章 创作文艺短片
- 2024光热电站化盐操作标准
- 小数计算六年级练习题
- (工贸企业)重大事故隐患考试试题及答案
- 2024年江西省高考生物试卷(真题+答案)
- 工程造价员劳动合同
- 服饰搭配艺术(山东联盟)智慧树知到期末考试答案章节答案2024年德州学院
- 2024山东财经大学东方学院教师招聘考试笔试试题
- 工作餐配送合同范本
- 水污染治理微波技术研究
评论
0/150
提交评论