1、software doesn't include _____. a、data b、cpu c、manual d、contract
2、which of the following statement about software is not true? a、software is abstract. b、software is portable. c、software wears out. d、software is logical entity.
3、which of the following statements about software characteristics is true? a、software can have multiple copies. software can have multiple copies. - 正确 b、software is a kind of concrete physical entity. c、the faults in a software system come from wearing out. d、software is something mysterious mastered by some geniuses.
1.3 软件工程职业道德和从业规范随堂测验
1、which of the following is not a software engineering code of ethics? a、software engineers shall be fair to and supportive of their colleagues. b、software engineers shall participate in lifelong learning regarding the practice of their profession and shall promote an ethical approach to the practice of the profession. c、software engineers shall advance the integrity and reputation of the profession consistent with the public interest. d、software engineers shall maintain dependence in their professional judgment.
第一章 单元测试
1、which of the following is true about the possible effect of adding new programmers to a software project?__ 关于增加新程序员到软件项目的可能效果,下列哪个是正确的?__ a、production will generally be sped up because new programmers generally bring bright new implementation ideas to a project. b、production will generally be slowed down because of the need for training and additional coordination. c、production will generally be sped up because programmers are generally most productive when they first start on a project. d、production will generally be sped up because of the decrease in pressure on the programmers already working on the project.
2、which of the following statements about computer science and software engineering is correct? ______ 关于计算机科学和软件工程的以下语句哪个是正确的? ______ a、computer scientists and software engineers care about the same thing. b、software engineers always try to find all kinds of solutions for the target software system. c、computer scientists' job is to find the most suitable solution for software system. d、the relationship between computer science and software engineering is just like the one between chemistry and chemical engineering.
3、which of the following statements is not correct? _______ 以下哪个语句是不正确的? _______ a、client is the individual or organization that wants a product to be developed. b、developers are the members of the organization responsible for building that product. c、user is the person or persons on whose behalf the client has commissioned the product and who will utilize the software. d、the client, developer and user cannot be the same person or the same organization.
4、which of the following statements about software is true? __________ 以下哪个语是正确的? _______ a、software is transplantable. b、software is a kind of concrete physical entity. c、the faults in a software system come from wearing out. d、software is something mysterious mastered by some geniuses.
5、which of the following statements about ethical issues is not correct? ___________ 关于伦理问题的以下哪些语句是不正确的? ___________ a、most societies for professionals have a code of ethics to which all its members must adhere. b、if the software engineers act in the best interests of their client and employer, he won't be able to act consistently with the public interest. c、software products are developed and maintained by humans. if those individuals are hard working, intelligent, sensible, up to data and above all, ethical, then the chances are good that the way that the software products they develop and maintain will be satisfactory. d、the two major societies for computer professionals, the association for computing machinery (acm) and the computer society of the institute of electrical and electronics engineers (ieee-cs) jointly approve a software engineering code of ethics and professional practice as the standard for teaching and practicing software engineering.
6、which of the following is not software ? ___________ 以下哪项不是软件? ___________ a、testing plan b、users c、contract d、requirements documents
7、which of the following is true?____________ 以下哪项是正确的? ___________ a、a class can be taken as a module. b、business requirements is the easiest task during software life cycle, because no design and coding occur during the phase. c、hardware wears out. so does software. that is why software needs maintenance. d、the task of requirements workflow is to collect and determine what client really wants.
8、___________ is a discipline whose aim is the production of fault-free software, delivered on time and within budget, that satisfies the client's needs. ___________是一个学科,其目标是生产无故障的软件,按时,在预算内交付,满足客户的需求。 a、software engineering b、software process c、software d、software testing
9、which of the following statements about software characteristics is true? _________ 关于软件特性的描述哪项是对的? _________ a、the faults in a software system come from wearing out. b、software is something mysterious controlled by some geniuses. c、software is transplantable. d、software is a kind of concrete physical entity.
10、which of the following is not a software engineering code of ethics?______ 以下哪项不是软件工程的道德规范?_____ a、software engineers shall advance the integrity and reputation of the profession consistent with the public interest. b、software engineers shall participate in lifelong learning regarding the practice of their profession and shall promote an ethical approach to the practice of the profession. c、software engineers shall maintain dependence in their professional judgment. d、software engineers shall be fair to and supportive of their colleagues.
11、software engineers shall act consistently with the _______ interest. 软件工程师应按照和_______的利益一致行事。 a、public b、friends c、government d、family
12、which of the following is not software? __________ 以下哪项不是软件? __________ a、computer game b、power point c、usb d、software project management plan
第二章 软件过程
2.1 软件过程随堂测验
1、the series of phases that software undergoes, from concept exploration to final retirement, is termed its _______. a、process or life cycle process or life cycle - 正确 b、paradigm c、logic d、business
2、which of the following should be treated as a separate workflow of software process? a、testing b、project planning c、requirements d、documenting
2.2 软件测试随堂测验
1、software testing is _______. a、constructive b、destructive c、to prove there is no faults in the software system d、to cover faults in the software system
2、______ is to check regression faults. a、debugging b、maintenance c、regression testing d、acceptance testing
第二章 单元测试
1、which of the following statements about software life cycle is true? ___________ 关于软件生命周期的描述以下哪项是对的? ___________ a、software life cycle is the repetitive nature of software testing. b、every software system has its life cycle. c、software life cycle is the period of time that a software product is in service. d、software life cycle is the cycling through phases of specification, design, implementation, and testing.
2、the series of phases that software undergoes, from concept exploration to final retirement, is termed its ______. 软件经历的系列阶段,从概念探索到最终退役,被称为其______。 a、life cycle or process b、paradigm c、logic d、business
3、which of the following statements is true? _________ 下列哪项是正确的? _________ a、if a new coding technique will reduce coding time, developing team should surely adopt it to develop projects, which will save time and cost versus the old coding technique. b、a good coding technique cannot surely speed up the whole software development. c、adding more people to a project that is already behind schedule is a good way to catch up. d、good software systems do not need maintenance.
4、which of the following should be treated as a separate phase of software life cycle? ______ 下列哪一个应该被视为软件生命周期的单独阶段? ______ a、testing b、project planning c、implementation and integration d、documenting
5、which of the following statements is not true? __________ 以下哪个语句是不正确的? __________ a、it is quite common that requirements always change, which makes big trouble for development organization. b、users always welcome the completed software system. c、sometimes, the clients do not know what they really need. d、some good software organizations can forecast the requirements of the potential users, so they can lead clients and users.
6、which of the following statements is not correct? ________ 以下哪个语句是不正确的? __________ a、if all the developers are professional enough, management won't be needed. b、the software development is not the mysterious technique of a certain individual labor, but should be the engineering of an organization of all kinds of people. c、a software development team should include kinds of people. d、software project development is a team work.
7、in which of the following phases of software development is it the cheapest to fix a fault? _______ 在软件开发的以下哪个阶段解决故障最廉价? _______ a、the integration phase b、the design phase c、the implementation phase d、the maintenance phase
8、which of the following statements is true? _______ 以下哪个语句是正确的? __________ a、software company can always make more money from software development than from mainteannce. b、a software system goes through its life cycle, like a human being goes through his/her birth to death. c、software company can make no or little money from software maintenance. d、software development is more important than maintenance.
9、inspection and walkthrough are two types of _________. 审查和走查是两种类型的_________。 a、maintenance b、design c、non-execution-based testing d、execution-based testing
10、software testing aims to ______. 软件测试旨在______。 a、cover the faults in the software system b、prove the software is right c、test the code only d、find as many faults as possible in the software system
11、software testing ___________. 软件测试______。 a、is to test executable code. b、is just to read code. c、is a phase following implementation phase. d、includes execution-based testing and non-execution based testing.
12、software testing is _______. 软件测试是______。 a、constructive b、destructive c、to prove there is no faults in the software system. d、a phase following implementation.
13、______ is to check regression faults. ______是检查回归错误。 a、debugging b、maintenance c、regression testing d、acceptance testing
14、suppose that the maintenance programmer has located a fault and must fix it without inadvertently introducing another fault elsewhere in the product, that is, a ________. 假设维护程序员已经找到故障并且必须修复它,而不会无意中在产品的其他地方引入另一个故障,即________。 a、mistake b、bug c、regression fault d、error
第三章 软件需求
3.1 什么是需求随堂测验
1、it is quite common that requirements always change, which makes big trouble for the development organizations.
2、users always welcome the target software system.
3、sometimes, the clients do not know what they really need.
4、some good software organizations can forecast the requirements of the potential users, so they can lead the clients and users.
3.2 获取需求随堂测验
1、it is always an easy job for the users to describe what they need or want, because they are very familiar with their own business.
2、developers can use only one way or method for each requirements capturing.
第三章 单元测试
1、which of the following statements is not correct? 以下哪个语句是不正确的? __________ a、requirements phase is the first phase of software life cycle. b、to determine requirements is easy because no coding is needed. c、there are many methods that can be helpful for requirements collecting. d、requirements determine the success of the target system fundamentally.
2、the rapid prototyping model of software development is ________. 软件开发的快速原型模型是________。 a、the best approach to use for projects with large development teams b、a useful approach when a customer cannot define requirements clearly c、a reasonable approach when requirements are well defined d、a risky model that rarely produces a meaningful product
3、requirements workflow is to _______. 需求工作流程旨在_______。 a、determine what clients and users want b、check what clients and users think c、determine what clients and users need d、determine future users
4、requirements are not the ______ of a software system. 需求不是软件系统的______。 a、source b、root c、basic d、solution
5、which of the following statements is not correct? _____ 以下哪个语句是不正确的? _____ a、developers are the members of the organization responsible for building that product. b、client is the individual or organization that wants a product to be developed. c、user is the person or persons on whose behalf the client has commissioned the product and who will utilize the software. d、the client, developer and user cannot be the same person or organization.
6、which of the following is true? _______ 以下哪个是对的? _______ a、what client wants should be collected and determined during requirements phase. b、to collect and determine business requirements needs domain knowledge. c、interviewing is the only way to collect business requirements. d、to determine business requirements is the easiest task during software life cycle, because no design and coding occur during the phase.
第四章 面向对象范型
4.1 内聚随堂测验
1、which of the following cannot be taken as a module? a、function b、class c、method d、collection
4.2 耦合随堂测验
1、two modules are _____ coupled if one passes an element of control to the other. a、control b、stamp c、data d、logical
4.3 数据封装与信息隐藏随堂测验
1、which of the following statements is not correct? a、information hiding can be used to obviate common coupling. b、a class is an abstract data type. c、an abstract data type is just a class. d、abstract data type supports both data abstraction and procedural abstraction.
4.4 类的继承随堂测验
1、which of the following statements is true? a、an arm is a part of a humanbeing, so it is a subclass of class humanbeing. b、course "software engineering" is a subclass of class "course". c、inheritance brings us troubles if it is not adopted properly. inheritance brings us troubles if it is not adopted properly. - 正确 d、inheritance should be implemented with structural programming languages.
4.6 类的关联随堂测验
1、every class should have a multiplicity to describe a relationship except _______. a、inheritance b、aggregation c、association d、composition
2、which of the following statements is not correct? a、head is a part of egame-humanbeing, so their relationship is association. b、in a library management system, the relationship between class borrower and book is "borrows/returns". c、association between two classes cannot be implemented with "extends" in java. d、association should be described with a domain-related strong verb or verb phrase.
4.7 多态与动态绑定随堂测验
1、which of the following cannot be a way to implement polymorphism in java? a、overloading b、overriding c、interface d、multithreading
4.8 oo范型随堂测验
1、which of the following is not a uml diagram? a、user case diagram b、class diagram c、er diagram d、sequence diagram
第四章 单元测试
1、in good design, modules should have ________. 在良好的设计中,模块应该有________。 a、high coupling and low cohesion b、low coupling and low cohesion c、high coupling and high cohesion d、low coupling and high cohesion
2、a module is ________cohesion if its actions should be performed in a same time period. 如果模块的动作应在相同的时间段内执行,则模块是________内聚。 a、temporal b、procedural c、communicational d、logic
3、a ________ is a lexically contiguous sequence of program statements, bounded by boundary elements, with an aggregate identifier. ________是由边界元素限定的具有聚合标识符的程序语句的词法连续序列 a、system b、document c、project d、module
4、which of the following cannot be taken as a module? ________ 以下哪项不能作为模块? ________ a、collection b、function c、class d、method
5、which of the following statements about module is wrong? _________ 关于模块的以下语句中哪个是错误的? ________ a、good module design is important for the quality of the whole software system. b、module design is part of software system design. c、modules are parts of the whole software system. d、an array in a program can be taken as a module.
6、two modules are ________ coupled if one passes an element of control to the other. 如果一个控制元素传递给另一个,两个模块是________耦合。 a、control b、stamp c、data d、logical
7、two modules are ______ coupled if a data structure is passed as a parameter, but the called module operates on some but not all of the individual components of the data structure. 如果将数据结构作为参数传递,但被调用模块对数据结构的一些但不是所有组件进行操作,则两个模块______耦合。 a、control b、stamp c、data d、logical
8、two modules are ______ coupled if one directly references contents of the other. 如果一个直接引用另一个的内容,两个模块______耦合。 a、content b、stamp c、data d、common
9、two modules are ________ coupled if they have write access to global data. 如果两个模块对全局数据具有写访问权限,则是________耦合。 a、content b、stamp c、data d、common
10、two modules are ______ coupled if all parameters are homogeneous data items, simple parameters, or data structures all of whose elements are used by called module. 如果所有参数都是同类数据项,简单参数或数据结构中所有的元素都由被调用的模块使用,则两个模块______耦合。 a、content b、stamp c、data d、common
11、_____is to encapsulate the attributes and operations in an object, and hides the internal details of an object as possible. _ ____是为了在一个对象中封装属性和操作,并尽可能隐藏对象的内部细节。 a、inheritance b、polymorphism c、data encapsulation d、message
12、which of the following statements is not correct? 下列哪个语句是不正确的? a、information hiding can be used to obviate common coupling. b、a class is an abstract data type. c、an abstract data type is just a class. d、abstract data type supports data abstraction.
13、which of the following statements is not correct? ________ 下列哪个语句是不正确的? a、class is a kind of abstract data type. b、data encapsulation is a feature of object-oriented paradigm. c、information hiding is a feature of object-oriented paradigm. d、encapsulation and information hiding mean that all the components in an object will be totally invisible from outside.
14、the strategy of inheritance is to use inheritance wherever _______. 继承的策略是在_______的情况下使用继承。 a、appropriate b、possible c、safe d、nice
15、the relationship between super-class and subclasses is called ______. 超类和子类之间的关系称为______。 a、association b、inheritance c、composition d、aggregation
16、the relationship between whole-class and part-classes is called ______. 整体和部分类之间的关系被称为______。 a、aggregation b、coupling c、association d、inheritance
17、every class engaged in a relationship should have a multiplicity except _______. 除_______关系外,每一个参与关系的类都有多重性。 a、aggregation b、association c、inheritance d、none of the above
18、a verb or a verb phrase must be used to describe the relationship between two classes with _______. 描述两类之间的_______关系时,必须使用一个动词或动词短语。 a、composition b、inheritance c、aggregation d、association
19、which of the following statements is true? ______ 下列哪个语句是正确的?______ a、course "software engineering" is a subclass of class "course". b、an arm is a part of a humanbeing, so it is a subclass of class humanbeing. c、if we code properly, we can get inheritance with structural programming languages. d、inheritance brings us both advantages and troubles if it is not adopted properly.
20、which of the following statements is not correct? __________ 下列哪个语句是不正确的?______ a、head is a part of egame-humanbeing, so the relationship between head and egame-humanbeing is association. b、association should be described with a domain-related strong verb or verb phrase. c、association between two classes cannot be implemented with "extends" in java. d、in a library management system, the relationship between class borrower and book is "borrows/returns".
21、uml is an abbreviation of __________. uml是__________的缩写。 a、unified module language b、unified modeling language c、universal module language d、united modeling language
22、which of the following cannot be a way to implement polymorphism in java? _______ 下列哪项不是java实现多态的方式?_______ a、multithreading b、interface c、overloading d、overriding
23、which of the following statements is wrong? ________ 下列哪个语句是不正确的?________ a、operation-oriented technique primarily considers both the operations and the data of the product. b、an object is an instance of abstract data type. c、the classical/procedural paradigm is inferior to the object-oriented paradigm. d、in all object-oriented technique, data and operations are considered of the same importance; neither takes precedence over the other.
24、invoking the correct method to be done at run time (dynamically) and not at compile time (statically), the act of connecting an object to the appropriate method is termed _________. 调用正确的方法是在运行时完成(动态)而不是在编译时(静态),将对象连接到适当方法的这种行为称为________。 a、inheritance b、dynamic binding c、data coupling d、polymorphism
25、it is termed ______ that a method can be applied to objects of different classes, which means "of many shapes".一种方法可以应用于不同类的对象,这意味着“具有多种形态”,这被称为______。 a、association b、polymorphism c、object-oriented d、informational cohesion
26、which of the following is not a uml diagram? __________ 下列哪一个不是uml图? __________ a、sequence diagram. b、user case diagram. c、class diagram d、er diagram.
第五章 面向对象分析
5.1 用例建模随堂测验
1、which of the following is true of use case modeling in ooa? a、a set of use cases is written for each scenario. b、every use case has only one possible scenario. c、a use case is an instance of a scenario. d、a scenario is an instance of a use case.
2、which of the following statement is correct? a、a use case is initiated by an actor to invoke a certain functionality in the system. a use case is initiated by an actor to invoke a certain functionality in the system. - 正确 b、an actor doesn’t represent a coherent set of roles all the time that one plays when interacting with these use cases. c、a class is an abstract data type but it doesn’t support inheritance. d、use case modeling is both action and data oriented.
5.2 用例图随堂测验
1、which of the following statements is correct? a、in a use case diagram, the actors cannot have relationship between each other. b、in a use case diagram, the sub-actor can inherit its super-actor's relationships with use cases. in a use case diagram, the sub-actor can inherit its super-actor's relationships with use cases. - 正确 c、in a use case diagram, the more relationships between use cases the better. d、the relationship of "extension" and "generalization" are the same, they can take each other's place.
5.4 动态建模随堂测验
1、which of the following statements about dynamic modeling is wrong? a、state diagram is the product of dynamic modeling. b、each state diagram corresponds to one class diagram. each state diagram corresponds to one class diagram. - 正确 c、not all the entity classes should have a state diagram as replenishment. d、each state diagram corresponds to one class.
5.5 测试ooa随堂测验
1、which model does not belong to the object oriented analysis model? a、use case modeling b、class modeling c、dynamic modeling d、er modeling
第五章 单元测试
1、which of the following is true of use case modeling in ooa? 下列关于ooa中用例建模的描述哪一个是对的? a、a set of use cases is written for each scenario. b、every use case has only one possible scenario. c、a use case is an instance of a scenario. d、a scenario is an instance of a use case.
2、_____describes functionality of the software to be constructed, the core of which is to describe the interaction between the actor and the system, but not the internal activity of the system. _____描述了要构建的软件的功能,其核心是描述参与者和系统之间的交互,而不是系统的内部活动。 a、use case diagram b、class diagram c、collaboration diagram d、state diagram
3、in the following use case diagram, which statement is wrong? _____ 在下面的用例图中,哪个语句是错误的? _____ a、customer can interact with use case "a" in the system. b、if use case "a" is executed, use case "b" must be executed. c、if use case "a" is executed, use case "c" must be executed. d、use case "c" may not be invoked.
4、which of the following statement is correct? _____ 在下面的关于用例图的说法中,哪个是正确的? _____ a、a class is an abstract data type, but it doesn't support inheritance. b、an actor doesn't represent a coherent set of roles all the time that one plays when interacting with these use cases. c、a use case may be initiated by an actor to invoke a certain functionality in the system. d、use case modeling is both action and data oriented.
5、which of the following is wrong? 以下哪项是错误的? a、a class can be taken as a module. b、use case diagram focuses on only the functional requirements of the target software system. c、only human being can be an actor in a use case diagram. d、use case diagram is a functional modeling of the software system.
6、which model does not belong to the object oriented analysis model? _______ 哪个模型不属于面向对象的分析模型? _______ a、use case modeling b、preliminary class modeling c、dynamic modeling d、er modeling
7、a company wants to develop a software system to manage order. every day, the customers send the order information to the salesman by fax. and then, the salesman inputs the information into the system. then, in this case, which should be the actor of the system in use case diagram? _______ 一家公司想要开发一个软件系统来管理订单。每天,客户通过传真将订单信息发送给销售人员。然后,销售员将信息输入系统。那么,在这种情况下,本系统中下列哪个应该是用例图中的参与者? _______ a、salesman b、customer c、order information d、fax machine
8、which of the following statements is correct? _______ 下列哪项语句是正确的? _______ a、gui of a target software system should be designed before its architecture. b、whether design is necessary or not is up to each software organization. c、a good programmer can design a target software system while coding. d、surely a good design is important and necessary for the success of the target software system.
9、which of the following statements about dynamic modeling is wrong? _____ 关于动态建模的以下语句中哪一个是错误的? _____ a、each state diagram corresponds to one class diagram. b、each state diagram corresponds to one class. c、state diagram is the product of dynamic modeling. d、not all the entity classes have a state diagram as its replenishment.
第六章 面向对象设计
6.1 软件系统设计随堂测验
1、which of the following statements is correct? a、gui of a target software system should be designed before its architecture. b、whether design is necessary or not is up to each software organization. c、a good programmer can design a target software system while coding. d、good design is important and necessary for the success of the target software system.
6.2 面向对象设计随堂测验
1、_____ emphasizes on the sequence of messages between objects. a、use case diagram b、class diagram c、collaboration diagram d、sequence diagram
2、which of the following is not a component in the sequence diagram? a、object b、message c、lifeline d、transition
3、which of the following will not be depicted in the phase of detailed design? a、data structure and algorithm b、database c、user interface d、architecture
第六章 单元测试
1、______ emphasizes on the sequence of messages between objects. ______强调对象之间的消息序列。 a、use case diagram b、class diagram c、collaboration diagram d、sequence diagram
2、the sequence diagram and collaboration diagram are both ______ diagrams; they describe the same thing in different way. 序列图和协作图都是______图; 他们用不同的方式描述同样的事情。 a、interaction b、state c、use case d、class
3、_____ is used to achieve detailed design for ood. _____用于实现ood的详细设计。 a、a. natural language b、computer language c、pdl (program description language) d、java code
4、which of the following diagrams is used to describe a specific scenario of a use case? ______ 下列哪个图表用于描述用例的特定场景? ______ a、flow diagram b、state diagram c、sequence diagram d、class diagram
5、which of the following is not a component in the sequence diagram?________ 以下哪项不是序列图中的组件?________ a、transition b、message c、lifeline d、object
6、which of the following is not a task of detailed design? _______ 以下哪项不是详细设计的任务? _______ a、user interface design b、data structure & algorithm design c、database design d、architecture design
7、which of the following statements is correct? 下列哪个语句是正确的? a、gui of a target software system should be designed before its architecture design b、surely a good design is very important and necessary for the success of the target software system. c、a good programmer can design the target software system while coding. so, if good programmers are available, design won't be necessary. d、whether design is necessary or not is up to each software organization.
第七章 实现与集成
7.1 编程语言随堂测验
1、which of the following statements is wrong? a、one statement of a third-generation language can be compiled to 5 or 10 machine code instructions. b、one statement of a fourth-generation language can be compiled to 30 or even 50 machine code instructions. c、third-generation language includes java, c, sql, and etc. d、fourth-generation language can be selected for implementing a database application.
2、which of the following statements about programming languages is true? a、the best programming language means that it can be suitable for any project. b、we should always choose the best programming language for the target system. c、there is no the best programming language. each language has its own advantages and disadvantages. we should always choose the most suitable one for the target system. d、java is the best programming language nowadays.
7.2 良好的编程习惯随堂测验
1、the primary purpose of careful code layout is to _______. a、please ourselves b、improve readability c、conform to standards d、help the sqa team
2、if a decision by a programmer results in a violation of coding standards, the programmer should ________. a、check with the manager to determine whether the code can stand as it is b、keep the code in violation and hide the fact c、rewrite the code to meet standards d、argue that the standards do not apply to every kind of code
3、in the following statement, which cannot be a coding standard? a、construct an appropriate layout of the code. b、make a meaningful name of the variable meaningful. c、make a short name of the variable. d、add comments.
4、which of the following statements about good programming practice is wrong? a、in a software program, variable names should be meaningful. b、in a software program, variable names should be consistent. c、if the programmers are careful and experienced enough, they can write self-documenting code. d、comments are helpful for code readers.
5、which of the following statements about good programming practice is correct? a、good variable names are good for both debugging and maintenance. b、if there is already prologue comments, inline comments won't be needed. c、code layout is for nice interface. d、nested "if" statements should be recommended.
7.3 实现与集成随堂测验
1、which of the following are disadvantages of bottom-up integration and implementation? i. operational modules may not be adequately tested. ii. logical modules may not be adequately tested. iii. it promotes responsibility-driven design. a、i, ii, and iii b、ii only c、iii only d、ii and iii only
2、which of the following will not be considered when choosing a programming language? a、product efficiency b、application domain c、cost d、personal preference
3、which of the following are disadvantages of top-down integration and implementation? a、operational modules may not be adequately tested. b、major design faults show up late. c、fault isolation d、none of the above
4、which of the following statements is correct? a、surely, integration should follow implementation. b、drivers are needed for top-down implementation and integration. c、drivers are needed for bottom-up implementation and integration. d、stubs are needed for bottom-up implementation and integration.
第七章 单元测试
1、the languages fortran, pascal, cobol, and c are examples of which generation of programming languages? 语言fortran,pascal,cobol和c 是哪一代编程语言? a、fourth b、second c、first d、third
2、the primary purpose of careful and nice code layout of a software system is to __________. 仔细和漂亮的软件系统代码布局的主要目的是__________。 a、please managers b、improve readability c、conform to standards d、help the sqa team
3、if a decision by a programmer results in a violation of coding standards, the programmer should ________. 如果程序员的决定导致违反编码标准,程序员应该________。 a、check with the manager to determine whether the code can stand as it is b、keep the code in violation and hide the fact c、rewrite the code to meet standards d、argue that the standards do not apply to every kind of code
4、in the following statement, which cannot be a good programming practice? _____ 在下面的语句中,哪个不能是写代码的标准? _____ a、construct an appropriate layout of the code. b、make a meaningful name of the variable meaningful c、use a short name of the variable d、add comments
5、which of the following statements is wrong?_____. 以下哪个语句是错误的?_____。 a、one statement of a third-generation language can be compiled to 5 or 10 machine code instructions. b、one statement of a fourth-generation language can be compiled to 30 or even 50 machine code instructions. c、java, c, and vb are third-generation programming languages.. d、fourth-generation language can be selected for implementing a database application.
6、which of the following statements about good programming practice is wrong? ______ 以下语句中哪个关于良好的编程实践的描述是错误的? ______ a、in a software program, variable names should be meaningful. b、in a software program, variable names should be consistent. c、if the programmers are careful and experienced enough, they can write self-documenting code. d、comments are helpful for code readers.
7、which of the following statements about good programming practice is correct? _______ 以下语句中哪个关于良好的编程实践的描述是正确的? ______ a、good variable names are good for both debugging and maintenance. b、if there is already prologue comments, inline comments won't be needed. c、nice code layout aims for nice interface. d、nested "if" statements should be recommended.
8、which of the following are disadvantages of bottom-up integration and implementation? 下列哪些是自底向上集成和实施的缺点? i. operational modules may not be adequately tested. 操作模块测试不充分 ii. logical modules may not be adequately tested. 逻辑模块测试不充分 iii. it promotes responsibility-driven design. 促进了职责驱动设计 a、i, ii, and iii b、ii only c、iii only d、ii and iii only
9、the following graph shows the modules of a software system, and the line in the graph shows the invocation relation between the modules. if the system is implemented and integrated using the bottom-up type, module_________ is the driver of the module b. 下图显示了软件系统的模块,图中的线显示了模块之间的调用关系。 如果系统是使用自底向上类型实现和集成的,模块_________是模块b的驱动程序。 a、a b、b c、c d、d
10、which of the following will be the last one to be considered when choosing a programming language? 在选择编程语言时,应该最后考虑以下哪项? a、product efficiency b、application domain c、cost d、personal emotion
11、which of the following are disadvantages of top-down integration and implementation? 下列哪些是自顶向下集成和实现的缺点? a、operational modules may not be adequately tested. b、logical modules may not be adequately tested. c、major design faults show up late. d、fault isolation
12、which of the following statements is correct?、 下列哪个语句是正确的? a、surely, integration should follow implementation. b、drivers are needed for top-down implementation and integration. c、drivers are needed for bottom-up implementation and integration. d、stubs are needed for bottom-up implementation and integration.
第八章 维护
8.1 维护的必要性随堂测验
1、during the whole software process, which phase takes the longest time and the most cost? a、design b、implementation c、maintenance d、specification
2、which of the following maintenance is to improve the performance of the software product? a、perfective maintenance b、adaptive maintenance c、corrective maintenance d、none of the above
3、to adapt the software to a new operating system is _________ maintenance. a、perfective b、adaptive c、corrective d、none of the above
4、_________ is an extremely time consuming, expensive phase of the software life cycle. a、requirement b、implementation c、maintenance d、design
8.2 对维护人员的要求随堂测验
1、which of the following statement about maintenance are not true? a、only the best programmers can be qualified for software maintenance. b、maintenance is so hard, we should assign the job to the best programmers. c、maintenance is a most thankless task. d、most programmers are happy with maintenance job.
2、which of the following statements about maintenance is incorrect? a、most of the time, maintainers suffer from the mistakes made by developers. b、post-delivery maintenance is the most difficult of all aspects of software production. c、less competent programmers may be qualified for maintenance. d、post-delivery maintenance is surely necessary.
第八章 单元测试
1、during the entire life cycle of a software product, which phase takes the longest time and the most cost? ______ 在软件产品的整个生命周期中,哪个阶段花费最长的时间和最高的成本? ______ a、design b、implementation c、maintenance d、specification
2、which of the following maintenance is to improve the performance of the software product? ______. 下面哪些维护是为了提高软件产品的性能?______。 a、perfective maintenance b、adaptive maintenance c、corrective maintenance d、none of the above
3、to adapt the software to a new operating system is _________ maintenance. 使软件适应新的操作系统是_________维护。 a、perfective b、adaptive c、corrective d、none of the above
4、which of the following statement about maintenance are not true? ____ 关于维护的以下叙述中有哪些不正确? ______ a、maintenance programmers should have superb diagnostic ability. b、maintenance programmers should have superb testing ability. c、maintenance programmers should have superb communication ability. d、maintenance programmers should have superb cheating ability.
5、which of the following statements about maintenance is true? _____ 以下关于维护的描述哪个是对的? _____ a、maintenance is so time consuming, we should assign the job to some beginners. b、only the best programmers can be qualified for software maintenance. c、since maintenance is a most thankless task, we should have only the unqualified programmers to do the job. we 'd better save the best programmers for development which is more important. d、most programmers will be happy and carry on maintenance if they are paid highly enough.
6、which of the following statements about maintenance is incorrect? ________ 以下关于维护的描述哪个是不对的? _____ a、most of the time, maintainers suffer from the mistakes made by developers. b、post-delivery maintenance is the most difficult of all aspects of software production. c、the less competent programmers can be qualified for maintenance. d、post-delivery maintenance is surely necessary.
7、suppose that the maintenance programmer has located a fault and must fix it without inadvertently introducing another fault elsewhere in the product, that is, a ________. 假设维护程序员已经找到故障并且必须修复它,而不会无意中在产品的其他地方引入另一个故障,即________。 a、mistake b、regression fault c、bug d、error
8、______ is to check regression faults. _____是检查回归错误。 a、debugging b、maintenance c、regression testing d、acceptance testing
第九章 软件生命周期模型
9.1 软件生命周期模型随堂测验
1、which software lifecycle model is suitable for only large-scale or in-house project? a、waterfall model b、rapid prototype model c、spiral model d、none of the above
2、a simple way of distinguishing a waterfall model or a spiral model is to check whether each phase is preceded by __________ analysis or not. a、testing b、risk c、decisio d、possibility
3、the waterfall model of the software process is _________. a、suitable to the situation when the requirement is defined explicitly b、a good method for quickly constructing executable software product c、suitable for the software product which is developed by a large team d、a model which cannot be used at present
4、the biggest disadvantage of waterfall model is that it is difficult to adapt to the change of ______. a、user’s requirements b、algorithm c、platform d、programming language
5、which of the following statements about software lifecycle models is true? a、since there are kinds of software lifecycle models, we should choose the best one for the target project. b、the requirement of the software only concerns its functionality. c、one of the reasons of software crisis is the lack of document. so we should take a separate phase of the software life cycle to achieve sufficient document. d、since there are kinds of software lifecycle models, we should choose the most suitable one for target project.
6、which of the following statements is correct? a、rapid prototype helps software organization to collect what the client and users really want. b、rapid prototype cannot be discarded, i.e., programmer should develop the target system based on the code of the prototype. so rapid prototype should be set up with the same programming language that will be used for implementing the target software system. c、rapid prototype model was successful from 1960s till now. d、rapid prototype must be set up rapidly. rapid prototype must be set up rapidly. - 正确
7、which of the following software lifecycle models is the best one for a software development organization and a project? a、waterfall model b、rapid prototype model c、incremental model d、it depends.
8、which software lifecycle model will separate the software into several builds and deliver the builds to clients one by one? a、waterfall model b、rapid prototype model c、incremental model d、spiral model
第九章 单元测试
1、which software lifecycle model will separate the software into several builds and deliver the builds to clients one by one? _______ 哪个软件生命周期模型将软件分为几个版本,并向客户逐个提供版本? _______ a、waterfall model b、rapid prototype model c、incremental model d、spiral model
2、which software lifecycle model is suitable for only large-scale or in-house project? _________ 哪个软件生命周期模型只适合大规模或内部项目? ________ a、waterfall model b、rapid prototype model c、incremental model d、spiral model
3、the idea of minimizing risk via the use of prototypes and other means is the concept underlying the spiral model. a simplistic way of looking at this life-cycle model is as a waterfall model with each phase preceded by __________ analysis. 通过使用原型和其他手段最小化风险的想法是螺旋模型的基础的概念。看待这个生命周期模型的一个简单的方式是将该模型看作每个阶段之前都有__________分析的瀑布模型。 a、testing b、risk c、decision d、possibility
4、the waterfall model of the software process is _________. 软件过程的瀑布模型是_________。 a、suitable to the situation when the requirement is defined explicitly. b、a good method for quickly constructing executable software product. c、suitable for the software product which is developed by a large team. d、a model which cannot be used at present.
5、the incremental model of the software process is _____________. 软件过程的增量模型是_____________。 a、suitable to the situation when the requirement is defined explicitly. b、a good method for quickly constructing executable software product. c、suitable for the software product which is developed by a large team. d、a model which cannot be used at present.
6、the biggest disadvantage of waterfall model is that it is difficult to adapt to the change of _________. 瀑布模型的最大缺点是难以适应_________的变化。 a、algorithm b、platform c、programming language d、user’s requirements
7、synchronize-and-stabilize model is used by only ________. 同步和稳定模型仅由________使用。 a、ibm b、microsoft c、oracle d、none of the above
8、which of the following is true? __________ 下列那个语句是正确的? a、since there are kinds of software lifecycle models, we should choose the best one for the target project. b、the requirement of the software only concerns its functionality. c、one of the reasons of software crisis is the lack of document. so we should take a separate phase of the software life cycle to achieve sufficient document. d、since there are kinds of software lifecycle models, we should choose the most suitable one for target project.
9、which software life-cycle model is the best one for a software development organization & project? ______ 哪个软件生命周期模型是软件开发组织和项目的最佳模型? ______ a、waterfall model b、rapid prototype model c、incremental model d、it depends.
10、which of the following statements is not correct? _______ 下列那个语句是不正确的? a、rapid prototype helps software organization to collect what the client and users really need. b、rapid prototype cannot be discarded, i.e., programmer should develop the target system based on it. c、rapid prototype must be set up rapidly. d、rapid prototype was successful in the 1980s.
11、which of the following statements is correct? ______ 下列那个语句是正确的? a、iteration is a character of software engineering, especially object-oriented software engineering. b、spiral model is suitable for all software systems. c、waterfall model is successful even nowadays. d、synchronize-and-stabilize model is quite popular.
结课考试
课程《软件工程》结课考试
1、which of the following statements about computer science and software engineering is correct? 关于计算机科学和软件工程的以下语句哪个是正确的? a、computer scientists and software engineers care about the same thing. b、software engineers always try to find all kinds of solutions for the target software system. c、computer scientists' job is to find the most suitable solution for software system. d、the relationship between computer science and software engineering is just like the one between chemistry and chemical engineering.
2、which of the following statements about software is true? 以下哪个关于软件的描述是正确的? a、software is portable. b、software is a kind of concrete physical entity. c、the faults in a software system are due to wearing out. d、software is something mysterious mastered by some geniuses.
3、_______ is a discipline whose aim is the production of fault-free software, delivered on time and within budget, that satisfies the client's needs. _______是一个学科,其目标是生产出满足客户的需求的、未超出预算的、按时交付的、没有错误的软件。 a、software engineering b、software process c、computer science d、software testing
4、software engineers shall act consistently with the _______ interest. 软件工程师应该始终如一地为_______的利益行事。 a、friends b、government c、public d、family
5、which of the following is not software? 以下哪项不是软件? a、computer game. b、sales records in the database of an online shop system. c、mobile phone. d、software project management plan.
6、the series of phases that software undergoes, from concept exploration to final retirement, is termed its ______. 软件经历的系列阶段,从概念探索到最终退役,被称为其______。 a、life cycle or process b、paradigm c、logic d、business
7、which of the following statements about software development is not correct? 以下关于软件开发的描述哪一个是不正确的? a、a software development team should include kinds of people. b、if all the developers in the development team are professional enough, project management won't be needed. c、the software development is not the mysterious technique of a certain individual labor, but should be the engineering of an organization of all kinds of people. d、software development should be a team work.
8、in which of the following phases of software process is it the cheapest to fix a fault? 在以下哪个阶段修复故障最廉价? a、the integration phase b、the implementation phase c、the design phase d、the maintenance phase
9、software testing aims to ______. 软件测试旨在______。 a、cover up the faults in the software system b、prove the software is right c、evaluate the quality of the software d、find as many faults as possible in the software system
10、software testing ___________. 软件测试______。 a、is to test executable code b、includes execution-based testing and non-execution based testing. c、is just to read code d、is a phase following implementation phase
11、requirements workflow aims to _______. 需求工作流程旨在_______。 a、determine what clients and users want b、check what clients and users think c、determine what clients and users really need d、have developers to make friends with users
12、in the good design of a software system, modules should have _______. 在设计良好的软件系统中,模块应该有_______。 a、high coupling and low cohesion b、low coupling and low cohesion c、high coupling and high cohesion d、low coupling and high cohesion
13、_____ is to encapsulate the attributes and operations in an object, and hides the internal details of an object as possible. _____是指封装一个对象中的属性和操作,并尽可能隐藏对象的内部细节。 a、inheritance b、polymorphism c、data encapsulation d、message
14、the relationship between a super-class and subclasses is called ______. 超类和子类之间的关系称为______。 a、association b、inheritance c、composition d、aggregation
15、which of the following statements is true? 下列哪个描述是正确的? a、inheritance may cause trouble for developers if it is not used properly. b、a class must have both attributes and methods. c、an arm is a part of a humanbeing, so it is a subclass of class humanbeing. d、course "software engineering" is a subclass of class "course".
16、_____ describes functionality of the software to be constructed, the core of which is to describe the interaction between the actor and the system, but not the internal activity of the system. _____描述了要构建的软件系统的功能,其核心是描述参与者和系统之间的交互,而不是系统的内部活动。 a、use case diagram b、class diagram c、collaboration diagram d、state diagram
17、which of the following is not a task of detailed design? 以下哪项不是详细设计的任务? a、user interface design. b、architecture design. c、data structure & algorithm design. d、database design.
18、which of the following is the last to be considered when choosing a programming language for a target software system? 在为目标软件系统选择编程语言时,以下哪项是最后考虑的因素? a、product efficiency b、application domain c、cost d、personal preference
19、which of the following statement about maintenance are not true? 以下哪个关于维护的叙述不正确? a、maintenance programmers should have superb diagnostic ability. b、maintenance programmers should have superb communication ability. c、maintenance programmers should have superb cheating ability. d、maintenance programmers should have superb testing ability.
20、which software lifecycle model is suitable for only large-scale or in-house project? 以下哪个软件生命周期模型只适合大规模或内部项目? a、waterfall model b、spiral model c、rapid prototype model d、incremental model