Ques.76. What is the difference between regression and retesting?
Ans. Regression testing involves testing the application to verify that a new code change doesn't affect the other parts of the application. Whereas, in retesting, we verify if the fixed issue is resolved or not.
Ques.77. What is the difference between black-box and white-box testing?
Ans. Black-box testing is a type of testing in which internal architecture of the code is not required for testing. It is usually applicable for system and acceptance testing.
Whereas white-box testing requires internal design and implementation knowledege of the application being tested. It is usually applicable for Unit and Integration testing.
Ques.78. What is the difference between smoke and sanity testing?
Ans. The difference between smoke and sanity testing is-
Ques.79. What is code coverage?
Ans. Code coverage is the measure of the amount of code covered by the test scripts. It gives the idea of the part of the application covered by the test suite.
Ques.80. What is cyclomatic complexity?
Ans. Cyclomatic complexity is the measure of the number of independent paths in an application or program. This metric provides an indication of the amount of effort required to test complete functionality. It can be defined by the expression -
L – N + 2P, where:
L is the number of edges in the graph
N is the number of node
P is the number of disconnected parts
Ques.81. What is dynamic testing?
Ans. Testing performed by executing or running the application under test either manually or using automation.
Ques.82. What is an exit criteria?
Ans. An exit criteria is a formal set of conditions that specify the agreed upon features or state of application in order to mark the completion of the process or product.
Ques.83. What is requirement traceability matrix(RTM)?
Ans. In software testing, a traceability matrix is a table that relates the high level requirements with either detailed requirements, test plans or test cases. RTM helps in ensuring 100% test coverage.
Ques.84. What is pilot testing?
Ans. Pilot testing is a testing carried out as a trial by limited number of users to evaluate the system and provide their feedback before the complete deployment is carried out.
Ques.85. What is backend testing?
Ans. Backend testing is a type of testing that invloves testing the backend of the system which comprises of testing the databases and the APIs in the application.
Ques.86. What are some advantages of automation testing?
Ans. Some advantages of automation testing are-
Ques.87. What are some disadvantages of automation testing?
Ans. Some advantages of automation testing are-
Ques.88. What is mutation testing?
Ans. Mutation testing is a type of white box testing in which the source code of the application is mutated to cause some defect in its working. After that the test scripts are executed to check for their correctness by verifying the failures caused the mutant code.
Ques.89. Write test cases for Pen.
Ans. Test cases of Pen
Ques.90. Write test cases for ATM Machine.
Ans. Test cases of ATM Machine
Ques.91. Write test cases for Login.
Ans. Test cases of Login Page
Ques.92. Write test cases for Lift.
Ans. Test cases of Lift
Ques.93. Write test cases for an ecommerce application.
Ans. Test cases of e-commerce application
Ques.94. What should be the psychology testing?
The two main stakeholders in software development life cycle - Testers and Developers have different mindsets while approaching an application. Testers tend to have a more stringent approach of examining the software. Most of the time they are looking to "break the application". Whereas, developers have the mindset to "make the application work".
ISTQB has defined certain psychological factors that influence the success of testing-
Ques.95. What is the difference between testing and debugging?
Ans. Testing is the primarily performed by testing team in order to find the defects in the system. Whereas, debugging is an activity performed by development team. In debugging the cause of defect is located and fixed. Thus removing the defect and preventing any future occurrence of the defect as well.
Other difference between the two is - testing can be done without any internal knowledge of software architecture. Whereas debugging requires knowledge of the software architecture and coding.
Ques.96. Explain Agile methodology?
Ans. Agile methodology of software development is based on interative and incremental approach. In this model, the application is broken down into smaller build on which different cross functional team work together providing rapid delivery along with adapting to changing needs at the same time.
Ques.97. What is scrum?
Ans. A scrum is a process for implementing Agile methodology. In scrum, time is divided into sprints and on completion of sprints, a deliverable is shipped.
Ques.98. What are the different roles in scrum?
Ans. The different roles in scrum are -
Ques.99. What is a scrum meeting?
Ans. A scrum meeting is daily meeting in scrum process. This meeting is conducted by scrum master and update of previous day's work along with next day's task and context is defined in this meeting.
Ques.100. Explain TDD (Test Driven Development).
Ans. Test Driven Development is a software development methodology in which the development of the software is driven by test cases created for the functionality to be implemented. In TDD, first the test cases are created and then code to pass the tests is written. Later the code is refactored as per the standards.