软件工程复习资料-英文
- 格式:doc
- 大小:565.00 KB
- 文档页数:17
软件工程选择题 (中英文)1、软件生命周期管理1.1 什么是软件生命周期?答案:软件生命周期是指软件从开始开发直到退役的整个过程,包括需求分析、设计、编码、测试、部署和维护等阶段。
1.2 软件生命周期中的主要阶段有哪些?答案:- 需求分析阶段:确定软件系统需求、功能和性能等方面的要求。
- 设计阶段:根据需求分析的结果设计出软件系统的结构和组件。
- 编码阶段:通过编写源代码实现系统的功能。
- 测试阶段:对软件进行各种测试,包括单元测试、集成测试和系统测试等。
- 部署阶段:将软件系统部署到目标环境中,让用户可以使用。
- 维护阶段:对软件进行修复bug、升级和改进等操作,以保证系统的正常运行。
1.3 软件生命周期管理的目标是什么?答案:软件生命周期管理的目标是通过规范的过程和方法来控制软件开发过程,从而提高软件质量、降低风险和成本,以及提高项目交付的可靠性和时间性。
2、需求工程2.1 什么是软件需求?答案:软件需求是对软件系统所需要具备的功能、性能、可靠性和其他特性的描述和规定。
2.2 软件需求的分类有哪些?答案:- 功能需求:描述系统应具备的功能和行为。
- 非功能需求:描述系统性能、可靠性、可用性等方面的要求。
- 用户需求:描述用户对系统的期望和需求。
- 系统需求:将用户需求转化为系统可以理解和实现的需求。
- 验证需求:用于验证软件系统是否满足用户需求的需求。
2.3 软件需求工程的关键活动有哪些?答案:- 需求获取:通过与用户沟通、文档分析等方式获取需求。
- 需求分析:对需求进行分析,识别需求的关联和冲突等问题。
- 需求规格化:将需求用规格化的方式进行描述,如使用用例、功能规格说明等。
- 需求验证:对需求进行验证,包括需求审查、原型验证等。
- 需求管理:对需求进行跟踪和变更管理,确保需求的有效性和一致性。
3、软件设计3.1 什么是软件设计?答案:软件设计是将需求转化为具体的软件系统结构和组件的过程。
软件工程英语文档:Documents软件工具:Software Tools工具箱:Tool Box集成工具:Integrated Tool软件工程环境:Software Engineering Environment传统:Conventional经典:Classical解空间:Solution Domain问题空间:Problem Domain清晰第一,效率第二Clarity the first,Efficiency the next。
设计先于编码Design before coding使程序的结构适合于问题的结构Make the program fit the problem开发伴随复用,开发为了复用Development with reuse, Development for reuse。
靠度量来管理:Management by Measurement软件度量学:Software Metrics软件经济学:Software Economics软件计划WHY软件分析WHAT软件实现HOW软件生存周期过程的开发标准Standard for Developing Software Life Cycle Process软件开发模型:Software Development Model编码员:Coder瀑布模型:Waterfall Model快速原型模型:Rapid Prototype Model 增量模型:Incremental Model线性思维:Linear Thinking演化模型:Evolutionary Model螺旋模型:Spiral Model对象:Object类:Class继承:Inheritance聚集:Aggregation消息:Message面向对象=对象Object+分类Classification+继承Inheritance+消息通信Communication with Messages 构件集成模型:Component Integration Model转换模型:Transformational Model净室软件工程:Cleanroom Software Engineering净室模型:Cleanroom Model软件需求规格说明书:Software Requirement Specification ,SRS分析模型:Analysis Model便利的应用规约技术:Facilitated Application Specification Techniques ,FAST结构化语言:Structured Language判定树:Decision Tree基数:Cardinality事件轨迹:Event Trace对象-关系Object—Relationsship结构化分析:SA(Structured Analysis)由顶向下,逐步细化Top-Down Stepwise Refinement面向对象分析:Object-Oriented Analysis包含:Contains临近:Is Next To传到:Transmits to来自:Acquires from管理:Manages 控制:Controls组成:Is Composed of细化:Refinement抽象:Abstraction模块:Module策略:Strategy信息隐藏:Information Hiding数据封装:Data Encapsulation抽象数据类型:Abstract Data type模块化设计:Modular Design分解:Decomposition模块性:Modularity单模块软件:Monolithic Software模块独立性:Module Independence内聚:Cohesion偶然性内聚:Coincidental Cohesion逻辑性内聚:Logical Cohesion时间性内聚:Temporal Cohesion过程性内聚: Procedural Cohesion通信性内聚:Communicational Cohesion顺序性内聚:Sequential Cohesion功能性内聚:Functional Cohesion非直接偶合:No Direct Coupling数据偶合:Data Coupling特征偶合:Stamp Coupling控制偶合:Control Coupling外部偶合:External Coupling公共偶合:Common Coupling内容偶合: Content Coupling由底向上设计:Bottom-Up Design自顶向下设计:Top-Down Design正式复审:Formal Review非正式复审:Informal Review走查,排练:Walk-Through会审:Inspection映射:Mapping传入路径:Afferent path传出路径:Efferent path变换中心:Transform Center接受路径:Reception path动作路径:Action path事务中心:Transaction Center分支分解:Factoring of Brandches瓮形:oval-shaped一个模块的控制域:Scope of Control 一个模块的作用域:Scope of Effect 结构化程序设计:Structured Programming通心面程序:Bowl of Spaghetti流程图:Flow Diagram编码:Coding方框图:Block DiagramPDL (Pidgin):Program Design Language伪代码:Pseudo CodeJSD:Jackson System Development对象建模技术:Object Modeling Technique基础设施:Infrastructure控制线程:Thread of Control保护者对象:Guardian Object协议:protocolUML:Unified Modeling Language OMG:Object Management Group统一方法:Unified Method关联:Association泛化:Generalization依赖:Dependency结点:Node接口:Interface包:Package注释: Note特化:Specialization元元模型:Meta—Meta Model用户模型:User Model静态图:Static Diagram动态图:Dynamic Diagram用例视图:Use Case View逻辑视图:Logical View并发视图:Concurrent View构件视图:Component View实现模型视图:Implementation Model View部署视图:Deployment View航向:Navigability重数:Multiplicity共享聚集:Shared Aggregation组合:Composition泛化:Generalization简单消息:Simple Message同步消息:Synchronous Message异步消息:Asynchronous Message事件说明:Event_Signature守卫条件:Guard_Condition动作表达式:Action_Expression 发送子句:Send_Clause时序图:Sequence Diagram协作图:Collaboration Diagram前缀:Predecessor循环子句:Iteration-Clause活动图:Activity Diagram构件图:Component Diagram配置图:Deployment Diagram建模过程指导(RUP):Rational Unified Process可执行代码:Executalbe Codes实现:Implementation编码风格:Coding Style标准:Classical控制流的直线性:Linearity of Control Flow程序风格设计要素:先求正确后求快 Make it right before you make it faster.先求清楚后求快 Make it clear before you make it faster.求快不忘保持程序正确 Keep it right when you make it faster.保持程序简单以求快 Keep it simpleto make it faster。
1.Which question no longer concerns the modern software engineer? (a)现如今得软件工程师不再考虑以下哪个问题?a、Why does puter hardware cost so much? 计算机硬件为什么如此昂贵b、Why does software take a long time to finish?c、Why does it cost so much to develop a piece of software?d、Why can't software errors be removed from products prior to delivery?2.Software deteriorates rather than wears out because(c)软件通常就是变坏而不就是磨损得原因就是a、Software suffers from exposure to hostile environmentsb、Defects are more likely to arise after software has been used oftenc、Multiple change requests introduce errors in ponent interactions在组件交互中需求发生变化导致错误d、Software spare parts bee harder to order3.Most software continues to be custom built because(d)大多数软件产品就是定制得原因就是a、ponent reuse is mon in the software worldb、Reusable ponents are too expensive to usec、Software is easier to build without using someone else's ponents、d、Off the shelf software ponents are not monly available 现成得软件组件不常用4.The nature of software applications can be characterized by their information(d)软件应用得本质可以被特色化,通过她们信息得a、plexityb、content 内容c、determinacy (确定性)d、choices "b" and "c"5.Adding more people to a project that is already behind schedule is a good way to catch up、(F) 添加更多得人到一个项目,已经落后于时间表就是赶上一个很好得方式6.Change cannot be easily acmodated in most software systems, unless a system was designed with change in mind、(T)需求变化不适应于大多数得软件系统,除非软件在设计之初便考虑了变化因素7.Which of the items listed below is not one of the software engineering layers?(b)下面列出得项目就是不就是一个软件工程得层?a、Processb、Manufacturing制造业c、Methodsd、Tools8.What are the three generic phases of software engineering? (a)软件工程得三个一般得阶段就是a、definition, development, support定义阶段、开发阶段、维护阶段b、what, how, wherec、programming, debugging, maintenanced、analysis, design, testing9、Which of these terms is a level name in the Capability Maturity Model?(b)a、Ad hocb、Repeatable 可重复得c、Reusabled、Organized10、The linear sequential model of software development is (a)软件开发中得线性模型就是a、A reasonable approach when requirements are well defined、当需求被良好定义时得合理开发方式。
Dialogue Completion答案1–5 AADDC 6–10 CBADC 11–15 CABCB 16–20 DADBD21-25 BCDBA 26-30 CBBAA 31-35 CACAB 36-40 BBDDB41-45 ABADD 46-50 ACCDC 51-55 CBCDC 56-60 BBDCA1. Guest: Oh, I hadn’t realized how late it was. I’m afraid I’ll have to be going.Host: Oh, not yet. I’m just going to make some coffee.Guest: ____________, though I’d really love to stay. I’ve got to be up by six tomorrow morning, unfortunately. Thank you for a wonderful party.A. I’m sorry, but I mustB. Excuse me, but I have to goC. Pardon me, but I should goD. It’s a pity, but no way out.2.Mary: What are your working on?Susan: I’m doing some embroidery.Mary: ________________________Susan: I don’t do very much, just for very spe cial occasions.A.I didn’t know you did needlework.B.I think you have done a good job.C.Where did you learn to do needlework?D.Why do you do needlework?3. Tom: You are playing guitar well. Can you read music?Charles: No, I don’t. I just listen to songs on the radio and then play them until they sound right.Tom: ____________________________Charles: No, really.A. You’re lying.B. You’re cheating.C. You are boasting.D. You’re kidding.4. Connie: Are you doing pottery? It looks like fun!Frank: _________________.Connie: Boy, would I? Thanks.A.Would you please give me a hand?B. Would you please not to bother me?C. Have you ever learned how to do it?D. Would you like to try it?5. Michael: The Johnsons are moving next week. We are going to have a going-away party for them Saturday.Tracy: I didn’t realize they were moving so soon. ____________________Michael: Yes, but we’ll have one last chance to get together. We’re planning a barbecue.A.Wish them a happy journey.B.May they have a more comfortable home.C.They are really going to be missed.D.We can’t stay together forever, can we?6. Martin: Can you cover for me on Sunday? I’m supposed to teach the high school class.Lisa: Sure. ________________________Martin: We’re going to the beach for the weekend.Lisa: Well, don’t worry. I’ll take good care of Sunday school.A. What’s in?B. What’s the thing?C. What’s up?D. What’s down?7. Joe: We haven’t got together for a long time. How about lunch next week?Nancy: I’m pretty tied up all next week. How about we plan on two weeks from today? ______________________ Joe: O. K. Wednesday in two weeks.A.I can reach it on that Wednesday.B.I can make it on that Wednesday.C.I can get it on that Wednesday.D.I can assure it on that Wednesday.8. Jim: I have a pair of tickets to opera Saturday night. Would you like to go?Cindy: I don’t think so. __________________A.I’m not too wild about opera.B.I’ not too interested about opera.C.I’m not very excited about opera.D.I’m not very anxious about opera.9. Wang (guest): That was a delicious dinner.Mrs. Willis (hostess): _______________. Would you like to go to the living room now? It’s more comfortable there.A. Thank you. Don’t mention it.B. You’re welcome.C. Not so delicious, I’m afraid.D. I’m glad you enjoyed it.10. Wendy: Have you been to the new bakery on the corner?Arthur: No, how is it?Wendy: It is heaven! _________________A.Their cakes are to strive for!B.Their cakes are to struggle for!C.Their cakes are to die for!D.Their cakes are to pay for!11. Host: John, come and sit in the sofa. Dinner will be ready in a minute. Could I get you something to drink?Guest: ___________________________________A.No, don’t trouble. I’ve drunk enough.B.No, you couldn’t. I’m not thirsty.C.Yes, please. I’d like some Sprite.D.Yes, you could. I’d like some Coca cola.12. Clerk: Good morning. Can I help you?Miss Chang: Yes, I’d like a one-way ticket to Manchester 8:15 tomorrow evening.Clerk: Fifteen pounds, please.Miss Chang: _______________.A. Here you are.B. Here it is.C. There is the payment.D. Take the payment, please.13. Robert: What are you doing?Ellen: Trying to get this wine stain out of the carpet.Robert: Hang on. There’s some soda in here. It should take the stain right out.Ellen: Really? Hey, _______________________.A. it really is functioningB. it really is workingC. it really is playingD. it really is influencing14. Alan: My schedule this afternoon is an absolute mess. Between 3:30 and 4:00 I’msupposed to be in four different places. There’s no way.Adam: I’ve done that befo re. ____________________A. Anything I can help you?B. Something I can help you?C. Anything I can help you with?D. Something I can help you with?15.Tom: I see in the paper they’re sending more equipment to space. And we might have to live there someday.John: __________! I’m staying right here!A. Never IB. Not meC. No meD. None me16. Cindy: __________________________Rebecca: No, what happened?Cindy: They let him go as he is suspected to be cheating.A. Did you know John?B. Did you like John?C. Did you hate John?D. Did you hear about John?17. Salesman: Good morning. Planning to buy a new car today?Customer: ________________Salesman: What kind of car are you looking for?Customer: Something that has enough room for my family.A. I’m just looking around.B. I’m just looking everywhere.C. I’m just looking here and there.D. I’m just looking all the cars.18. Customer: I’m looking for a new living room set.Salesman: We have a lot of very nice sets. What style do you have in mind?Customer: _______________. What I need is something comfortable.A. I really don’t think.B. It’s really not necessary.C. I really don’t bother.D. It really makes no sense.19. Guest: I’d like a room with an ocean view, please.Clerk: I’m sorry. ______________.A. Those rooms are all ordered.B. Those rooms are all possessed.C. Those rooms are all owned.D. Those rooms are all held.20. Customer: ___________________Waiter: I’m sorry. Didn’t you order fried shrimp?Customer: I ordered fried chicken.Waiter: Oh, all I heard was fried shrimp. Let me have kitchen redo this for you.A.Sorry, this isn’t my dish.B.Excuse me, this isn’t what I paid for.C.Sorry, this isn’t my order.D.Excuse me, this isn’t what I ordered.21. Shop assistant: Good morning. Can I help you?Customer: _________________. I’m just looking round.A. No, you can’tB. Not at the moment, thanks.C. Yes, please.D. Yes, thank you.22. Ann: Do you still have a headache, Bill?Bill: Yes, I do. And now I have a fever and cough constantly.Ann: ________________A. That’s very regretful.B. That’s pitiful.C. That’s too bad.D. That’s worse.23. Marie: Your little boy has done a good job at school.Eva: ___________________A.Yes, you are very kind.B.No, you’re too polite.C.Thanks, but you’re exaggerating.D.Yes, I’m proud of him.24. Nancy: Hello, Ted. What’s wrong with your arm?Ted: I broke it when I was skating on the holiday.Nancy: Oh, no! ___________________Ted: Much better, thanks.A. What a nuisance!B. How awful!C. Why was that?D. What a trouble!25. Paul: Do you have to have that TV on quite so loud?Carol: ___________________. Is it bothering you?Paul: Yes, I’m trying to sleep.A. Oh, I’m sorry.B. Oh, excuse me.C. No, I don’t.D. Yes, I have to.26. Samuel: Hey, ___________________________Diana: I wish I could. But I really have to stay in and finish my paper tonight.Samuel: Oh, maybe some other time, then.A.can I come to visit you tonight?B.shall we have a barbecue some day this week?C.would you like to go to cinema with me tonight?D.John will leave Chicago tonight. Shall we go to see him off?27. Rebecca: ____________________________________Dora: Really? Well, personally, I think he wears the wrong colors. Actually light colors don’t really suit him.A.I don’t think Bob has chosen the right suit.B.I love the way Bob dresses. He always looks so smart.C.How funny Bob looks in that jacket!D.Bob’s new coat looks very expensive.28. Emily: Did anybody sign your petition?Gordon: Yes, we had a hundred signatures, ________.A) if no more B) if not moreC) if moreover D) if not larger29. Policeman:OK, buddy, your driving license. How fast were you going?William:Well it was about 50 mph or less. I was driving very slowly.Policeman:50 mph? ________________________ All right. That'll be one hundred dollars.A. Don't you know the speed limit downtown is 40 mph?B. Don’t you know the controlled speed downtown is 40 mph?C. You need to fix your car.D. You drive in the wrong way.30. Tommy: Mommy, when will we have dinner? I’m starving.Mother: _______________________. We have to wait for daddy.A. Soon, honey.B. Quickly, honey.C. O. K., honey.D. All right, honey.31. Michael: Hi, mom. I’d li ke you to meet my girlfriend, Susan Lee. Susan, this is my mother.Susan: How do you do, Mrs. Miller.Mother: How do you do, Susan. I’m glad you can join us. __________________A. Take is easy.B. Please feel natural.C. Make yourself at home.D. Feel all right here.32. Jimmy: Could I have dinner now, Mummy?Mother: Ok, Jimmy. Go upstairs and tell Daddy that everybody’s here. Then come help me _________________.A. set the tableB. arrange the tableC. place the tableD. fix the table and chairs33. Mary (after work): Shall I punch out for you, Juliet? I’m leaving now.Juliet: ___________________ I’ve to work overtime.A. Yes, thanks.B. No, not necessary.C. No, thanks.D. I don’t care.34. Alice: Ted asked me to go to the beach this weekend. What’s your plan?Laura: I’ve to work overtime. Sometimes I envy you a lot. Ted is a good guy.Alice: __________________. You just haven’t met the right person. And I think you wo rk too much. You should learn how to entertain yourself and enjoy your life.A. Come onB. OKC. Well doneD. By the way35. Nurse: Do you have any designated doctor?Patient: Yes, Dr. Hurt, Cliff Hurt.Nurse: Here is your registration card. Dr Hurt is at clinic No. 6. _______________.A.You may stay here and wait for your right.B.You can sit over there and wait for your turnC.You may stand in line here and wait for your arrangementD.You may sit here and wait for your order.36. Stephen: I want to send this package parcel post, registered.Clerk: ______________________Stephen: Yes, please, for sixty dollar.A.Do you want it guaranteed?B.Do you want it insured?C.Do you want it preserved?D.Do you want it ensured?37. Roger: Hi, Frank.Frank: Hi, Roger. The party is really nice, isn’t it?Roger: ___________. Lots of food and drinks!A. It is real.B. It sure is.C. It is certain.D. It must be.38. George: ______________________Ann: Well, it’s a great dance all right, but I’ve been to quite a few parties lately and fed up with them.A.Don’t you play happily?B.Don’t you stay here pleasantly?C.Aren’t you fond of yourself?D.Aren’t you enjoying yourself?39. Bill: Here, Cindy! I’d like you to meet my best par tner, Daniel. (To Daniel) This is Cindy, my girlfriend.Cindy: Hi, Daniel. _________________Daniel: Mostly good things I hope.A.How do you do?B.You looks handsome.C.Bill tells me you’re a good guy.D.Bill talks about you a lot.40. Jack: I’d like a hairc ut, please.Barber: Would you care for a shave and a shampoo as well?Jack: _____________________ A haircut will be just fine.A.Yes, please.B.No, thanks.C.It’s very kind of you.D.I’m glad you can think of it.41. Mother: Jimmy, what are you hiding behind your back? Let me see.Jimmy: It’s kitty. Please let me keep it. It’s a good Kitty and will not bring you any trouble.Mother: ___________. I told you. No pets. It’ll make a mess of this house.A. No wayB. Not at allC. By the wayD. On the contrary42. Sophia: There’ll be an issue next month introducing your newly publish book and I’d like to have an interview withyou, if possible.Josh: An interview? I’d like to, but I’m afraid my schedule is all fullSophia: It won’t take you lon g, Mr. Josh. __________________.A.One and a half hours will satisfyB.One and a half hours will doC.One and a half hours will goD.One and a half hours will help43. Mother: Tom, it’s 7:30, you’re going to be late for school.Tom: I feel like another five minutes’ sleep.Mother: ____________ Get dressed.A. Come on!B. Fast!C. Hello!D. Anyway.44. Bus driver: Move to the rear of the bus, please. There’s plenty of seats there.Passenger: _________________________?Bus driver: forty cents. Drop it in the box.A.What is the price, please?B.What shall be the fee, please?C.How much does it cost, please?D.How much is the fare, please?45.Passenger: Driver, I want a transfer to the 55th street cross-town bus. How much is the fare?Driver: ___________________________.A.We don’t need money for transfer.B.We have no fare for transfer.C.There’s no payment for transfer.D.There’s no charge for transfer.46. Husband: Can I wait at the coffee bar? I feel ill at ease when you are picking things out.Wife: _________________. I don’t want to shop alone. You can always give me advice, or enjoy looking at beautiful women.Husband: Don’t talk nonsense.A. Please, honeyB. All right, honeyC. Excuse me, honeyD. Sorry, honey47. Lucia: Do you have any tissue, Polly?Polly: Here. ________________Lucia: Thanks. I have a terrible headache. It seems to be flu.A.What do you want to do?B.Can I help you?C.Are you all right?D.I’m glad to help.48. Tony: Will you please pass me the saltshaker, Bill?Bill: Sure. ______________.Tony: Thank you.A. Give it to youB. Take itC. Here you areD. Hold it49. Mother: Danny! Don’t make any sound when you have your soup.Danny: Yes, Mum.Father: _____________________. He’s only a child.A.I completely agree with youB.The noise is very disturbingC.Don’t be very cruel to himD.Don’t be so hard on him50. Passenger: Taxi! (A cab stops and he goes in.)Cab driver: __________________Passenger: King’s Hotel on North Street.A.Where to go, sir?B.To where, sir?C.Where to, sir?D.Go where, sir?51. Cab driver: Here you are, sir. Queens Hotel.Passenger: How much is it?Cab driver: Three dollars and seventy-five cents.Passenger: Here is four dollars. _____________.A.Don’t give me the restB.It’s not necessary to give me the coinsC.Keep the changeD.I give up the pocket money52. Customer: Excuse me, sir.Clerk: ______________________.Customer: I’d like to cash a check. Would you please tell me which window should I go to?Clerk: You can cash checks over there at window 6.A.What? Can I help you?B.Yes, may I help you?C.It’s all right.D.It doesn’t matter.53. Patient: Excuse me miss. I made an appointment to see Dr. Smith at 4 o’clock this afternoon. My name is RalphWilliams.Nurse: Let me check, …yes, Mr. Williams. ________________. You may go in now.A.Dr. Smith is hoping you nowB.Dr. Smith is wishing you nowC.Dr. Smith is expecting you nowD.Dr. Smith is waiting you now54. Doctor: Have you lost weight recently, Mr. Bush?Bush: No, doctor. Actually, ________________.A.I’ve become three pounds fatterB.I’ve got three pounds weightC.I’ve added to three poundsD.I’ve put on three pounds55. Mr. Woods: I’d like a double room for tonight.Clerk: _________________________Mr. Woods: Yes. I called you last week from New York. My name is George Woods.A.Have you made an order?B.Have you paid beforehand?C.Do you have a reservation?D.Do you have an appointment?56. Clerk: Would you sign the register, please?Mr. Woods: Sure. ___________, does my room have a private bath?Clerk: Certainly. Every room in this hotel have a private bath.A. On the contrary.B. By the wayC. In any caseD. Sorry to trouble you57. Roger: Hurry up! We don’t have mu ch time left.Dick:. ________ We still have two hours.Roger: Come on! This is my first time ever to take a plane. I don’t want anything to go wrong.A. Go on.B. Take it easyC. All right.D. Look out.58. Hairdresser: How would you like to do your hair today? The same style as usual?Mrs Lee: I have a special party to attend tonight, and I’d like to change styles.Hairdresser: Very well. You’re not in a hurry, are you?Mrs. Lee: No. ________________.A. Be relaxed.B. Take it easy.C. Don’t worry.D. Take your time.59. Shop-assistant: May I help you, sir?Mr. Blair: Er…I want to buy my wife a gift for Christmas, but I don’t know what she would like.Shop-assistant: _______________________ These are all from Paris.Mr. Blair: No. She has very good taste in clothes. I don’t want to take the risk.A.Do you want to buy a pair of shoes?B.What about a gold necklace?C.How about an evening gown?D.Don’t you think a gold watch would be ver y nice?60. Daughter (in the kitchen): Shall I turn on the burner?Mother: ______________. I haven’t finished peeling the potatoes.A. No, not yetB. No, not stillC. No, not alreadyD. No, not just答案1–5 AADDC 6–10 CBADC 11–15 CABCB 16–20 DADBD21-25 BCDBA 26-30 CBBAA 31-35 CACAB 36-40 BBDDB41-45 ABADD 46-50 ACCDC 51-55 CBCDC 56-60 BBDCA。
软件工程专业英文介绍Software engineering is a discipline that combines principles of computer science, engineering, and project management to develop high-quality software systems. 软件工程是一门结合计算机科学、工程学和项目管理原则的学科,旨在开发高质量的软件系统。
One of the primary objectives of software engineering is to ensure that software products are delivered on time, within budget, and meet the requirements of the end users. 软件工程的一个主要目标是确保软件产品能够按时交付、在预算内完成,并满足最终用户的需求。
Software engineers play a crucial role in designing, developing, testing, and maintaining software applications. 软件工程师在设计、开发、测试和维护软件应用程序方面发挥着关键作用。
They must have a deep understanding of programming languages, algorithms, data structures, and software design principles. 他们必须对编程语言、算法、数据结构和软件设计原则有深刻的了解。
In addition, software engineers must possess good communication skills to collaborate with other team members, stakeholders, and clients. 此外,在与团队成员、利益相关者和客户合作时,软件工程师必须具备良好的沟通技巧。
Product specificationGeneric productsThe specification of what the software should do is owned by the software developer and decisions on software change are made by the developer.Customized productsThe specification of what the software should do is owned by the customer for the software and they make decisions on software changes that are required.产品规格仿制产品规范的软件应该做的是由软件开发人员和软件变更是由开发人员决定。
定制化产品规范的软件应该做的是属于客户的软件,他们决定改变是必需的。
What is software?Computer programs,associated documentation and data.软件是什么?计算机程序、相关文档和数据。
What are the attributes of good software?(随意其中4点就行)Maintainability Dependability Functionality usable security Efficiency Acceptability好的软件的属性是什么?可维护性可靠性功能可用的安全效率可接受性What is software engineering?(定义)Software engineering is an engineering discipline that is concerned with all aspects of software production from the early stages of system specification through to maintaining the system after it has gone into use.软件工程是什么?软件工程是一个工程学科,涉及软件生产的所有方面的早期阶段,系统规范通过维护系统后,已经投入使用。
软件工程专业英语词汇English:"Software engineering is a multidisciplinary field that encompasses various aspects of computer science, engineering principles, and management techniques to develop high-quality software systems. In this field, professionals utilize a wide range of technical vocabulary to communicate effectively and efficiently. Some common English vocabulary used in software engineering includes terms related to software development methodologies such as Agile, Waterfall, Scrum, and DevOps. Additionally, terminology associated with software requirements engineering, such as user stories, use cases, and requirements elicitation, is essential for understanding and documenting project specifications. Other crucial concepts involve software design patterns, which include singleton, factory, and observer patterns, among others. Furthermore, proficiency in programming languages like Java, Python, C++, and JavaScript is fundamental for software engineers to implement algorithms, data structures, and system architectures. Understanding software testing techniques like unit testing, integration testing, and acceptance testing is also indispensable for ensuring the reliability androbustness of software systems. Moreover, knowledge of version control systems like Git, along with continuous integration and continuous deployment (CI/CD) practices, is vital for managing codebase changes and automating software delivery processes. Overall, mastering software engineering vocabulary facilitates effective communication, collaboration, and problem-solving within software development teams."中文翻译:"软件工程是一个跨学科领域,涵盖了计算机科学、工程原理和管理技术的各个方面,以开发高质量的软件系统。
软件工程英语文档:Documents软件工具:Software Tools工具箱:Tool Box集成工具:Integrated Tool软件工程环境:Software Engineering Environment传统:Conventional经典:Classical解空间:Solution Domain问题空间:Problem Domain清晰第一,效率第二Clarity the first, Efficiency the next.设计先于编码Design before coding使程序的结构适合于问题的结构Make the program fit the problem 开发伴随复用,开发为了复用Development with reuse, Development for reuse.靠度量来管理:Management by Measurement 软件度量学:Software Metrics 软件经济学:Software Economics 软件计划WHY软件分析WHAT 软件实现HOW软件生存周期过程的开发标准Standard for Developing Software Life Cycle Process软件开发模型:Software Development Model编码员:Coder瀑布模型:Waterfall Model快速原型模型:Rapid Prototype Model增量模型:Incremental Model线性思维:Linear Thinking演化模型:Evolutionary Model 螺旋模型:Spiral Model对象:Object类:Class继承:Inheritance聚集:Aggregation消息:Message面向对象=对象Object+分类Classification+继承Inheritance+消息通信Communication with Messages构件集成模型:Component Integration Model转换模型:Transformational Model净室软件工程:Cleanroom Software Engineering净室模型:Cleanroom Model软件需求规格说明书:Software Requirement Specification ,SRS 分析模型:Analysis Model便利的应用规约技术:Facilitated Application Specification Techniques ,FAST结构化语言:Structured Language 判定树:Decision Tree基数:Cardinality事件轨迹:Event Trace对象-关系Object-Relationsship 结构化分析:SA(Structured Analysis)由顶向下,逐步细化Top-Down Stepwise Refinement面向对象分析:Object-Oriented Analysis包含:Contains临近:Is Next To传到:Transmits to来自:Acquires from管理:Manages控制:Controls组成:Is Composed of细化:Refinement抽象:Abstraction模块:Module策略:Strategy信息隐藏:Information Hiding数据封装:Data Encapsulation抽象数据类型:Abstract Data type 模块化设计:Modular Design分解:Decomposition模块性:Modularity单模块软件:Monolithic Software模块独立性:Module Independence内聚:Cohesion偶然性内聚:Coincidental Cohesion逻辑性内聚:Logical Cohesion 时间性内聚:Temporal Cohesion 过程性内聚: Procedural Cohesion通信性内聚: Communicational Cohesion顺序性内聚:Sequential Cohesion 功能性内聚:Functional Cohesion 非直接偶合:No Direct Coupling 数据偶合:Data Coupling特征偶合:Stamp Coupling控制偶合:Control Coupling外部偶合:External Coupling公共偶合:Common Coupling 内容偶合: Content Coupling由底向上设计:Bottom-Up Design自顶向下设计:Top-Down Design 正式复审:Formal Review非正式复审:Informal Review走查,排练:Walk-Through会审:Inspection映射:Mapping传入路径:Afferent path传出路径:Efferent path变换中心:Transform Center接受路径:Reception path动作路径:Action path事务中心:Transaction Center分支分解:Factoring of Brandches瓮形:oval-shaped一个模块的控制域:Scope of Control一个模块的作用域:Scope of Effect结构化程序设计:Structured Programming通心面程序:Bowl of Spaghetti 流程图:Flow Diagram编码:Coding方框图:Block DiagramPDL (Pidgin):Program Design Language伪代码:Pseudo CodeJSD:Jackson System Development 对象建模技术:Object Modeling Technique基础设施:Infrastructure控制线程:Thread of Control保护者对象:Guardian Object协议:protocolUML:Unified Modeling Language OMG:Object Management Group 统一方法:Unified Method关联:Association泛化:Generalization依赖:Dependency 结点:Node接口:Interface包:Package注释:Note特化:Specialization元元模型:Meta-Meta Model用户模型:User Model静态图:Static Diagram动态图:Dynamic Diagram用例视图:Use Case View逻辑视图:Logical View并发视图:Concurrent View构件视图:Component View实现模型视图:Implementation Model View部署视图:Deployment View航向:Navigability重数:Multiplicity共享聚集:Shared Aggregation 组合:Composition泛化:Generalization简单消息:Simple Message同步消息:Synchronous Message 异步消息:Asynchronous Message事件说明:Event_Signature守卫条件:Guard_Condition动作表达式:Action_Expression发送子句:Send_Clause时序图:Sequence Diagram协作图:Collaboration Diagram 前缀:Predecessor循环子句:Iteration-Clause活动图:Activity Diagram构件图:Component Diagram配置图:Deployment Diagram建模过程指导(RUP):Rational Unified Process可执行代码:Executalbe Codes 实现:Implementation编码风格:Coding Style标准:Classical控制流的直线性:Linearity of Control Flow 程序风格设计要素:先求正确后求快Make it right before you make it faster.先求清楚后求快Make it clear before you make it faster.求快不忘保持程序正确Keep it right when you make it faster.保持程序简单以求快Keep it simple to make it faster.书写清楚,不要为“效率”牺牲清楚Write clearly-don't sacrifice clarity for "efficiency"文档化:Code Documentation内部文档编制:Internal Documentation序言:Prologue用户友善:User Friendly纠错:Debugging测试用例:Test Case穷举测试:Exhaustive Testing选择测试:Selective Testing静态分析:Static Analysis黑盒测试:Black Box Testing白盒测试:White Box Testing等价分类:Equivalence Partioning边界值分析法:Boundary Value Analysis所谓猜错:Error Guessing因果图:Cause-Effect Graph逻辑覆盖测试法:Logic Coverage Testing试凑:Trial and Error回溯:Back Tracking病因排除法:Cause Elimination 测试纠错:Debugging by Testing 蛮力纠错技术:Debugging by Brute Force回归测试:Regression Testing单元测试:Unit Testing综合测试:Integration Testing确认测试: Validation Testing系统测试:System Testing模块测试:Module Testing 高级测试:Higher order Testing 不可达的:Unreachable办公桌检查:Desk Check走查:Walk-Through代码会审:Code Inspection测试驱动模块:Test Driver测试桩模块:Test Stub群:Cluster混合方式测试:Sandwich Testing 渐增式测试:Incremental Testing 非渐增式:Non-Incremental配置复审:Configuration Review 测试终止标准:Test Completion Criteria基于线程的测试:Thread-Based Testing基于使用:Use-Based基于构件的软件开发:Component Based Software Development ,CBSD领域工程:Domain Engineering 需求规约:RequirementsSpecification变体:Variant组件对象模型,COM:Componet Object Model对象链接与嵌入:Object Linking and Embedding公共对象请求代理体系结构,CORBA:Common Object Request Broker Architecture枚举分类:Enumerater Classification呈面分类:Faceted Classification 属性-值分类:Attribute-Value Classification应用系统工程,ASE:Application System Engineering完善性维护:Perfective Maintenance适应性维护:Adaptive Maintenance纠错性维护:Corrective Maintenance 预防性维护:Preventive Maintenance结构化的翻新:Structured Retrofit可维护性:Maintainability可理解性:Understandability可修改性:Modifiability可测试性:Testability调用图:Call Graph交差引用表:Cross-Reference Directory数据封装技术:Data Encapsulation维护申请单MRF:Maintenance Request Form软件问题报告单SPR:Software Problem Report软件修改报告单SCR: Software Change Report修改控制组CCB:Change Control Board软件配置:Software Configuration版本控制库:Version Control Library活动比:Activity Ratio工作量调节因子EAF:Effort Adjustment Factor软件再工程:Software Reengineering逆向工程:Reverse Engineering 重构:Restructure演化性:Evolvability问题定义:Problem Definition系统目标与范围的说明:Statement of Scope and Objectives 可行性研究:Feasibility Study系统流程图:System Flowchart 成本-效益分析:Cost-Benifit Analysis风险识别:Risk Identification风险预测:Risk Projection风险估计:Risk Estimation风险评价:Risk Assessment估算模型:Estimation Model 资源模型:Resource Model构造性成本模型:Constructive cost Model组织:Organic半独立:Semidetached嵌入:Embeded算法模型:Algorithmic Model分类活动结构图WBS:Work Breakdown Structure人员-时间权衡定律People-Time Trade-Off Law无我小组:Egoless Team主程序员小组:Chief-Programmer Team PERT:Program Evaluation and Review Technique关键路径:Critical Path知识产权:Intellectual Property 靠质量来管理:Management by Measurement质量保证:Quality Assurance质量认证: Quality Certification质量检验:Quality Inspection全面质量管理TQC:Total Quality Control质量体系:Quality System计划-实施-检查-措施 Plan-Do-Check-Action合格论证:Conformity Certification可靠性:Reliability效率:Efficiency运行工程:Human Engineering正确性:Correctness使用性:Usability完整性:Integrity可理解性:Understandability可测试性:Testability可修改性:Modifiability可移植性:Portability可维护性:Maintainability可适应性:Flexibility可重用性:Reusability交互操作性:Interoperability 验证与确认:Verification and Validation ,V&V基线:Baselines平均故障时间:Mean Time To Failure ,MTTF错误传入:Error Seeding冗余:Redundancy容错:Fault Tolerance公理化归纳断言法:Axio-Matic Inductive Assertion循环不变式:Loop Invariant能力成熟度模型:Capability Maturity Model关键过程域:Key Process Area ,KPA关键实践:Key Practice初始级:Initial可重复级:Repeatable已定义级:Defined已管理级:Managed优化级:Optimizing主任评估师:Lead Assessor极值程序设计:Extreme Programming自适应软件开发:Adaptive Software Development轻载:Light weight重载:Heavy Weight返工:Rework进度:Schedule时间:Duration成本:Cost代码行LOC:Lines of Code面向功能:Function-Oriented面向规模: Size-Oriented功能点:Function Points权系数:Weighting Coefficient用户输入:User Input用户输出: User Output用户查询: User Inquirty主文件处理:Master File外部界面:External Interface TCF:Technical Complexity Factor 技术复杂性因子测度:Measurement最终用户:End-User;计算机辅助软件工程CASE:Computer Aided Software Engineering拉出:pull-out下拉: pull-down一致性:Unification自动化:Automation过程模型:Process Model软件开发环境SDE:Software Development Environment软件设计支持环境PSE:Programming Support Environment集成化项目支持IPSE:Integrated Project Support Environment集成化框架:Integration Framework质量从头抓起:Quality from Beginning 缺陷:Defect变更请求:Change Request功能扩充:Enhancement Request。
What is software?Computer programs and associated documentation such as requirements, design models and user manuals.Software products may be developed for a particular customer or a general market.Generic product: It is a kind of software. These are stand-alone systems that are produced by a development organization and sold on the open market to any customer who is able to buy them.Customized (bespoke) products: These are systems which are commissioned by a particular customer. A software contractor develops the software especially for electronic that customers.What is software engineering?Software engineering is an engineering discipline that is concerned with all aspects of software production.What is a software process?Software processes are the activities involved in producing and evolving a software system.Generic activities:Specification - what the system should do and its development constraintsDesign and Development - production of the software systemValidation - checking that the software is what the customer wantsEvolution - changing the software in response to changing demands.what is software process model?A simplified or abstract representation of a software process, presented from a specific perspective.Generic process models describe the organisation of software processes.Including: Waterfall model, Iterative/Evolutionary development, Component-based software engineering.WaterfallCBSE /Reuse-oriented development软件描述?Software specification?The process of establishing what services are required and the constraints on the system’s operation and development. (The process of developing a software specification)主要阶段:可行性研究、需求导入和分析、需求描述、需求有效性验证。
软件工程复习资料1.What are the phases of the SDLC?2.What is meant by a "waterfall" life cycle model?3.What concept suggests repeating activities over andover until you achieve your objective?4.What concept suggests completing part of the systemand putting it into operation before continuing with the rest of the system?5.What are functional requirements?6.What are nonfunctional requirements?7.Explain the use of a discovery prototype.8.Explain the use of an evolutionary prototype.9.What are the three types of events?10.Which type of event results in data entering thesystem?11.Which type of event occurs at a defined point in time?12.Which type of event does not result in data entering thesystem but always results in an output?13.What is a generalization/specialization hierarchy?14.From what type of class do subclasses inherit?15.What are two types of whole-part hierarchies?16.What UML diagram can be used to show how theinterface objects are plugged in between the actor and the problem domain classes during a dialog?17.What UML diagram can be used to show the interfaceobjects that are contained in a window or form?18.What is UML?19.What type of modeling is it used for?20.What is a use case description?21.What is an activity diagram?22.What is the ?includes? relationship used for?23.With regard to a use case, what is an activity diagramused for?24.What is the purpose of a system sequence diagram?25.What symbols are used in a system sequence diagram?26.What is the primary objective of systems design?27.What is the difference between analysis and design?28.List the activities of the design phase of the SDLC.29.What role does middleware play?30.What is three-layer design? What are the mostcommon layers found in three-layer design?31.What is the purpose of a package diagram? Whatnotation is used? Show an example.32.What is a source code control system?33.Why is such a system necessary when multipleprogrammers build a program or system?34.Define the terms acceptance test, integration test,system test, and unit test. In what order are these tests normally performed? Who performs (or evaluates the results of) each type of test?35.Identify the five important principles and practicesthat are driving many of the current trends in software development. Briefly explain each.AbstractionModels and modelingReuse.Methodology36.What is a software component?1.What characteristics of a project call for a predictiveapproach to the SDLC?2.What characteristics of a project call for an adaptiveapproach to the SDLC?3.What are some features of the Unified Process (UP)?4.Write a one-page paper that distinguishes among thefundamental purposes of the analysis phase, the design phase, and the implementation phase.5.Describe the types of feasibility used to evaluate aproject.6.What is the difference in the focus on the boundarycondition of a use case diagram and an event table? 7.What is a precondition? What is a postcondition? Whyare they important in use case development?8.What are the steps required to develop a systemsequence diagram?9.List and briefly describe the function of each layer inthree-layer architecture.10.What is meant by navigation visibility? How is it shownin UML? How is it implemented in programming code?11.Why is three-layer design a good principle?12.What factors make testing object-oriented programsmore complex than testing structured programs?13.Why have software components only recently comeinto widespread use?14.In what ways do components make softwareconstruction and maintenance faster?15.What would you do if you got conflicting answers forthe same procedure from two different people youinterviewed? What would you do if one was a clericalperson and the other was the department manager?16.Consider the following sequence of actions taken by acustomer at a bank. Which action is the event theanalyst should define for a bank account transactionprocessing system? (1) Kevin gets a check fromgrandma for his birthday. (2) Kevin wants a car. (3)Kevin decides to save his money. (4) Kevin goes to thebank. (5) Kevin waits in line. (6) Kevin makes a deposit in his savings account. (7) Kevin grabs the depositreceipt. (8) Kevin asks for a brochure on auto loans. 1.Draw an entity relationship diagram, includingminimum and maximum cardinality, for the following: The system stores information about two things: carsand owners. A car has attributes for make, model, andyear. The owner has attributes for name and address.Assume that a car must be owned by one owner, and an owner can own many cars, but an owner might not own any cars (perhaps she just sold them all, but we stillwant a record of her in the system).2.Draw a class diagram for the cars and ownersdescribed in exercise 9 but include subclasses for sports car, sedan, and minivan with appropriate attributes. 3.Consider a system that needs to store informationabout computers in a computer lab at a university, such as the features and location of each computer. What are the things that might be included in a model? What aresome of the relationships among these things? Whatare some of the attributes of these things? Draw anentity- relationship model for this system.4.Refer to the class diagram for bank accounts in Figure5-38. Expand the model to show that there are specialtypes of customers—personal and commercial. All customers have a name and mailing address. Commercial customers have additional attributes for credit rating, contact person, and contact person phone. Personal customers have attributes for home phone and work phone. In addition, expand the model to show that the bank has multiple branches, and each account is serviced by one branch. Naturally, each branch has many accounts.。
Chapter 1 An Introduction to Software Engineering*What is software?—Computer programs and associated documentation and Data-Two fundamental types of software product: generic products and customized products*What is software engineering?—Software engineering is an engineering discipline which is concerned with all aspects of software production*What is the difference between software engineering and computer science?—Computer science is concerned with theory and fundamentals;—software engineering is concerned with the practicalities of developing and delivering useful software*What is a software process?-A set of activities whose goal is the development or evolution of software—Generic activities in all software processes are:•Specification 、Development 、Validation 、EvolutionChapter 4 Software Process*Software process-Software processes are the activities involved in producing and evolving a software system。
3. Which of the following storage systems is best suited for storing and retrieving long strings of data that are processed in their sequential order?ca. Main memoryb. magnetic diskc. optical CDs and DVDs4. Which of the following mass storage system does not required physical motion?a. magnetic tapeb. magnetic diskc. DVDsd, Flash drives5. How many different symbols can be encoded using Unicode?a. 256b. 4096c. 65536d. 1046476[i]6. A computer's main memory consists of numerous memory cells, each of which contains_8__bits. Each memory cell is identified by a numeric value called the cell's __address__.7. Represent the bit pattern 1011,0100,1001,1111 in hexadecimal notation.B49F8. A7DF is the hexadecimal representation for what bit pattern?1010 0111 1101 11119. Under what condition is each of the following data compression techniques most effective?a. Run-length encodingContains long sequences of data of the same valueb. Relative encodingThere is not much difference between consecutive data[i]2. Which of the following instructions (as described in the language description table) changes the contents of a memory cell?a. 10ABb. 20ABc. 30ABd. 40AB3. Which of the following instructions (as described in the language description table) places 00000000 in register A?a. 1A00b. 2A00c. 3A00d. 200A4. In which of the following locations is information most readily available for manipulation by the CPU?a. General-purpose registersb. Main memoryc. Mass storage5. Which of the following instructions falls in the category of data transfer instructions?aa. LOADb. ANDc. ROTATEd. JUMP7. If registers 0, 1, and 2 contain the patterns A5, A5, and B7, respectively, which of the following instructions will result in a jump to location AA? (refer to the language description table)a. B0AAb. B1AAc. B2AA8. If registers 0 and 1 contain the patterns B5 and F0, respectively, what will be in register 1 after executing each of the following instructions? (refer to the language description table.),b5,f0a. A102 c3b. 4001 b5c. 4010 f09. Encode each of the following commands in terms of the machine language described in language description table. 27a5,17a5,5456,7456a. ___ LOAD register 7 with the value A5b. ___ LOAD register 7 with the contents of the memory cell at address A5.c. ___ ADD the contents of registers 5 and 6 as thought they were values in two's complement notation and leave the result in register 4.d. ___ OR the contents of registers 5 and 6, leaving the result in register 4.10. Decode each of the following instructions that were encoded using the language description table.a. A004 rotate the bit pattern in register 0 to the right 4 timesb. 1234 load the register 2 with the bit pattern found in the memory cell whose address is 34c. 5678 add the bit pattern in regiser7 and register 8 as they were two complement representations and leave result in register 6d. C000 halt execution1. Which of the following components of an operating system maintains the directory system? ba. Device driversb. File managerc. Memory maneger2. Which of the following components of an operating system handles the details associated with particular peripheral equipment? aa. Device driversb. File managerc. Memory manager3. Which of the following components of an operating systems is not part of the kernel? aa. Shellb. File managerc. Scheduler5. which of the following is not a role of a typical operating system? da. Control the allocation of the machine's resourcesb. control access to the machinec. maintain records regarding files stored in mass storaged. Assist the computer user in the task of processing digital photographs6. Which of the following would not require real-time processing? ca. Typing a document with a word processorb. Navigation of an aircraftc. Forecasting word-wide trade for the next five year periodd. Maintaining a airline reservation system7. Fill in the blanks below with the part on the operating system(file manager, memory manager, device drivers, window manager, scheduler, dispatcher) that performs the activity described.a. _windows manager__ Maintains a record of what is displayed on the computer's screenb. _dispatcher__ Performs the switching from one process to anotherc. _file manager__ Maintains the directory systemd. _memory manager__ Creates virtual memory8. List three popular operating systems.a. linuxb.unixc. Microsoft windows series10. Describe the bootstrap process.1. Automatically run bootstrap when power is on2. Direct CPU to transfer operating system from a predetermined location in mass storage into the volatile area of the main memory3. Directs CPU to execute a jump instruction to that area of memoryMultiple Choice Questions1. Which of the following is not a means of performing inter-process communication over a network? ba. Client/serverb. ICANNc. Peer-to-peer2. Which of the following is not a means of referencing entities on the Internet? ca. URLb. IP addressc. Anonymous FTPd. Host address3. List three network topologiesa. _ring__b. _star__c. _bus__4. Name the portion of the url below that identify the directory containing the file being addressed. Name the portion that identifies the protocol that should be used when accessing the file. And name the portion that identifies the file name itself.a. _http://www_protocol name__b. _domain name___c. _directory___5. IP address used in the Internet are _32__ bits long and consist of two parts. One part, which identifies the domain, is called the_network identifier__ and the other, which identifies a particular machine within that domain, is called the_host address__.6. Fill in the blanks in the HTML document below so that the term "Earth" will be linked to the HTML document "earthinfo.html" in the directory "earthdir" at "."<html><head><title>Earth page</title></head><body><p>The planet we live on is called_<a href=”/earthdir/earthinfo.html”__Earth_</a>___</p></body></html>7. in each blank below write the html tag that performs the indication functiona. <body> begins the part that describes what will appear on the computer screenb. </html>marks the end of the html documentc. <p> marks the beginning of a paragraphd. </a> marks the end of a term that is linked to another document8. The client/server model refers to a form of inter-process communication in which one process, known as the __server__, runs continuously so that it can be contacted by other processes, known as _client__, as needed. In contrast is the _peer-to-peer__ model of inter-process communication in which two processes communicate as equals.9. Where would be the most likely place to put a firewall to provide each of the following services?a. _gateway __ protect an entire domain from attacks from the cloud.b. __mail server_ protect an entire domain from spam.c. _individual computer__ protect an individual machine from worms and viruses.10. What is the difference between hubs, switches, and routers?Hubs: central network device used in a star topology to join networksSwitches: connect several compatible networks(link network segment and forward and filter frames between segments)Routers: connecting two incompatible networks result in a network of networks called Internet1. Which of the following is an activity? ca. algorithmb. programc. process2. which of the following set of instructions defines an algorithm in the formal, strict sense?ba. x←3;while (x<5) do(x←x)b. x←3;while(x<5) do(x<--x+1)c. x<--3;while (x<5) do(x<--x-1)3. Which of the following is not a means of repeating a block of instructions?da. pretest loopb. posttest loopc. recursiond. assignment statement4. The insertion sort algorithm is an example of an algorithm in which of the following classes? d5. Which of the following is not a way of representing algorithms?aa. Stepwise refinementb. pseudocodec. flowchartd. programming language6. Define each of the following terms.a. Algorithm _a set of steps that define how a task is performed___b. Program _the representation of an algorithm__c. Process _the activity of executing an algorithm__7. What sequence of values will be printed when the following instructions are executed?6 28. what sequence of numbers would be printed if the following procedure were executed with the value of N being 0? 0 2 2 49. Rewrite the following routine using a pretest while statement.repeat (print the value of X;x<--x+1)until(x>5)10. Use a repeat loop rather than a while loop to accomplish the same results as the following program segment. Assume that X will have only integer values.(You may also use an if statement if you like)while (x<5) do(print the value of X;x<--x+1)1. Most machine languages are based on the aa. Imperative paradigmb. Declarative paradigmc. Functional paradigmd. Object-oriented paradigm2. Which of the following does not require a Boolean structure? ca. If-then-else statementb. While loop statementc. assignment statementd. for loop statement3. Which of the following is not a step in the process of translating a program? aa. Executing the programb. Parsing the programc. Lexical analysisd. code generation4. Which of the following is ignored by a compiler? da. control statementsb. Declarations of constantsc. procedure headersd. comment statements5. Which of the following is not constructed by a typical compiler?a. source codeb. symbol tablec. parse treed. object program6. List two disadvantages of both machine languages and assembly languages that are overcome by high-level programming languages._programmers must think as a machine_____inherently machine dependent____One-to-one correspondence between machine instructions and assembly instructions7. Indicate how each of the following types of programming languages is classified in terms of generaion (first generation, second generation, or third generation). 3 12a. high-level languages_third__b. machine languages_one__c. assembly languages_two__8. In the context of the object-oriented paradigm, _classes__ are templates from which_objects__are constructed. We say that the latter is an instance of the former.9. What does it mean to say that a programming language is machine independent?Means source code can run on various platform, without modification for the sake of particular operating system or hardware10. Explain the distinction between translating a program (in a high-level language) and interpreting the program.Translating: convert source code to machine language code which called object codeInterpreting: convert source code to machine language on statement at a time just before execution.1. Which of the following is most likely an example of a one-to-one relationship?da. subscribers and magazinesb. birth dates and peoplec. planets and their moonsd. dinner guests and table settings2. which of the following is a form of glass-box testing?aa. basis path testingb. boundary value analysisc. beta testing3. Which of the following is not represented in a class diagram?da. generalizationsb. the methods within a classc. the attributes within a classd. the number of instances each class will have4. which of the following is the oldest approach to software development?ba. component architectureb. waterfall modelc. open-source developmentd. extreme programming5. which of the following is a stronger form of cohesion?aa. functional cohesionb. logical cohesion6. identify the stage of software development in which each of the following activities is performed.a. _implementation__programming is conducted.b. _design__class diagrams are drawn.c. _analysis__User needs are analyzed.7. During the analysis stage of software development, user needs are identified in the form of non-technical _system requirements__ that are then converted into technical _system specifications__.8. prototyping occurs in two forms. In one, called _evolutionary_ prototyping the original prototype is slowly enhanced to become the final product. In the other, called _throwaway_ prototyping, the original prototype is used as an "experimental" system that is ultimately discarded.9. Identify two distinctions between software engineering and other traditional fields of engineering.The ability to conduct system from generic prefabricate componentThe role of tolerance: traditional fields of engineering deals with the products that are acceptable as long as they perform their task within certain bounds. Software performs either correctly or incorrectly.The lack of quantitative system for measuring the properties of software.10. In what sense is the software life cycle different from the life cycle of other products?1). change often introduce more problems than it solve2). Problem currently focuses primarily on improving initial stage of software life cycle3). The major phrase within software development phrase of the software life cycle are analysis, design, implementation, testing1. which of the following is a LIFO structure? ba. arrayb. stackc. queued. tree2. Suppose a binary tree contained the nodes W,X,Y, and Z. If W and X were children of Y, and Z had no children, which node would be the root? ca. Wb. Xc. Yd. Z3, Which of the following is not a means of locating an entry in a linked storage structure? da. head pointerb. child pointerc. root pointerd. NIL pointer4. Answer the following questions in terms of tree below.the root node is _a__.three nodes that are siblings are_b__,_c__,and _d__.the terminal nodes are _e f g__.the node with only one child is _b__.5. Two special forms of lists are the LIFO structures known as _stack__, in which entries are inserted and removed from the _top__, and FIFO structures known as _queue__, in which entries are removed from the _head__ and inserted at the _tail__.6. Suppose the expression X[1,1] referred to the first-row, first-column entry in a two-dimensional array with 5 rows and 7 columns. If the array is stored in row-major order beginning at memory address x and each entry in the array requires n memory cells, what address polynomial would be used to compute the address of the beginning of the entry x[I,J]?X+n*((i-1)*7+j-1)7. What sequence of nodes from the tree would be printed if the following recursive procedure were applied to it? Acg8. If the longest path in a binary tree contains five nodes, what is the maximum number of terminal nodes that could be in the tree?2n-1 = 1610. Why is a queue normally implemented as a circular queue?1. stored in a contiguous block in which the first entry is considered to follow the last entry2. prevent a queue from crawling out of its allotted storage space。
软件工程导论(第5版)考试知识点汇集(Collection of test knowledge points in Software Engineering Introduction (FifthEdition) )Chapter 1: introduction to software engineering1.1 software crisis: refers to a series of serious problems encountered in the development and maintenance of computer software.The following aspects are shown:(1) it is hard for users to be satisfied with the software developed.(2) the quality of software products is often unreliable.(3) general software is hard to maintain.(4) the efficiency of software production is very low.(5) the cost of software development is more and more big.(6) software cost and development schedule are difficult to estimate.(7) the development of software technology can not meet the needs of the popularization and deepening of computer applications.2. definition of software: software is another part of computer system which is interdependent with hardware. It is a complete set of programs, data and related documents. Software = program + data + document1.2. software engineering definition: an engineering discipline to guide the development and maintenance of computer software.4. basic principles of software engineering:1) strict management with a phased life cycle plan2) adhere to the stage review3) strict product control4) adopt modern programming techniques5) the results should be clearly reviewed6) the development team should be few and refined7) recognizing the need for continuous improvement of software engineering practices5. methodology of software engineeringThe collection of a set of technical methods used throughout the software life cycle is often called methodology.Three elements of software engineering: tools, methods and processes.Traditional methodology; object oriented methodology.1.3 software life cycleA, feasibility analysis and development plan: mainly determine the development goal and feasibility of software.B, requirements analysis: in determining the feasibility of software development, the software needs to realize each function is analyzed in detail.C, design (outline design and detailed design): according to the results of requirements analysis, the whole software system is designed, such as system framework design, database design and so on.D, encoding: converts the results of software design into code programs that can be run by the computer.E, test: after the software design is completed, we must go through rigorous testing, to find the software problems in the whole design process and correct it.F, maintenance: after the software development is completed and put into use, due to various reasons, the software can not continue to adapt to the requirements of users1.4 software process1. traditional waterfall model: is an overall development model, the physical realization of the program is concentrated in the late stage of development, the user can see his product in the end.2. rapid prototyping model: the user can give a complete and accurate description of the demands ituation, according to the group of the basic needs of users, the rapid construction of a prototype (software), and then evaluate the further refinement and adjustment of prototype, which meet the requirements of the users, developers will also make better do understand.3. incremental model: a model that incrementally develops software versions that are progressively improved.4. helix model: spiral model is an organic combination of waterfall model, prototype model and incremental model, and increases the risk analysisFeasibility study of the second chapter2.1 the purpose of the feasibility study: to determine whether the problem in the definition of the problem is worth solving, and whether the problem can be solved under the constraints.The task of feasibility study:(1) the definition of the problem is further analyzed and clarified, and the logical model of the system is derived on the basis of clarifying the problem;(2) from the system logic model, choose several main solutions to the problem, study the feasibility of each solution, and make recommendations for future actions;(3) if the problem has no feasible solution, it is suggested to stop system development; if there is a feasible solution to the problem, a better solution should be recommended and a preliminary plan for the project should be worked out.2.2 content of feasibility study process:(1) technical feasibility: whether the existing technology can realize the system, the existing technical personnel can be competent, the development of the system resources can meet;(2) economic feasibility: is the economic benefit beyond the development cost?;(3) operational feasibility: does the system operate within the user?(4) legal feasibility: whether the new system development infringes on the interests of others, the collective or the state, and whether it violates the laws of the state.Steps of feasibility study?(1) review the size and objectives of the system;(2) study the system currently in use, sum up the advantages and disadvantages of the existing system, and propose the rudiment of the new system;(3) a high-level logic model for deriving new systems;(4) recommended proposal;(5) recommended action policy;(6) writing plan task book (feasibility report);(7) submit a review.2.3 system flow diagram: use graphic symbols to describe each component of the system in black box form2.5 data dictionary: the collection of all objects and their relations in the database.Methods: the top-down decomposition of data, when decomposed to no need to further define, and each project related people are also clear the elements of its meaning, then the decomposition process is over.2.6 cost / benefit analysis cost estimation: the cost of software development is mainly manifested as humanc onsumptionCost / benefit analysis methods: first, estimate costs and benefits; then compare costs and benefits; judge whether to develop from an economic point of view. 1, the time value of money; 2, investment recovery period; 3, net income; 4,investment recovery rate.The third chapter: demand analysis3.1, the task of requirement analysisMission: define the goals of the future system accurately and determine what the system has to do to meet the needs of the users.Requirements composition: business requirements, user requirements, system requirements;3.2, the method of communication with users to obtain requirements: A, interview; B, data flow oriented top-down refinementC, simple application specification technology; D, rapid prototyping software3.3, analysis modeling and specificationComposition includes:(1) Introduction: writing purpose, background description, term definition and reference material, etc..(2) outlining the main functions, constraints, or special needs.(3) data flow graph and data dictionary.(4) user interface, hardware interface and software interface.(5) performance requirements, attributes, etc..(6) other requirements, such as database, operation and fault handling, etc..1) analytical modelingModelIt is a kind of abstraction to understand things and make things, and it is an unambiguous description of thingsConsisting of a set of graphical symbols and rules for organizing these symbols.Modeling methodData model entity relation diagram; function model data flow diagram; behavior model state transition diagram2) specification of software requirementsUsually use natural language + model, complete, accurate and specific description of system data requirements, functional requirements, performance requirements, reliability and availability requirements, error handling requirements, interface requirements, constraints, and reverse demand which may be in the future.3.4, entity relation diagram (E-R diagram)The fifth chapter: overall design5.1 design processSystem design phase: determine the specific implementation of the system; structure design phase: determine the structure of softwareThe main task of the overall design is to complete the design of software structure, determine the relationship between modules and modules of the system.5.2 design principleThe 1. module: the program is divided into independent naming and independent access module, each module to complete a sub function of the modules are integrated together to form a whole, complete function and meet the requirements of users.2. abstraction: the essential nature of abstract transactions, without considering their details for the moment.3. step by step refinement;4. information hiding and localization;5. module independence;5.3 heuristic rules: 1. improve software structure to improve module independenceThe 2. module is moderate in scale 3. proper control of depth, width, fan out and fan in4. The scope of the module should be within the control domain5, reduce the complexity of the interface6, single out, single entry, avoid content coupling7, module function can be predictedThe sixth chapter: detailed design6.1 structure program designClassical definitionThe 3 basic control structures are connected only by sequence, selection and loop, and each block has single entrance and single exit characteristicsComprehensive definitionProgramming method of using GOTOs tatement as few as possible. It is best to use GOTOs tatements only when errors are detected, and should always use forward GOTO statementsThe main task of detailed design?Write the "detailed design instructions" of the software. The work that thesoftware personnel should complete:(1) determine the algorithm for each module, select a suitable tool to express the process of the algorithm, and write the detailed process description of the module(2) determine the data structure used by each module(3) determine the details of the module structure, including the interface to the system and the user interface, the interface to other modules within the system, and the details of the module input data, output data and local data(4) design a set of test cases for each module, so that the module code(i.e. program) is scheduled for testing in the encoding phaseProgram control structure: any program logic can be represented by three basic structures: sequence, selection and loop, and two extension structures, selection and loop.6.2 man-machine interface designPrinciple: 1. system response time; 2. user assistance facility3. error information processing;4. command interactionHuman computer interface design guideGeneral interactive guideGuide to information displayData entry Guide6.3 tools for process design1. program flow chart2. box diagram (N-S diagram)3. PAD diagram - problem analysis diagram4. decision table6.4 data oriented design methods1. Jackson diagram2. improved Jackson graph3.Jackson methodThe seventh chapter: Implementation7.1 codingDefinition: translating software design results into programs written in some programming languageSelect the general guidelines for programming languages:?System user requirementsA compiler that can be usedAvailable software toolsEngineering scale?Programmer's knowledge?Requirements for software portability?The application domain of softwareThe task of coding: using the selected programming language, translating the process description of the module into the source code written in language (source code).Coding style guidelines.(1) source code: including appropriate identifiers, appropriate annotations, reasonable layout and clarity of the program list;(2) data: data structure or data type that the order of standardization; the name of the variable as far as possible;on complex data structures to illustrate the implementation method of the data structure in the program design in the notes.(3) the statement structure is simple: don't save space will write multiple statements on the same line; to avoid the complicated conditions and non condition test; avoid using nested loops and nested conditions; brackets use is to make logical expressions and arithmetic operations in order to clear and intuitive expression.Efficiency: (4) considering the time memory efficiency, input / output running efficiency; in dealing with the relationship between program correctness, clarity and efficiency between the first for the program right after the fast; first for clear and fast; in order to keep the program simple fast; write clearly is not clear "efficiency" sacrifice.7.2 software testing foundationThe goal of software testing is to find out and eliminate the bugs in the software as much as possible, and finally give a high quality softwaresystem to the usersSoftware testing criteria(1) all tests should be traceable to user requirements(2) the test plan should be worked out before the test beginsOnce the requirements model is completed, the test plan can be startedAfter building the design model, you can start designing detailed test scenarios(3) Pareto principle: 80% of the errors found in the test are likely to be caused by 20% of the modules in the program. The problem is how to find these suspicious modules and test them thoroughly(4) start from "small scale" test, and gradually carry out "large-scale" test First, focus on testing a single program module, then focus on testing the integration module cluster, and finally find errors in the entire system(5) test cases should be composed of two parts: input data and expected output results, taking into account both reasonable input and unreasonable input data(6) exhaustive testing is impossibleExhaustive testing is a test that checks all the possible execution paths of a program(7) in order to achieve the best test results, independent third parties should be engaged in the test workSoftware testing methodStatic testing: the basic feature is to analyze, check and review the software, not actually running the software being tested.Dynamic testing: by running software to check the dynamic behavior of the software and the correctness of the resultsSoftware testing steps: 1. module test, 2. subsystem test, 3. system test4. acceptance test5. parallel operation7.3 unit testUnit test emphasis: module interface; local data structure; important execution path; boundary condition; error handling channel7.4 white box testing technologyFirst, logical coverageLogical coverage is the design of test cases based on the logical structure of the program.Statement coverageDecision coverageConditional coverageDecision condition coverageConditional combination coverPath coverage7.5 black box testing technology1. Equivalence class divisionDivide the input domain of the program (all possible input data) into several data classes2. Boundary value analysis3. Error guessing: it is a special case that lists possible errors and errors in the program, and chooses the test plan according to them7.6 debuggingDebugging is the process of eliminating errors after testing errorsThe first step: determine the location of the error (95% workload);The second step: correct mistakes.Debugging approach debugging strategy1. brute force method: print the contents of the memory, looking for the wrong clues, is the lowest efficiency of the program debugging method.2. backtracking: starting from the discovery of the problem segment, manually tracing back to the analysis of the program code, until the error is found.3. reasons exclusion methodIt includes: searching, induction and deduction7.7 software reliability: 1, basic concepts1 reliability (Reliability): the probability of a successful operation of a program within a given time interval according to the specifications.2 availability (Usability): the probability of successful operation of a program at a given time point and in accordance with the specifications.3 correctness (Correctness): the function of the program is correct.The eighth chapter: maintenance8.1 definition of software maintenanceThe process of modifying software in order to correct errors or meet new requirements after the software has been delivered.8.2 characteristics1. comparison between structured maintenance and unstructured maintenance2. The cost of maintenance3, maintenance issues8.3 processIn essence, the software definition and development process is modified and compressed1. Establish maintenance organization2. Maintenance Report3. Maintenance of event streams4. Records of preservation and maintenance5. Evaluate maintenance activities8.4 software maintainabilityMaintenance personnel understand, correct, change and improve the difficulty of the software.1. The factors that determine software maintainability2, documentation - the determinant of maintainability is more important than code.3, reviewThe ninth chapter is an introduction to object oriented methodology9.1 overview9.2 basic concepts of object oriented objectObjects can either be concrete physical entities, or can beartificial concepts, or anything that has definite boundaries and meanings.Object definitionDefinition 1: an object is a set of operations with the same state.Definition 2: an object is an abstraction of something in the problem domain, which reflects the system's ability to store information about it or interact with itDefinition 3: objects: =<ID, MS, DS, MI>Name, operation set, data set, message name collection (i.e. external interface) accepted by objectsCharacteristic :Data centric, no data independent operations;The object is active: the object is active and not passively waiting to be processed, and the external can only be operated by message request;3. Encapsulation: external operation,It is not necessary to know the data structure and algorithm inside the object;(4) parallelism: different objects independently process their own data, and only communicate with each other by passing messages;Module independence is good: strong cohesion, coupling loose。
1164. Define the short-term goal of artificial intelligence.5. Define the long-term goal of artificial intelligence.6. Explain social intelligence, creativity, and general intelligence.7. List seven major researches on artificial intelligence.8. Explain deduction, reasoning, and problem solving.9. Explain knowledge representation.10. Learn about automated planning and scheduling.11. Explain what machine learning is.12. Discuss natural language processing.13. Discuss AI game.14. Discuss what areas have used artificial intelligence.15. Answer what characteristics of artificial intelligence have been used in Apple’s products.Termsartificial intelligence (AI)(人工智能)—Artificial intelligence (AI) is the intelligence exhibited by a machine or software. It is also an academic field of studying computer as well as software that are capable of intelligent behavior.expert system(专家系统)—In artificial intelligence, an expert system is a computer system that emulates the decision-making ability of a human expert.social intelligence(社会智能)—Social intelligence is the capacity to effectively navigate and negotiate complex social relationships and environments.combinational explosion(组合爆炸)—Combinational explosion means that the amount of memory or computer time required becomes astronomical when the problem goes beyond a certain size.knowledge representation(知识表示)—Knowledge-representation is the field of artificial intelligence that focuses on designing computer representations that capture information about the world that can be used to solve complex problems.automated planning and scheduling(自动规划和调度)—Automated planning and scheduling, in the relevant literature often denoted as simply planning, is a branch of artificial intelligence that concerns the realization of strategies or action sequences, typically for execution by intelligent agents, such as autonomous robots and unmanned vehicles.machine learning(机器学习)—Machine learning is the study of computer algorithms。
Lecture 1 An Introduction to Software Engineering 1 what does software engineering concern?1) Software engineering is concerned with theories, methods and toolsfor professional software development.2) Software engineering is concerned with cost-effective softwaredevelopment.2 What is software?Software includes:①computer programs②data structures③documents3 What is the two types of software productsGeneric software(通用软件) and custom software(定制软件)4 The three key elements of a successful software project are:on time, within budget, satisfies the user’s needs5 Generic activities in all software processes are:Specification(描述), Development(开发), Validation(有效性验证), Evolution (进化)6 The attributes of good software include:Maintainability(可维护性), Dependability(可依赖性), Efficiency(有效性), Acceptability(可接受性)Lecture 2 Software Processes1 What is a software process modelA software process model is an abstract representation of a software process. It presents a description of a process from some particular perspective.2 Draw the graphic presentation of Waterfall model and describe its character.1)这种模型把软件过程划分成几个顺序的阶段。
阶段间具有依赖性,前一个阶段结束,后一个阶段才能开始;2)这种模型很难对用户变更做出调整,只适用于需求非常清楚和需求变更被严格限制的情况下。
3 Describe the basic principle of evolutionary development and its two types进化式开发的基本思想是先开发一个原型给用户使用,通过用户反馈意见来不断修改系统直到最后成熟,所以又被称作快速原型开发方法。
它不主张将描述、开发和有效性验证等活动分开进行,而是让这些活动迭代执行,同时让这些活动能得到快速的反馈信息。
进化式开发有两种基本类型:探索式开发和抛弃式原型法。
4 Draw the graphic presentation of incremental delivery and describe its character在这种开发方式中,系统不是作为一个整体交付,而是被分解成若干个增量,每个增量交付系统的部分功能。
用户的需求按优先级排队,优先级最高的需求被放入最早交付的增量中。
这样,优先级最高的系统功能就得到最多的测试,系统的可靠性较高。
5 Describe the characters of Spiral development.(对照模型去理解)1) Process is represented as a spiral rather than as a sequence of activities with backtracking.2) Each loop in the spiral represents a phase in the process.3) No fixed phases such as specification or design - loops in the spiral are chosen depending on what is required.4) Risks are explicitly assessed and resolved throughout the process.Lecture 3Requirements Engineering1 Draw the graphic presentation of requirement engineering process.2 Describe the difference of functional requirements, non- functional requirements, Domain requirements.Functional requirements describe the services that the system should provide and how the system should react to particular inputs and how the system should behave in particular situations.Non-functional requirements describe the constraints on the services or functions offered by the system such as timing constraints, constraints on the development process, standards, etc.Domain requirements come from the application domain of the system and that reflect characteristics of that domain.3 Describe the difference between user requirements and system requirements.1) User requirements should describe functional and non-functional requirements in such a way that they are understandable by system users who don’t have detailed technical knowledge.User requirements are defined using natural language, tables and diagrams as these can be understood by all users.2) System requirements are more detailed specifications of system functions, services and constraints than user requirements.They are intended to be a basis for designing the system.They may be incorporated into the system contract.System requirements may be defined or illustrated using system models.4 Describe the process activities of requirements elicitation. Requirements elicitation process is an iterated process.1) Requirements discovery(需求发现)Interacting with stakeholders to discover their requirements. Domain requirements are also discovered at this stage.2) Requirements classification and organization(需求的分类与组织)Groups related requirements and organises them into coherent clusters.3) Prioritisation and negotiation(优先排序和冲突解决)Prioritising requirements and resolving requirements conflicts.4) Requirements documentation(需求文档化)Requirements are documented and input into the next round of the spiral.5 what are viewpoints and what are the types of viewpointsViewpoints are a way of structuring the requirements to represent the perspectives of different stakeholders. Stakeholders may be classified under different viewpoints.There are three types:1) Interactor viewpointsPeople or other systems that interact directly with the system. In an ATM, the customer’s and the account database are interactor VPs.2) Indirect viewpointsStakeholders who do not use the system themselves but who influence the requirements. In an ATM, management and security staff are indirect viewpoints.3) Domain viewpointsDomain characteristics and constraints that influence the requirements. In an ATM, an example would be standards for inter-bank communications.5 Write down at least four principles of delaminated DFD.①顶层数据流图上的数据流必须封闭在外部实体之间。