Article directory
multiple choice
-
Requirements are constantly changing, and the design needs to adapt to unforeseen changes in order to enhance maintainability. The least volatile of the following terms is ( ).
A. Class
B. Service
C. Interface
D. Property
Correct answer: A -
The following implementation conditions have the greatest impact on the problem domain part of the OOD model ().
A. Programming language
B. Hardware, operating system and network facilities
C. Multiplexing support
D. Data management system
Correct answer: A -
The control drive part is composed of () in the system.
A. Active class
B. Abstract class
C. Object
D. Interface
Correct answer: A -
The same operation name can be defined multiple times in the same class, and they are distinguished according to the number, type, or order of parameters. This phenomenon is called () in object-oriented methods.
A. Polymorphism
B. Overloading
C. Generalization
D. Classification
Correct answer: B -
The main purpose of the data management part is to provide data storage and recovery functions for () in the system.
A. Permanently stored objects
B. Temporarily stored objects
C. All objects
D. Individual objects
Correct answer: A -
The most appropriate description of the process from OOA to OOD is ().
A. Transform
B. Extend and refine
C. Adjust and supplement
D. Refine
Correct Answer: C -
In the object-oriented software development method, there are mainly the following structural relationships between classes ()
A. Inheritance and aggregation
B. Inheritance and general
C. Aggregation and message passing
D. Inheritance and method invocation
Correct answer: D -
In the software design method oriented to data flow, the data flow in the data flow diagram is generally divided into ( ) two kinds of flows, and then the data flow diagram is mapped to the software structure.
A. Data flow and transaction flow
B. Exchange flow and transaction flow
C. Information flow and control flow
D. Exchange flow and data flow
Correct answer: B -
Among the main components of the object-oriented design OOD model, ( ) is usually not included.
A. Communication component
B. Human-computer interaction component
C. Task management
D. Data management
Correct answer: A -
The data flow-oriented design method maps ( ) into a software structure.
A. Data flow
B. System structure
C. Control structure
D. Information flow
Correct answer: D -
In object-oriented design, the hiding of object information is mainly achieved through ().
A. Encapsulation of objects
B. Inheritance of subclasses
C. System modularization
D. Reusability of modules
Correct answer: A -
The basic mechanism of object-oriented programming ( )
A. Inheritance
B. Message
C. Method
D. Structure
Correct answer: A -
The following is a description of the object in the object-oriented design method, where ( ) is correct.
A. The object does not have its storage area in memory
B. The attribute set of the object is its characteristic representation
C. The definition of the object is equivalent to the type concept in the program
D. The objects cannot communicate with each other
Correct answer: B
multiple choice
-
The following aspects that need to be considered in the design of the problem domain are ()
A. Improve performance
B. Consider reuse
C. Programming language
D. Permanent storage
Correct answer: ABCD -
Why do you need to consider the control driver part in the OOD stage, the following statement is correct ().
A. Concurrent behavior is inherent in reality, and a large number of current systems are concurrent systems
B. Multitasking settings
C. Isolate the impact of hardware, operating system, and network changes on the entire system
D. Reduce development risks
Correct answer: ABC
True or False
-
Similar to structured analysis and design, there is a certain gap between object-oriented analysis and design.
Correct Answer: False -
The four parts of the OOD model all adopt concepts, representations, activities and strategies consistent with OOA.
Correct Answer: False -
All implementation factors can be effectively isolated by some newly defined independent components in OOD.
Correct Answer: False -
The definition of unfinished details in OOA needs to be completed in OOD, so the main task of OOD is the refinement of OOA.
Correct Answer: False -
OOA emphasizes faithfully reflecting the problem domain, while OOD considers implementation issues. When the language used does not support multiple inheritance and polymorphism, it is necessary to adjust multiple inheritance and polymorphism according to the programming language.
Correct answer: correct -
Human-computer interaction is a task in the OOD stage, and does not need to be considered in the OOA stage.
Correct Answer: False -
The design of human-computer interaction needs to focus on the situation of the largest proportion of users, and appropriately take into account other people.
Correct answer: correct -
The interactive content requirements of human-computer interaction are not only related to the functional requirements of the system, but also have a lot to do with people's subjective consciousness.
Correct Answer: False -
The design of the human-computer interaction part can extract the content and process of human-computer interaction from the use case. During the extraction process, all sentences that have nothing to do with input and output need to be deleted.
Correct answer: correct -
A control flow is an action sequence executed sequentially on a processor. In current implementation technologies, a control flow is a process or thread.
Correct answer: correct -
The data flow-oriented design method is to map the control structure in DFD into software structure.
Correct Answer: False
fill in the blank
-
The object-oriented development method includes four parts: fill in the blank 1 , fill in the blank 2 , fill in the blank 3 , and fill in the blank 4 . (English abbreviation is enough)
Correct answer:
Fill in the blank 1: OOA
fill in the blank 2: OOD
fill in the blank 3: OOP
fill in the blank 4: OOT -
In object-oriented methods, people often use state diagrams to describe the fill-in-the-blanks1 .
Correct Answer:
Fill in the Blank 1: Dynamic Behavior -
The OOD criterion includes five aspects: filling in the blank 1 , filling in the blank 2 , filling in the blank 3 , filling in the blank 4 , and filling in the blank 5 .
Correct Answer:
Fill in the Blank 1: Abstraction
Fill in the Blank 2: Information Hiding
Fill in the Blank 3: High Cohesion
Fill in the Blank 4: Low Coupling
Fill in the Blank 5: Reusable -
The main goal of OOD is to improve Fill in the Blank 1 , Fill in the Blank 2 and Fill in the Blank 3 .
Correct answer:
Fill in the blank 1: Development efficiency
Fill in the blank 2: Quality
Fill in the blank 3: Maintainability -
When designing software with OOM, the OOD model (Solving Domain Object Model) is similar to the OOA model ( Problem Domain Object Model ) . Correct answer: Fill in the blank 1: Theme layer Fill in the blank 2: Structure layer Fill in the blank 3: Attribute layer Fill in the blank 4: Service layer