Software development lifecycle Flashcards

1
Q

Which of the following stages is the least relevant stage in software development process?
1. Requirement elicitation
2. Software maintenance
3. Deployment
4. Feasibility analysis

A

Feasibility analysis

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

V Life cycle model can be divided in to two main phases, those are …
A. Inception and Development
B. Decomposition and Integration
C. Development and Testing
D. Development and Maintenance

A

Decomposition and Integration.

The V-model focuses on using a validation and verification approach to software development.

The downward flow is called decomposition.

The upward flow is called integration.

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

Which of the following process model requires user involvement throughout the project?
A. Waterfall process
B. V Life cycle model
C. Agile
D. RAD

A

Agile

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

Which of the following two attributes represents software quality as whole?
A. Clear Requirements and Executable Code
B. Complete Requirements and Acceptable Design
C. Current Usefulness and Potential Usefulness
D. Complete Design and Useability Testing

A

Current Usefulness and Potential Usefulness

This is because the concept of software quality focuses mainly on whether the current system meets all the desired aspects and is therefore useful to the users. But this alone is insufficient since adaptability and evolving to future requirements can negatively impact the overall quality. Therefore, the system must also have the potential to be maintained in order to continue being useful to the user.

In essence, software quality is not just about meeting current needs (current usefulness) but also ensuring the software’s ability to remain relevant and functional in the future (potential usefulness).

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

System testing should investigate
A. Non-functional requirements only not Functional requirements
B. Functional requirements only not non-functional requirements
C. Non-functional requirements and Functional requirements
D. Non-functional requirements or Functional requirements

A

Non-functional requirements and Functional requirements.

We should consider all aspects of the system which includes both the non-functional and functional requirements

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

What is meant by software “Phase out”?
A. Completion of one phase of a software process
B. Completely removing a software from its use.
C. Software development deviate from its planned process
D. Use of outdated software

A

Completely removing a software from its use.

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

Which of the following is not a feature of an Incremental Development?
A. Cost in change of software increases
B. Continuous customer feedback available
C. More rapid development and deployment
D. Iterates through Specification, Development and Validation

A

Cost in change of software increases

Why is this the answer? because incremental development focuses on incremental builds of the system and integrates customer feedback for each iteration. Also, this allows the system to be implemented quickly. Lastly, during each iteration, we utilize the specification, development and validation steps too which allows this model to be very adaptable.

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

When Comparing Spiral model with the other software development process models, what is the significant difference?
A. More weight given for the requirement elicitation
B. More emphasis on risk factors in each phase
C. More concentration on Budgetary requirements
D. More weight given for the development and maintenance

A

More emphasis on risk factors in each phase

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

When an ambiguous requirement may be interpreted in different ways by developers, this situation referred as …
A. Requirement imprecision
B. System Requirement
C. Invalid Requirement
D. Bug

A

Requirement imprecision

Requirement imprecision happens when requirements are not very clearly defined. Which leads other stakeholders to conjour different interpretations of the requirement.

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

What is the main objective of software testing?
A. Finding Errors
B. Show that software is operative
C. Fix the bugs
D. Show the software adhere to the requirements

A

Finding Errors

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

Normally which of the following role perform debugging?
A. Business analyst
B. Tester
C. Developer
D. Trainer

A

Developer

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

Which of the following is not a testing principle?
A. Absence of Error Fallacy
B. Defect clustering
C. Pesticide paradox
D. Testing is context independent

A

Which of the following is not a testing principle?

Testing is context independent is the correct answer because this statement contradicts one of the fundamental principles of software testing, which is that “Testing is context dependent.”

Why the other options are valid testing principles:
A. Absence of Error Fallacy: Even if the software is error-free, it does not guarantee it meets user needs. This principle highlights the importance of validating requirements alongside defect detection.

B. Defect Clustering: A small number of modules in a system often contain the majority of the defects. This principle is used to prioritize testing efforts.

C. Pesticide Paradox: If the same tests are repeated over time, they become less effective at finding new defects. This principle encourages testers to periodically revise and create new test cases.

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

What is meant by shared memory interface in software testing?
A. Same input feed into two or more software interfaces
B. Block of memory variable shared by two or more software functions
C. Output of one function passes as input for another function
D. One function request service of another function

A

Block of memory variable shared by two or more software functions

This is the correct answer because a shared memory interface in software testing** refers to a mechanism where a block of memory is accessible to multiple software functions or processes to exchange data**.

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

The name of the testing which is done to make sure the existing features are not affected by new changes.
A. Recursive testing
B. White box testing
C. Unit testing
D. Regression testing

A

Regression testing

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

An alarm is to ring once the temperature falls above 40 and then it is turned off when the temperature is less than 20. Identify the most suitable Equivalence Partition which belong to the same class.
A. 0,1,2,59
B. 1, 6, 9, 5
C. 20, 29, 35, 40
D. 40, 57, 67, 99

A

20, 29, 35, 40

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

Which of the following role responsible for the acceptance testing?
A. Client
B. Developer
C. Tester
D. Software Designer

17
Q

Cyclomatic Complexity is a measure for determining …
A. Number of test cases
B. Number of test paths
C. Number of code lines to test
D. Percentage of test coverage

A

Number of test paths

18
Q

Which of the following is not a normal stage of software risk management?
A. Risk identification
B. Risk planning
C. Risk mitigation
D. Risk monitoring

A

Risk mitigation

19
Q

Which of the following step is not available in a Sprint Cycle of an agile process?
A. User story selection
B. Development of functionality
C. Review the operation
D. Outline the integration plan

A

Outline the integration plan

20
Q

Calculate the Cyclomatic Complexity of the following code fragment.

INT X = INPUT;
IF X > 5
THEN Statement 1;
ELSE Statement 2;
END

A. 1
B. 2
C. 3
D. 4