Software-design
Question 1 |
Which design metric is used to measure the compactness of the program in terms of lines of code?
Consistency | |
Conciseness | |
Efficiency | |
Accuracy |
Question 1 Explanation:
Consistency: The use of uniform design and documentation techniques throughout the software development project.
Conciseness: used to measure the compactness of the program in terms of lines of code.
Efficiency: It refers to the amount of computing resources and code required by a program to perform its function.
Accuracy: The precision of computations and control.
Conciseness: used to measure the compactness of the program in terms of lines of code.
Efficiency: It refers to the amount of computing resources and code required by a program to perform its function.
Accuracy: The precision of computations and control.
Question 2 |
A software design is highly modular if:
cohesion is functional and coupling is data type. | |
cohesion is coincidental and coupling is data type. | |
cohesion is sequential and coupling is content type. | |
cohesion is functional and coupling is stamp type. |
Question 2 Explanation:
A good software should have high cohesion and low coupling.
Coupling: It is a measure of the degree of interdependence between modules.
![](https://solutionsadda.in/wp-content/uploads/2019/08/Screenshot-from-2019-08-28-12-57-41.png)
Coupling: It is a measure of the degree of interdependence between modules.
![](https://solutionsadda.in/wp-content/uploads/2019/08/Screenshot-from-2019-08-28-12-57-41.png)
Question 3 |
![](https://solutionsadda.in/wp-content/uploads/2019/08/Screenshot-from-2019-08-28-23-08-23.png)
(a)-(i), (b)-(iii), (c)-(ii), (d)-(iv) | |
(a)-(iv), (b)-(i), (c)-(ii), (d)-(iii) | |
(a)-(i), (b)-(v), (c)-(ii), (d)-(iii) | |
(a)-(iv), (b)-(ii), (c)-(i), (d)-(iii) |
Question 3 Explanation:
Joint Application Design → A group based tool for collecting user requirements and creating system design. Mostly used in analysis and design stages of SDLC.
Computer Aided Software Engg → Delivers functionality in rapid iterations measured in weeks and needs frequent communication, development, testing and delivery.
Agile → Reusable applications generally with one specific function. It is closely linked with the idea of web services and service oriented architecture.
Component based technology → Tools to automate many tasks of development SDLC.
Computer Aided Software Engg → Delivers functionality in rapid iterations measured in weeks and needs frequent communication, development, testing and delivery.
Agile → Reusable applications generally with one specific function. It is closely linked with the idea of web services and service oriented architecture.
Component based technology → Tools to automate many tasks of development SDLC.
Question 4 |
Which of the following approaches is generally applied for module design phase while developing new software?
Top-down approach | |
Bottom-up approach | |
centre fringing | |
depends on the size of software |
Question 5 |
In the context of Object oriented software design, which of the following consequences of use of inheritance is disadvantageous?
Increased coupling between classes | |
Reusable code development
| |
Supports building class hierarchy | |
Supports development of classes with less number of arguments and methods |
Question 6 |
Which of the following software development process is not necessarily useful for developing software for automating an existing manual system for a client?
Prototyping | |
Iterative enhancement | |
Spiral model | |
Waterfall model |
Question 7 |
Which of the following is not one of three software product aspects addressed by McCall’s software quality factors ?
Ability to undergo change | |
Adaptability to new environments | |
Operational characteristics | |
Production costs and scheduling |
Question 7 Explanation:
McCall’s software quality factors
1. Product operation factors − Correctness, Reliability, Efficiency, Integrity, Usability.
2. Product revision factors − Maintainability, Flexibility, Testability.
3. Product transition factors − Portability, Reusability, Interoperability.
![](https://solutionsadda.in/wp-content/uploads/2019/03/Screenshot-from-2019-03-15-19-29-50.png)
1. Product operation factors − Correctness, Reliability, Efficiency, Integrity, Usability.
2. Product revision factors − Maintainability, Flexibility, Testability.
3. Product transition factors − Portability, Reusability, Interoperability.
![](https://solutionsadda.in/wp-content/uploads/2019/03/Screenshot-from-2019-03-15-19-29-50.png)
Question 8 |
The prototyping model of software development is:
a reasonable approach when requirements are well-defined | |
a useful approach when a customer cannot define requirements clearly. | |
the best approach to use for projects with large development teams. | |
a risky model that rarely produces a meaningful product. |
Question 8 Explanation:
→ The prototyping model of software development is a useful approach when a customer cannot define requirements clearly.
Advantage:
1. We can develop the software where requirements are unclear
2. Customer satisfaction
Disadvantage:
1. Who pay cost of prototype
2. Required the design expertise
Advantage:
1. We can develop the software where requirements are unclear
2. Customer satisfaction
Disadvantage:
1. Who pay cost of prototype
2. Required the design expertise
Question 9 |
A software design pattern used to enhance the functionality of an object at run-time is:
Adapter | |
Decorator | |
Delegation | |
Proxy |
Question 9 Explanation:
→ Software design pattern used to enhance the functionality of an object at run-time is Decorator.
→ Decorator will attach additional responsibilities to an object dynamically keeping the same interface.
→ Decorators provide a flexible alternative to subclassing for extending functionality.
→ Decorator will attach additional responsibilities to an object dynamically keeping the same interface.
→ Decorators provide a flexible alternative to subclassing for extending functionality.
Question 10 |
‘Abstraction’ is ____________ step of Attribute in a software design.
First | |
Final | |
Last | |
Middle |
Question 10 Explanation:
‘Abstraction’ is first step of Attribute in a software design. The process of removing physical, spatial, or temporal details or attributes in the study of objects or systems in order to more
closely attend to other details of interest.
Question 11 |
Successive layer of design in software using bottom-up design is called :
Layer of Definement | |
Layer of Construction | |
Layer of abstraction | |
None of the above |
Question 11 Explanation:
Successive layer of design in software using bottom-up design is called layer of abstraction.