Interview Preparation Exam  >  Interview Preparation Notes  >  Placement Papers - Technical & HR Questions  >  Software Testing Basics Interview Questions (Part - 2)

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation PDF Download

19. Which test cases are written first: white boxes or black boxes?

Normally black box test cases are written first and white box test cases later. In order to write black box test cases we need the requirement document and, design or project plan. All these documents are easily available at the initial start of the project. White box test cases cannot be started in the initial phase of the project because they need more architecture clarity which is not available at the start of the project. So normally white box test cases are written after black box test cases are written. 

Black box test cases do not require system understanding but white box testing needs more structural understanding. And structural understanding is clearer i00n the later part of project, i.e., while executing or designing. For black box testing you need to only analyze from the functional perspective which is easily available from a simple requirement document.

  Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation


20. Explain Unit Testing, Integration Tests, System Testing and Acceptance Testing?

Unit testing - Testing performed on a single, stand-alone module or unit of code.

Integration Tests - Testing performed on groups of modules to ensure that data and control are passed properly between modules.

System testing - Testing a predetermined combination of tests that, when executed successfully meets requirements.

Acceptance testing - Testing to ensure that the system meets the needs of the organization and the end user or customer (i.e., validates that the right system was built).


21. What is a test log?

The IEEE Std. 829-1998 defines a test log as a chronological record of relevant details about the execution of test cases. It's a detailed view of activity and events given in chronological manner. 

The following figure shows a test log and is followed by a sample test log.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation 
 

22. Can you explain requirement traceability and its importance?

In most organizations testing only starts after the execution/coding phase of the project. But if the organization wants to really benefit from testing, then testers should get involved right from the requirement phase.

If the tester gets involved right from the requirement phase then requirement traceability is one of the important reports that can detail what kind of test coverage the test cases have.


23. What does entry and exit criteria mean in a project?

Entry and exit criteria are a must for the success of any project. If you do not know where to start and where to finish then your goals are not clear. By defining exit and entry criteria you define your boundaries.

For instance, you can define entry criteria that the customer should provide the requirement document or acceptance plan. If this entry criteria is not met then you will not start the project. On the other end, you can also define exit criteria for your project. For instance, one of the common exit criteria in projects is that the customer has successfully executed the acceptance test plan.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation


24. What is the difference between verification and validation?

Verification is a review without actually executing the process while validation is checking the product with actual execution. For instance, code review and syntax check is verification while actually running the product and checking the results is validation.


25. What is the difference between latent and masked defects?

A latent defect is an existing defect that has not yet caused a failure because the sets of conditions were never met.

A masked defect is an existing defect that hasn't yet caused a failure just because another defect has prevented that part of the code from being executed.


26. Can you explain calibration?

It includes tracing the accuracy of the devices used in the production, development and testing. Devices used must be maintained and calibrated to ensure that it is working in good order.


27. What's the difference between alpha and beta testing?

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation

Alpha and beta testing has different meanings to different people. Alpha testing is the acceptance testing done at the development site. Some organizations have a different visualization of alpha testing. They consider alpha testing as testing which is conducted on early, unstable versions of software. On the contrary beta testing is acceptance testing conducted at the customer end.

In short, the difference between beta testing and alpha testing is the location where the tests are done.


28. How does testing affect risk?

A risk is a condition that can result in a loss. Risk can only be controlled in different scenarios but not eliminated completely. A defect normally converts to a risk.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation


29. What is coverage and what are the different types of coverage techniques?

Coverage is a measurement used in software testing to describe the degree to which the source code is tested. There are three basic types of coverage techniques as shown in the following figure:

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation
 

  • Statement coverage: This coverage ensures that each line of source code has been executed and tested.
  • Decision coverage: This coverage ensures that every decision (true/false) in the source code has been executed and tested.
  • Path coverage: In this coverage we ensure that every possible route through a given part of code is executed and tested.



30. A defect which could have been removed during the initial stage is removed in a later stage. How does this affect cost?

If a defect is known at the initial stage then it should be removed during that stage/phase itself rather than at some later stage. It's a recorded fact that if a defect is delayed for later phases it proves more costly. The following figure shows how a defect is costly as the phases move forward. A defect if identified and removed during the requirement and design phase is the most cost effective, while a defect removed during maintenance is 20 times costlier than during the requirement and design phases. 

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation
For instance, if a defect is identified during requirement and design we only need to change the documentation, but if identified during the maintenance phase we not only need to fix the defect, but also change our test plans, do regression testing, and change all documentation. This is why a defect should be identified/removed in earlier phases and the testing department should be involved right from the requirement phase and not after the execution phase.

 

31. What kind of input do we need from the end user to begin proper testing?

The product has to be used by the user. He is the most important person as he has more interest than anyone else in the project.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation
 

From the user we need the following data:

  • The first thing we need is the acceptance test plan from the end user. The acceptance test defines the entire test which the product has to pass so that it can go into production.
  • We also need the requirement document from the customer. In normal scenarios the customer never writes a formal document until he is really sure of his requirements. But at some point the customer should sign saying yes this is what he wants.
  • The customer should also define the risky sections of the project. For instance, in a normal accounting project if a voucher entry screen does not work that will stop the accounting functionality completely. But if reports are not derived the accounting department can use it for some time. The customer is the right person to say which section will affect him the most. With this feedback the testers can prepare a proper test plan for those areas and test it thoroughly.
  • The customer should also provide proper data for testing. Feeding proper data during testing is very important. In many scenarios testers key in wrong data and expect results which are of no interest to the customer.


32. Can you explain the workbench concept?

In order to understand testing methodology we need to understand the workbench concept. A Workbench is a way of documenting how a specific activity has to be performed. A workbench is referred to as phases, steps, and tasks as shown in the following figure.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation

There are five tasks for every workbench:

  • Input: Every task needs some defined input and entrance criteria. So for every workbench we need defined inputs. Input forms the first steps of the workbench.
  • Execute: This is the main task of the workbench which will transform the input into the expected output.
  • Check: Check steps assure that the output after execution meets the desired result.
  • Production output: If the check is right the production output forms the exit criteria of the workbench.
  • Rework: During the check step if the output is not as desired then we need to again start from the execute step.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation


33. Can you explain the concept of defect cascading?

Defect cascading is a defect which is caused by another defect. One defect triggers the other defect. For instance, in the accounting application shown here there is a defect which leads to negative taxation. So the negative taxation defect affects the ledger which in turn affects four other modules.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation


34. Can you explain cohabiting software?

When we install the application at the end client it is very possible that on the same PC other applications also exist. It is also very possible that those applications share common DLLs, resources etc., with your application. There is a huge chance in such situations that your changes can affect the cohabiting software. So the best practice is after you install your application or after any changes, tell other application owners to run a test cycle on their application.

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation


35. What is the difference between pilot and beta testing?

The difference between pilot and beta testing is that pilot testing is nothing but actually using the product (limited to some users) and in beta testing we do not input real data, but it's installed at the end customer to validate if the product can be used in production. 

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation


36. What are the different strategies for rollout to end users?

There are four major ways of rolling out any project:

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation
 

  • Pilot: The actual production system is installed at a single or limited number of users. Pilot basically means that the product is actually rolled out to limited users for real work.
  • Gradual Implementation: In this implementation we ship the entire product to the limited users or all users at the customer end. Here, the developers get instant feedback from the recipients which allow them to make changes before the product is available. But the downside is that developers and testers maintain more than one version at one time.
  • Phased Implementation: In this implementation the product is rolled out to all users in incrementally. That means each successive rollout has some added functionality. So as new functionality comes in, new installations occur and the customer tests them progressively. The benefit of this kind of rollout is that customers can start using the functionality and provide valuable feedback progressively. The only issue here is that with each rollout and added functionality the integration becomes more complicated.
  • Parallel Implementation: In these types of rollouts the existing application is run side by side with the new application. If there are any issues with the new application we again move back to the old application. One of the biggest problems with parallel implementation is we need extra hardware, software, and resources.



37. What's the difference between System testing and Acceptance testing?

Acceptance testing checks the system against the "Requirements." It is similar to System testing in that the whole system is checked but the important difference is the change in focus:

System testing checks that the system that was specified has been delivered. Acceptance testing checks that the system will deliver what was requested. The customer should always do Acceptance testing and not the developer.

The customer knows what is required from the system to achieve value in the business and is the only person qualified to make that judgement. This testing is more about ensuring that the software is delivered as defined by the customer. It's like getting a green light from the customer that the software meets expectations and is ready to be used.


38. Can you explain regression testing and confirmation testing?

Regression testing is used for regression defects. Regression defects are defects occur when the functionality which was once working normally has stopped working. This is probably because of changes made in the program or the environment. To uncover such kind of defect regression testing is conducted. 

The following figure shows the difference between regression and confirmation testing. 

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation

If we fix a defect in an existing application we use confirmation testing to test if the defect is removed. It's very possible because of this defect or changes to the application that other sections of the application are affected. So to ensure that no other section is affected we can use regression testing to confirm this.

The document Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation is a part of the Interview Preparation Course Placement Papers - Technical & HR Questions.
All you need of Interview Preparation at this link: Interview Preparation
85 docs|57 tests

Top Courses for Interview Preparation

FAQs on Software Testing Basics Interview Questions (Part - 2) - Placement Papers - Technical & HR Questions - Interview Preparation

1. What are the different types of software testing?
Ans. There are several types of software testing, including unit testing, integration testing, system testing, acceptance testing, and regression testing. Unit testing focuses on testing individual units or components of the software, while integration testing checks if the different units work together correctly. System testing verifies the behavior of the entire system, while acceptance testing ensures that the software meets the user's requirements. Regression testing is performed to ensure that changes or updates to the software do not introduce new defects.
2. What is the purpose of software testing?
Ans. The purpose of software testing is to identify defects or bugs in the software and ensure that it meets the desired quality standards. Testing helps to uncover errors in the software, validate its functionality, and verify if it meets the specified requirements. It also helps in improving the reliability, performance, and usability of the software, thereby reducing the risk of failures and costly errors in the production environment.
3. What is the difference between functional and non-functional testing?
Ans. Functional testing focuses on testing the functionality of the software and ensuring that it performs as expected. It includes testing features, user interfaces, databases, and APIs to verify if the software meets the functional requirements. Non-functional testing, on the other hand, tests the non-functional aspects such as performance, security, usability, reliability, and compatibility of the software. It aims to ensure that the software performs well under various conditions and meets the desired quality attributes.
4. What is the importance of test documentation in software testing?
Ans. Test documentation is crucial in software testing as it provides a comprehensive record of the testing activities and results. It includes test plans, test cases, test scripts, test data, test logs, and test reports. Documentation helps in tracking the progress of testing, ensuring test repeatability, and providing evidence of the testing performed. It also facilitates communication between testers, developers, and stakeholders, helps in identifying gaps in testing coverage, and serves as a reference for future testing efforts or maintenance.
5. What is the difference between black box testing and white box testing?
Ans. Black box testing and white box testing are two different approaches to software testing. Black box testing focuses on testing the software from an external perspective without considering its internal structure or implementation details. Testers do not have knowledge of the internal workings of the software and test it based on its functional requirements and expected behavior. White box testing, on the other hand, involves testing the internal structure, code, and logic of the software. Testers have access to the internal workings of the software and use this knowledge to design test cases and verify the correctness of the code.
Explore Courses for Interview Preparation exam

Top Courses for Interview Preparation

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

mock tests for examination

,

ppt

,

practice quizzes

,

Previous Year Questions with Solutions

,

Sample Paper

,

Free

,

Viva Questions

,

video lectures

,

shortcuts and tricks

,

Semester Notes

,

MCQs

,

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation

,

Extra Questions

,

Exam

,

Objective type Questions

,

study material

,

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation

,

pdf

,

Summary

,

Important questions

,

past year papers

,

Software Testing Basics Interview Questions (Part - 2) | Placement Papers - Technical & HR Questions - Interview Preparation

;