Manual Testing Interview Questions and Answers
I) Questions on SDLC Models:
Q) What is SDLC?
SDLC (Software Development Life Cycle) is a process or methodology used to develop a software in a systematic approach.
Q) Explain Phases of SDLC?
SDLC has 6 phases.
a. Requirement gathering
b. Analysis and planning
c. Software Design
d. Coding
e. Testing
f. Release and Maintenance
b. Analysis and planning
c. Software Design
d. Coding
e. Testing
f. Release and Maintenance
a. Requirement gathering:
During this phase, Business requirements are gathered from customer and documented. The output of this phase is Business requirements specification (BRS) document.
During this phase, Business requirements are gathered from customer and documented. The output of this phase is Business requirements specification (BRS) document.
b. Analysis and Planning:
During this phase, Business requirements are analyzed and System Requirements are documented. At the same time technology required to develop the system is also identified. Project plan is created to come up with project milestones and release date. The output of this phase is System Requirements Specification (SRS) document and Project Plan.
During this phase, Business requirements are analyzed and System Requirements are documented. At the same time technology required to develop the system is also identified. Project plan is created to come up with project milestones and release date. The output of this phase is System Requirements Specification (SRS) document and Project Plan.
c. Software Design:
During this phase, based on SRS document, High Level Design (HLD) and Low Level Design (LLD) is done for the entire system and for individual components in the system. The output of this phase is Design documents.
During this phase, based on SRS document, High Level Design (HLD) and Low Level Design (LLD) is done for the entire system and for individual components in the system. The output of this phase is Design documents.
d. Coding:
During this phase, based on the Design documents, programs are written in the selected programming language. The final output of this phase is code documents and executable software.
During this phase, based on the Design documents, programs are written in the selected programming language. The final output of this phase is code documents and executable software.
e. Testing:
During this phase, Test cases are created and executed by the testers to ensure that the system is developed as per the System requirements specifications(SRS). If there are any deviations, defects are reported to developers which are again fixed and given to testers. Testers perform Re and Regression testing and close the defects. The final output of this phase is Test Documents and Tested Software.
During this phase, Test cases are created and executed by the testers to ensure that the system is developed as per the System requirements specifications(SRS). If there are any deviations, defects are reported to developers which are again fixed and given to testers. Testers perform Re and Regression testing and close the defects. The final output of this phase is Test Documents and Tested Software.
f. Release and Maintenance:
During this phase, tested software is released to production and the software is deployed in customer’s environment by release team. Any defects/improvements identified thereafter by customer are addressed by maintenance team.
During this phase, tested software is released to production and the software is deployed in customer’s environment by release team. Any defects/improvements identified thereafter by customer are addressed by maintenance team.
Q) What are different types of SDLC Models?
There are different types of SDLC Models.
a. Sequential Models
b. Iterative/Incremental Models
i. Prototyping model
ii. Spiral Model
iii. Agile Model
a. Sequential Models
b. Iterative/Incremental Models
i. Prototyping model
ii. Spiral Model
iii. Agile Model
Q) What is Sequential SDLC Model?
SDLC Model in which the development activities are executed in a sequential manner. One phase starts only after the completion of its previous phase.
Q) What are different Sequential Models?
Below are different Sequential Models
i. Waterfall model
ii. V-Model
i. Waterfall model
ii. V-Model
Q) What are the different phases in Waterfall Model?
Waterfall model has 6 phases similar to general SDLC.
a. Requirement gathering
b. Analysis and planning
c. Software Design
d. Coding
e. Testing
f. Release and Maintenance
a. Requirement gathering
b. Analysis and planning
c. Software Design
d. Coding
e. Testing
f. Release and Maintenance
Q) Who are the people (Roles) involved in different phases of Waterfall Model?
Roles involved in different phases depends on the organizational structure. In general, below are the people who gets involved in different phases of SDLC.
i. Business analyst or Business Team in Requirements Gathering phase.
ii. Technical Manager or Senior Developers in Analysis phase, Project Manager in Planning phase.
iii. System Architect or Technical Lead in Design Phase.
iv. Development Leads and Developers in Coding phase.
v. Test Leads, Testers in Testing Phase.
vi. Project Manager, release team and Maintenance Team in Release and Maintenance phase.
ii. Technical Manager or Senior Developers in Analysis phase, Project Manager in Planning phase.
iii. System Architect or Technical Lead in Design Phase.
iv. Development Leads and Developers in Coding phase.
v. Test Leads, Testers in Testing Phase.
vi. Project Manager, release team and Maintenance Team in Release and Maintenance phase.
In addition to above, Development Managers and QA Managers are also involved to manage the respective teams.
Q) What are the advantages and disadvantages of Waterfall model?
Advantages of Waterfall model:
——————————
1. The main strength of Waterfall model is its simplicity and it is very easy to use.
2. Output generated at the end of each phase is reviewed and approved and hence it has high visibility.
3. Minimal resources are required.
4. It is less expensive as minimal resources are required.
5. This model is preferred for smaller projects where requirements are well understood.
——————————
1. The main strength of Waterfall model is its simplicity and it is very easy to use.
2. Output generated at the end of each phase is reviewed and approved and hence it has high visibility.
3. Minimal resources are required.
4. It is less expensive as minimal resources are required.
5. This model is preferred for smaller projects where requirements are well understood.
Disadvantages of Waterfall model:
———————————
1. It is difficult to implement any changes in the requirements.
2. No working software is produced until the last stage of the life cycle.
3. It is expensive to incorporate any changes once the project is in to testing phase.
4. Not suitable for complex projects, long term projects.
5. Not suitable when requirements are not clear.
———————————
1. It is difficult to implement any changes in the requirements.
2. No working software is produced until the last stage of the life cycle.
3. It is expensive to incorporate any changes once the project is in to testing phase.
4. Not suitable for complex projects, long term projects.
5. Not suitable when requirements are not clear.
Q) What is V-Model?
V-Model is also known as Verification and Validation Model. In V-Model, testing is done in parallel with corresponding development activity.
Q) What are the different levels of testing in V-Model?
i. Unit / Component Testing
ii. Integration Testing
iii. System Testing
iv. Acceptance Testing
ii. Integration Testing
iii. System Testing
iv. Acceptance Testing
Q) Who perform integration testing in V-Model?
In general, developers perform integration testing in V-model.
Q) What are the advantages and disadvantages of V-Model?
Advantages of V-model:
———————-
1. Quality of the software gets improved as the model as testing activities for the respective development activity.
2. Avoids the Defect multiplication.
3. Saves more time as testing activities happen well before coding.
4. Defects can be identified in the early stages of the life cycle.
———————-
1. Quality of the software gets improved as the model as testing activities for the respective development activity.
2. Avoids the Defect multiplication.
3. Saves more time as testing activities happen well before coding.
4. Defects can be identified in the early stages of the life cycle.
Disadvantages of V-model:
————————-
1. Expensive as it involves more number of resources
2. Adopting any changes in requirements is not possible.
————————-
1. Expensive as it involves more number of resources
2. Adopting any changes in requirements is not possible.
Q) What are the advantages of V-model over Waterfall Model?
Software quality gets improved in V-Model as it has testing activities in parallel for the respective development activity. Defects can be identified in early stages of life cycle and defects multiplication can be avoided.
Q) What is the importance of SDLC in Software Development?
Quality software can be delivered when SDLC is followed.
Q) When does Testing activity starts in Waterfall model?
Testing activity starts only after development phase is completed i.e, Testing is post development activity in Waterfall model.
Q) When does Testing activity starts in V-Model?
Testing activity starts during Requirements stage itself in V-model.
Q) What is Iterative/Incremental SDLC Model?
Process of developing software through repeated cycles (Iterative) and in smaller portions at a time (incremental) is called Iterative/Incremental SDLC.
Q) What are different Iterative SDLC Models?
i. Prototype Model
ii. Spiral model
iii. Agile Model
ii. Spiral model
iii. Agile Model
Q) What is Prototype Model?
In this model, based on the requirements, prototype (Non-functional system) is developed and delivered to customer for his evaluation. Based on customer feedback, prototype is refined and again given for customer evaluation. The process repeats until developers get clarification on the requirements. Once the prototype is finalized, the requirements are also frozen.
Q) What is Prototype?
Prototype is the sample implementation of the actual system. It can be also called as Non-functional system.
Q) What are the advantages and disadvantages of Prototype Model?
Advantages of Prototype model:
——————————
——————————
1. Clarity on requirements from the customer, success rate of the project is higher.
2. Customer can see the system and he provide the feedback immediately.
3. Errors can detected much earlier as customer is getting involved.
2. Customer can see the system and he provide the feedback immediately.
3. Errors can detected much earlier as customer is getting involved.
Disadvantages of Prototype model:
———————————
———————————
1. Customer may think that prototype is the real system.
2. Time taking model as the actual development does not start until the prototype is finalized.
3. Adopting changes or adding new requirements is difficult.
4. Prototype is of no use once the development of actual system is started.
2. Time taking model as the actual development does not start until the prototype is finalized.
3. Adopting changes or adding new requirements is difficult.
4. Prototype is of no use once the development of actual system is started.
Q) What is Agile Model?
Meaning of Agile is “Moving Quickly”. When applied to Software development, it means that delivering the software that meets customer requirements in shortest possible time.
Agile software life cycle is an iterative process where software is ready at each iteration but can always be improved in next iteration.
Q) What are the advantages and disadvantages of Agile Model?
Advantages of Agile Model:
————————–
1. Success rate of the project very high compared to any other models.
2. Can adopt changes in requirements at any point of time.
3. Working software is delivered frequently.
4. It emphasizes on responding to change rather than extensive planning and documentation.
5. It is recommended for Product Development.
————————–
1. Success rate of the project very high compared to any other models.
2. Can adopt changes in requirements at any point of time.
3. Working software is delivered frequently.
4. It emphasizes on responding to change rather than extensive planning and documentation.
5. It is recommended for Product Development.
Disadvantages of Agile Model:
—————————–
1. Expensive Model as more number of resources are required.
2. Complex in Managing.
3. There is lack of emphasis on necessary designing and documentation.
4. The project can easily get taken off track if there is any communication gap.
—————————–
1. Expensive Model as more number of resources are required.
2. Complex in Managing.
3. There is lack of emphasis on necessary designing and documentation.
4. The project can easily get taken off track if there is any communication gap.
Q) What are different Types of Agile Models?
i. Extreme Programming
ii. Scrum Model
ii. Scrum Model
Q) What is Extreme Programming Model?
Extreme Programming (XP) is a software development methodology which is intended to improve software quality and responsiveness to changing customer requirements. As a type of agile software development, it advocates frequent releases in short development cycles, which is intended to improve productivity and introduce checkpoints where new customer requirements can be adopted.
Q) What is Scrum Model?
Scrum is an iterative and incremental agile software development methodology for managing software development.
In this model, System is divided into small parts known as Sprints. The duration of each sprint can range from one week to three weeks. At the end of the sprint, team members and stake holders meet to assess the progress of the project and identify further plan of action. This assessment helps in taking stalk of the current state and rework the line of work and complete the project on time and not just speculate or predict the further outcome.
In this model, System is divided into small parts known as Sprints. The duration of each sprint can range from one week to three weeks. At the end of the sprint, team members and stake holders meet to assess the progress of the project and identify further plan of action. This assessment helps in taking stalk of the current state and rework the line of work and complete the project on time and not just speculate or predict the further outcome.
Q) What is Spiral Model?
The spiral model is a incremental model with more emphasis placed on risk analysis. This model has four phases: Planning, Risk Analysis, Engineering and Evaluation. A software project repeatedly passes through these phases in iterations called Spirals in this model.
Q) What are the advantages and disadvantages of Spiral Model?
Advantages of Spiral model:
—————————
1. High amount of risk analysis and hence avoidance of Risk is enhanced.
2. Good for large and mission-critical projects.
3. Strong approval and documentation control.
4. Additional Functionality can be added at a later date.
5. Software is produced early in the software life cycle.
—————————
1. High amount of risk analysis and hence avoidance of Risk is enhanced.
2. Good for large and mission-critical projects.
3. Strong approval and documentation control.
4. Additional Functionality can be added at a later date.
5. Software is produced early in the software life cycle.
Disadvantages of Spiral model:
—————————–
1. Can be a costly model to use.
2. Risk analysis requires highly specific expertise.
3. Project’s success is highly dependent on the risk analysis phase.
4. Doesn’t work well for smaller projects.
—————————–
1. Can be a costly model to use.
2. Risk analysis requires highly specific expertise.
3. Project’s success is highly dependent on the risk analysis phase.
4. Doesn’t work well for smaller projects.
Q) Why is Agile Model so popular than other SDLC models?
Agile Model is popular because of its flexibility in adopting changes in requirements and at the same time delivering software in shortest possible time.
Q) What are the advantages of Iterative Models over Sequential Models?
1. In iterative model we can only create a high-level design of the application before we actually begin to build the product and define the design solution for the entire product. Later on we can design and built a skeleton version of that, and then evolved the design based on what had been built.
2. In iterative model we are building and improving the product step by step. Hence we can track the defects at early stages and avoid the downward flow of the defects.
3. In iterative model we can get the reliable user feedback. When presenting sketches and blueprints of the product to users for their feedback, we are effectively asking them to imagine how the product will work.
4. In iterative model less time is spent on documenting and more time is given for designing.
2. In iterative model we are building and improving the product step by step. Hence we can track the defects at early stages and avoid the downward flow of the defects.
3. In iterative model we can get the reliable user feedback. When presenting sketches and blueprints of the product to users for their feedback, we are effectively asking them to imagine how the product will work.
4. In iterative model less time is spent on documenting and more time is given for designing.
Q) What is the difference between Sequential and Iterative Models?
1. In Sequential models, Software is developed at once and delivered where as in Iterative models, software is divided into increments and developed.
2. In Sequential models, working software is not produced until late in the life cycle, where as in Iterative models, software is developed and delivered early in increments.
2. In Sequential models, working software is not produced until late in the life cycle, where as in Iterative models, software is developed and delivered early in increments.
0 comments:
Post a Comment