Software-design
Question 1 |
Which of the following UML 2.0 diagrams capture behavioural aspects of a system?
Use Case Diagram, Object Diagram, Activity Diagram, and State Machine Diagram | |
Use Case Diagram, Activity Diagram, and State Machine Diagram | |
Object Diagram, Communication Diagram, Timing Diagram, and Interaction diagram | |
Object Diagram, Composite Structure Diagram, Package Diagram, and Deployment Diagram |
Question 1 Explanation:
UML diagram are two types:


Question 2 |
Capability Maturity Model (CMM) is a methodology to
develop and refine an organization’s software development process | |
develop the software | |
test the software | |
All of the above |
Question 2 Explanation:
CMM stands for Capability Maturity Model is a process model which specifies the process improvement approach in software development.
CMM levels:
1. Initial
2. Repeatable
3. Defined
4. Managed
5. Optimizing
CMM levels:
1. Initial
2. Repeatable
3. Defined
4. Managed
5. Optimizing
Question 3 |
In the context of modular software design, which one of the following combinations is desirable?
High cohesion and high coupling | |
High cohesion and low coupling | |
Low cohesion and high coupling | |
Low cohesion and low coupling |
Question 3 Explanation:
→ Cohesion is a measure of internal strength within a module, whereas coupling is a measure of inter dependency among the modules.
→ So in the context of modular software design, there should be high cohesion and low coupling.
→ So in the context of modular software design, there should be high cohesion and low coupling.
Question 4 |
In the Spiral model of software development, the primary determinant in selecting activities in each iteration is
Iteration size | |
Cost | |
Adopted process such as Rational Unified Process or Extreme Programming | |
Risk |
Question 4 Explanation:
→ In the Spiral model of software development, the primary determinant in selecting activities in each iteration is risk handling
→ The spiral model is a risk-driven software development process model. Based on the unique risk patterns of a given project, the spiral model guides a team to adopt elements of one or more process models, such as incremental, waterfall, or evolutionary prototyping.

→ The spiral model is a risk-driven software development process model. Based on the unique risk patterns of a given project, the spiral model guides a team to adopt elements of one or more process models, such as incremental, waterfall, or evolutionary prototyping.

Question 5 |
For a software project, the spiral model was employed. When will the spiral stop?
When the software product is retired | |
When the software product is released after Beta testing | |
When the risk analysis is completed | |
After completing five loops |
Question 5 Explanation:
→ The spiral model is a risk-driven software development process model.
→ Based on the unique risk patterns of a given project, the spiral model guides a team to adopt elements of one or more process models, such as incremental, waterfall, or evolutionary prototyping.
→ Spiral model stop, when the software product is retired
→ Based on the unique risk patterns of a given project, the spiral model guides a team to adopt elements of one or more process models, such as incremental, waterfall, or evolutionary prototyping.
→ Spiral model stop, when the software product is retired
Question 6 |
Coupling is a measure of the strength of the interconnections between software modules. Which of the following are correct statements with respect to module coupling ?
- P : Common coupling occurs when one module controls the flow of another module by passing it information on what to do.
Q : In data coupling, the complete data structure is passed from one module to another through parameters.
R : Stamp coupling occurs when modules share a composite data structure and use only parts of it.
P and Q only
| |
P and R only | |
Q and R only | |
All of P, Q and R
|
Question 6 Explanation:
Common Coupling: Common coupling occurs if two modules share same global data.
Data Coupling: Data coupling occurs when two modules communicate using elementary data items that are passed as parameters between two modules.
Stamp Coupling: Stamp coupling occurs if two modules communicate using composite items such as records in Pascal or structure in C.
Data Coupling: Data coupling occurs when two modules communicate using elementary data items that are passed as parameters between two modules.
Stamp Coupling: Stamp coupling occurs if two modules communicate using composite items such as records in Pascal or structure in C.
Question 7 |
A software design pattern often used to restrict access to an object is :
adapter | |
decorator | |
delegation
| |
proxy
|
Question 7 Explanation:
Proxy pattern: A class functioning as an interface to another thing. In the proxy, extra functionality can be provided, for example caching when operations on the real object are resource intensive, or checking preconditions before operations on the real object are invoked.
→ For the client, usage of a proxy object is similar to using the real object, because both implement the same interface.
→ Proxy pattern solve the access to an object should be controlled and functionality should be provided when accessing an object.
→ When accessing sensitive objects, for example, it should be possible to check that clients have the needed access rights.
→ For the client, usage of a proxy object is similar to using the real object, because both implement the same interface.
→ Proxy pattern solve the access to an object should be controlled and functionality should be provided when accessing an object.
→ When accessing sensitive objects, for example, it should be possible to check that clients have the needed access rights.
Question 8 |
RAD software process model stands for:
Rapid Application Development | |
Rapid Application Design | |
Relative Application Development | |
Recent Application Development |
Question 8 Explanation:
Rapid Application Development focuses on gathering customer requirements through workshops or focus groups, early testing of the prototypes by the customer using iterative concept, reuse of the existing prototypes (components), continuous integration and rapid
delivery.
Question 9 |
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 9 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.

1. Product operation factors − Correctness, Reliability, Efficiency, Integrity, Usability.
2. Product revision factors − Maintainability, Flexibility, Testability.
3. Product transition factors − Portability, Reusability, Interoperability.

Question 10 |
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 10 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 11 |
A software design pattern used to enhance the functionality of an object at run-time is:
Adapter | |
Decorator | |
Delegation | |
Proxy |
Question 11 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 12 |
Which one from the following is highly associated activity of project planning?
Keep track of the project progress. | |
Compare actual and planned progress and costs. | |
Identify the activities, milestones and deliverables produced by a project. | |
Both (2) and (3). |
Question 12 Explanation:
Project planning activities(High priority):
1. Compare actual and planned progress and costs.
2. Identify the activities, milestones and deliverables produced by a project.
1. Compare actual and planned progress and costs.
2. Identify the activities, milestones and deliverables produced by a project.
There are 12 questions to complete.
