Nội dung text New-Microsoft-Word-Document.docx
1. The distinction between a class and an object is... → A class is a template for creating objects, while an object is an instance of a class 2. According to the principle of inheritance,... → A subclass inherits methods and attributes from its superclass 3. Which of these statements are truly acceptable? A. A postcondition is an assertion guaranteed to be true when the activity or operation begins → finishes B. Trigger is an event which causes a use-case to begin C. None of the mentioned D. A precondition is an assertion guaranteed to be true when the activity or operation finishes → begins 4. An attribute is a data item held by which of the following? → Class + Object 5. What should be mentioned as attributes for conceptual modelling? → Initial values + their names 6. A class is divided into which of these compartments → Name + Attribute + Operation 7. An operation can be described as? → Object + Class behavior 8. Which of these are part of the class operation specification format? (phương thức của lớp đc định dạng ntn) → Name + Parameter + Return-type 9. What is multiplicity for an association? → The multiplicity at the target class end of an association is the number of instances that can be associated with a single instance of the source class → (n-instance của lớp A liên kết với 1 instance của lớp B) 10. Which among these are the rules to be considered to form Class diagrams? → Class symbols must have at least a name compartment (theo kí pháp, form của class diagram phải có tên, tên + attribute + operation phải đc sắp xếp theo thứ tự, và attributes + operations phải đc liệt kê trên mỗi dòng) 11. Which of these are the heuristics? a) Name classes, attributes, and roles with noun phrases
b) Name operations and associations with verb phrases c) Stick to binary associations d) All of the mentioned → D 12. An object symbol is divided into what parts? → Top + Bottom Compartments 13. Use case descriptions consist of interaction among which of the following? → Product & Actor (system and its environment) 14. Use case description contents include → Use-case name, number + Actors + Stakeholder, needs 15. Which descriptions are true for the use case description format? a) Underline text refers to another use case b) Extensions section uses complicated numbering scheme c) Indentation is used in order to make extensions easier to read d) All of the mentioned → D 16. What are the methods in which use case descriptions can be written? a) Actors in a use case are almost always stakeholders b) Preconditions must be true before statement begins c) Need list should be reviewed when writing each use case d) All of the mentioned → D 17. The Use case Description Heuristics includes which of these? a) Fill in the use case template from top to bottom b) Write simple declarative sentences in active voice c) Avoid sequence of steps by the actors and product d) All of the mentioned → D