【Software Engineering】Test 4

multiple choice

  1. The goal of structured design is ()
    A. Establish a system software model
    B. Establish software architecture and detailed processing algorithms
    C. Generate design specifications
    D. All of the above
    Correct answer: D

  2. The overall design does not include ()
    A. Architecture design
    B. Interface design
    C. Data design
    D. Data structure design
    Correct answer: D

  3. In the module structure diagram, if there is a straight line connection between two modules, it means that there is a () relationship between them
    A. Call
    B. Composition
    C. Connection
    D. Sequential execution
    Correct answer: A

  4. Regarding the tasks in the overall design phase, which of the following statements is wrong ()
    A. The main task is to convert DFD to MSD
    B. There are different design methods for different types of DFDs
    C. Refining MSD is not a task in the overall design phase
    D. Determine the interface between the system and the outside world based on the flow of data across the system boundaries
    Correct answer: C

  5. For the basic steps of transformation design, the correct order is ()
    ① Determine the boundaries between the three parts of input, transformation, and output
    ② Design the top and first layers of the system module structure diagram
    ③ Review and refine the system requirements model
    ④ Top-down Next, refine step by step
    A. ①②③④
    B. ②①③④
    C. ③①②④
    D. ①③②④Correct
    answer: C

  6. Which of the following statements is wrong ()
    A. Transformation-type DFD is composed of three parts: input, transformation and output
    B. In transformation design, design several input modules if there are several physical inputs
    C. Transaction-type DFD generally only accepts one input data
    D. Generally speaking, transformational data flow graphs are more common, while transactional data flow graphs tend to appear locally.
    Correct answer: B

  7. Regarding transaction design, which of the following statements is correct ()
    A. The first step in transaction design is to determine the transaction processing center
    B. In the first-level decomposition, a transaction processing module needs to be designed for each activity path
    C. In the first level In the decomposition, the input and output modules need to be designed separately
    D. In the second level of decomposition, the refinement of each path is similar to the refinement process of the transformation design
    Correct answer: B

  8. Obtained after the software outline design is completed ()
    A. Initialized module structure diagram
    B. Refined module structure diagram
    C. Module detailed algorithm
    D. Program code
    Correct answer: B

  9. One module transmits a value as a parameter to another module. The coupling between the two modules is ()
    A. Logic coupling
    B. Data coupling
    C. Control coupling
    D. Content coupling
    Correct answer: B

  10. Among the following types of coupling, ( ) is the strongest coupling.
    A. Public Coupling
    B. Data Coupling
    C. Control Coupling
    D. Content Coupling
    Correct Answer: D

  11. In order to improve the independence of the module, it is best inside the module ()
    A. Logical cohesion
    B. Time cohesion
    C. Functional cohesion
    D. Communication cohesion
    Correct answer: C

  12. Communication cohesion refers to ()
    A. A module formed by combining actions that need to be performed simultaneously
    B. Each process uses the same input data set or produces the same output data set
    C. Each element in a module is closely related to the agreement Function and must be executed sequentially
    D. All elements in the module work together to complete a function, all of which are indispensable
    Correct answer: B

  13. Regarding the fan-in and fan-out of modules, the following statement is correct ()
    A. Fan-in indicates how many upper-level modules directly or indirectly call it
    B. When the fan-in of the module is high, it should be re-decomposed to eliminate the situation of control coupling
    C. A Too much fan-out of a module means that the module is too complex and lacks an intermediate layer
    D. Too much fan-in of a module indicates that the module is too complex and lacks an intermediate layer
    Correct answer: C

  14. When dividing modules, the () of a module
    A. The scope of action should be within its control scope
    B. The control scope should be within its scope of action
    C. The scope of action and the scope of control do not include each other
    D. The scope of action and the scope of control are not subject to any restrictions
    Correct answer: A

  15. In the process of refining the initial MSD, the common sub-functions of multiple modules are separated to form a new module, which heuristic rule is used?
    A. Improve software structure and improve module independence
    B. Moderate module size, 60 lines of statements per page
    C. The scope of the module strives to be within the control domain
    D. Reduce the complexity of the module interface
    Correct answer: A

  16. The task of detailed design is to define the () of each module
    A. External characteristics
    B. Internal characteristics
    C. Algorithms and data formats
    D. Functions and input and output data
    Correct answer: C

  17. Program control is divided into () three basic structures
    A. Block, sequence, loop
    B. Sequence, nesting, selection
    C. Sequence, selection, loop
    D. Recursion, stack, queue
    Correct answer: C

  18. Which of the following is an advantage of pseudocode?
    A. Not only can be used as a design tool, but also can be used as an annotation tool
    B. Intuitive image
    C. Easy to describe more complex condition combinations
    D. Support step-by-step refinement
    Correct answer: A

  19. Which of the following is an advantage of a program flowchart?
    A. Support step-by-step refinement
    B. It is convenient to express data structure
    C. The description is intuitive and easy to grasp
    D. Programmers can start to consider the control flow of the program very early
    Correct answer: C

  20. The following statements are correct
    A. The program flow chart is a tool for describing algorithms
    B. The PAD diagram is a tool for describing the logical structure of the program
    C. The PAD diagram is also called the box diagram
    D. The advantage of the NS diagram over the PAD diagram is that it supports Top-Down Design with Stepwise Refinement
    Correct Answer: B

  21. What is wrong about the world view of the structured method is ()
    A. All systems are composed of information flow
    B. Information flow can have no data sources and data pools
    C. Information processing is mainly manifested in the flow of information
    D. The flow of information is isolated Treatment without processing
    Correct answer: B

  22. Which of the following is not a rationale/principle of the structured approach?
    A. Bottom-up functional decomposition
    B. Data abstraction
    C. Functional abstraction
    D. Modularity
    Correct answer: A

  23. The abstraction layer of the structured method does not include ()
    A. Question layer
    B. Requirement analysis layer
    C. Design layer
    D. Implementation layer
    Correct answer: A

  24. Structured methods are gradually being replaced by object-oriented methods. Which of the following is not a problem with structured methods?
    A. The term space of the analysis phase and the design phase are inconsistent
    B. The structure of the solution does not maintain the structure of the original system
    C. Both the "process" and "data" captured are volatile
    D. No mechanism is provided to control the complexity of
    the correct answer :D

  25. Among the following options, the task that belongs to the detailed design stage is ( ).
    A. Assembly Test Plan
    B. Unit Test Plan
    C. Preliminary User Manual
    D. Acceptance Test Plan
    Correct Answer: B

  26. Get ( ) after the software outline design is finished.
    A. Initialized software structure diagram
    B. Optimized software structure diagram
    C. Detailed algorithm of modules
    D. Program code
    Correct answer: B

  27. Graphical tools are generally used in software design, which of the following can be used as a graphic tool for design ( ). a. Structural diagram b. Entity connection diagram c. IPO diagram d. Hierarchical diagram.
    A. a and b
    B. c and d
    C. a, c, d
    D. all
    Correct Answer: C

  28. The task of detailed design is to determine the ( ) of each module.
    A. External characteristics
    B. Algorithms and data structures
    C. Internal characteristics
    D. Functions
    Correct answer: B

  29. The main task of software design is to design the structure, process and modules of the software, and the main task of software structure design is to determine ( ).
    A. Operational details between modules
    B. Similarity between modules
    C. Composition relationship between modules
    D. Specific functions of modules
    Correct answer: C

  30. Coupling is a measure of the degree of interconnection between different modules of software. Various couplings are arranged from strong to weak as follows: ( )
    A. Content coupling, control coupling, data coupling, and public environment coupling.
    B. Content coupling, control coupling, public environment coupling, data coupling.
    C. Content coupling, public environment coupling, control coupling, data coupling.
    D. Control coupling, content coupling, data coupling, public environment coupling.
    Correct answer: C

  31. The design tools used in the detailed design stage are: ( )
    A. Program flow diagram, PAD diagram, NS diagram, HIPO diagram, decision table, decision tree
    B. Data flow diagram, Yourdon diagram, program flow diagram, PAD diagram, NS map, HIPO map.
    C. Decision table, decision tree, PDL, program flow chart, PAD diagram, NS diagram.
    D. Decision tables, decision trees, data flow diagrams, system flow diagrams, program flow diagrams, and hierarchical diagrams.
    Correct answer: C

  32. In software design, the purpose of using abstraction and decomposition is ().
    A. Improve legibility
    B. Reduce complexity
    C. Increase cohesion
    D. Reduce coupling
    Correct answer: B

  33. Structural Design (SD) is the most widely used system design method, which is based on ( ), top-down, progressive refinement and modular process.
    A. Data flow
    B. Data flow diagram
    C. Database
    D. Data structure
    Correct answer: B

  34. The following ( ) are not commonly used graphic description tools in detailed design.
    A. Data Flow Diagram
    B. Program Flow Diagram
    C. Box Diagram (NS)
    D. Problem Analysis Diagram (PAD)
    Correct Answer: A

  35. The degree of independence of the module is an important criterion for evaluating the quality of the design. ( ) are two qualitative metrics to measure the module independence of software.
    A. Coupling and cohesion
    B. Cohesion and reliability
    C. Coupling and independence
    D. Reliability and independence
    Correct Answer: A

  36. The following is not a software design principle is ().
    A. Abstract
    B. Modular
    C. Bottom-up
    D. Information hiding
    Correct answer: C

  37. In order to develop software projects with high quality, the ( ) principle must be followed when designing the software structure.
    A. Information concealment
    B. Quality control
    C. Program optimization
    D. Data sharing
    Correct answer: A

multiple choice

  1. Which of the following statements is wrong ()
    A. Heuristic rules are the rules that people have summed up from long-term software development practices, and should be generally followed in design
    B. Fan-in and fan-out should be moderate, and try to meet the 7+2 principle
    C. Good The design control domain of should include the scope
    D. In order to reduce the complexity of the module interface, multiple parameters of the same type should be combined into an array for transmission.
    Correct answer: ABD

fill in the blank

  1. Overall design in software engineering is also known as filling in the blanks 1 .
    Correct Answer:
    Fill in the Blank 1: Outline Design

  2. Structural design can generally be divided into outline design stage and fill-in-the-blank 1 design stage.
    Correct answer:
    Fill in the blank 1: Detailed

  3. The basic principles of modularity are fill in the blank 1 and fill in the blank 2 .
    Correct Answer:
    Fill in the Blank 1: High Cohesion
    Fill in the Blank 2: Low Coupling

  4. The task of detailed design is to determine the internal characteristics of each module, namely the data structure of the module and fill in the .
    Correct Answer:
    Fill in the Blank 1: Algorithm

True or False

  1. The fundamentals of software design do not include bottom-up design thinking.
    Correct answer: correct

  2. The high independence of the module means that the cohesion of the module is weak and the coupling is high.
    Correct Answer: False

  3. All data flow graphs can be viewed as transformational data flow graphs.
    Correct answer: correct

  4. The cohesion of the module itself is one of the important measures of module independence. Among the seven types of cohesion, the one with the strongest cohesion is procedural cohesion.
    Correct Answer: False

  5. The principle of information hiding in modularization refers to making the private information inside the module hidden from software developers.
    Correct Answer: False

  6. The main method used in software detailed design is flow chart design method.
    Correct answer: correct

Guess you like

Origin blog.csdn.net/m0_68111267/article/details/131324656