View Discussion Improve Article Save Article Like Article View Discussion Improve Article Save Article Like Article Introduction: The purpose of Design phase in the Software Development Life Cycle is to produce a solution to a problem given in the SRS(Software Requirement Specification) document. The output of the design phase is Software Design Document (SDD). Basically, design is a two-part iterative process. First part is Conceptual Design that tells the customer what the system will do. Second is Technical Design that allows the system builders to understand the actual hardware and software needed to solve customer’s problem. Conceptual design of the system:
Technical Design of the system:
Modularization: Modularization is the process of dividing a software system into multiple independent modules where each module works independently. There are many advantages of Modularization in software engineering. Some of these are given below:
Coupling: Coupling is the measure of the degree of interdependence between the modules. A good software will have low coupling. Types of Coupling:
Cohesion: Cohesion is a measure of the degree to which the elements of the module are functionally related. It is the degree to which all elements directed towards performing a single task are contained in the component. Basically, cohesion is the internal glue that keeps the module together. A good software design will have high cohesion. Types of Cohesion:
Software Engineering Multiple Choice Questions on “Software Design”. 1. Which is the first step in the software development life cycle ? a) Analysis b) Design c) Problem/Opportunity Identification d) Development and Documentation
This set of Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on “Modularity in Software Design”. 1. Java packages and Fortran subroutine are examples of__________ a) Functions b) Modules c) Classes d) Sub procedures View Answer Answer: b 2. Which of the property of software modularity is incorrect with respect to benefits software modularity? a) Modules are robust b) Module can use other modules c) Modules Can be separately compiled and stored in a library d) Modules are mostly dependent View Answer Answer: d 3. _______________ is a measure of the degree of interdependence between modules. a) Cohesion b) Coupling c) None of the mentioned d) All of the mentioned View Answer Answer: b 4. Which of the following is the best type of module coupling? a) Control Coupling b) Stamp Coupling c) Data Coupling d) Content Coupling View Answer Answer: c 5. Which of the following is the worst type of module coupling? a) Control Coupling b) Stamp Coupling c) External Coupling d) Content Coupling View Answer Answer: c
Become Top Ranker in Software Engineering Now! 6. Which of the following is the worst type of module cohesion? a) Logical Cohesion b) Temporal Cohesion c) Functional Cohesion d) Coincidental Cohesion View Answer Answer: d 7. Which of the following is the best type of module cohesion? a) Functional Cohesion b) Temporal Cohesion c) Functional Cohesion d) Sequential Cohesion View Answer Answer: a 8. A software engineer must design the modules with the goal of high cohesion and low coupling. a) True b) False View Answer Answer: a 9. In what type of coupling, the complete data structure is passed from one module to another? a) Control Coupling b) Stamp Coupling c) External Coupling d) Content Coupling View Answer Answer: b 10. If all tasks must be executed in the same time-span, what type of cohesion is being exhibited? a) Functional Cohesion b) Temporal Cohesion c) Functional Cohesion d) Sequential Cohesion View Answer Answer: b Sanfoundry Global Education & Learning Series – Software Engineering. Here’s the list of Best Books in Software Engineering. Next Steps:
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn. Subscribe to his free Masterclasses at Youtube & technical discussions at Telegram SanfoundryClasses. |