Final deck Flashcards

1
Q

What is factory method pattern?

A

A creational pattern (under design pattern), that deals with object creation mechanisms.

Basic form of object creation could result in design problems or added complexity. Factory pattern solves this by controlling this object creation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the intent of builder design pattern?

A

Separate the construction of a complex object from its representation so that the same construction process can create different representations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is adapter design pattern? (Structural Design pattern)

A

Convert interface of a class into another interface clients expect. Adapter lets classes work together that couldn’t otherwise because of incompatible interfaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are structural design patterns?

A

Structural design patterns are all about class and object composition. Structural class-creating patterns use inheritance to compose interfaces. Structural object-patterns define ways to compose objects to obtain new functionality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are Behavioral design patterns?

A

Behavioral design patterns are all about Class’s objects communication. Behavioral patterns are those patterns that are most specifically concerned with communication between objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Equivalence partitioning?

A

Software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived.
Goal is to reduce test cases that must be developed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the steps of spiral?

A

Combination of waterfall and iterative model. Each phase begins with design goal and ends with client reviewing the progress.

  1. Planning - includes estimating the cost, schedule and resources for the iteration. Involves udnerstanding the system requirements for continuous communication between the system analyst and the customer
  2. Risk analysis - Identification of potential risk is done while risk mitigation strategy is planned and finalized
  3. Engineering - Testing, coding, deploying software at the customer site
  4. Evaluation - Evaluation by the customer. Includes identifying and monitoring risks such as schedule slippage and cost overrun.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When to use spiral?

A

When project is large
When releases are required to be frequent
When creation of a prototype is applicable
When risk and costs evaluation is important
for medium-high risk projects
when requirements are unclear and complex
when changes may require at any time
when long term project commitment is not feasible due to changes in economic priorities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Advantages of spiral

A

Additional functionality can be done at later stage

Cost estimation becomes easy as the prototype building is done in small fragments

continuous or repeated development helps in risk management

Development is fast and features are added in a systematic way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Disadvantages of spiral

A

Risk of not meeting the schedule or budget

works best for large projects, demands risk assessment expertise

for smooth spiral, protocol needs to be followed strictly

More documentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly