InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What are different categories of debugging? |
|
Answer» Different categories of debugging include:
|
|
| 2. |
What is the importance of agile testing? |
|
Answer» Agile testing is basically a software testing process that uses agile methodologies i.e., follow test-first design paradigm. It evaluates the software from the customer's point of view. It does not require any development team to complete coding for starting QA, instead of testing and coding can go hand in hand. Features are TESTED as they are DEVELOPED. Some of its advantages include:
|
|
| 3. |
What do you mean by Data flow testing? |
|
Answer» Data flow testing is a type of STRUCTURAL testing that is used to analyze the flow of data in the program. In this, a programmer can perform various tests on data values and variables. USING this testing, one can determine the variables that are used at every stage of the program’s control flow. It HELPS us in the following ways: |
|
| 4. |
Explain Fuzz Testing and its importance. |
|
Answer» Fuzz testing is a software testing technique in which a large AMOUNT of random data, called fuzz, is provided as input to the application simply to detect or discover security loopholes and coding errors in the software application. It is more useful for bigger projects but it only detects a serious FAULT or defect. It is simply used to CHECK the vulnerability of software and gives more effective results when used with BETA testing, black box testing, etc. |
|
| 5. |
What do you mean by Baseline Testing and Benchmark testing? |
|
Answer» Baseline Testing: It is a TYPE of non-functional testing in which a set of tests are run to capture performance information. Using this GATHERED information, we can make required changes in the application and ultimately improve the performance and capabilities of the application. In general, it refers to a benchmark that usually forms the base of any new creation. During this testing, MANY errors are discovered and resolved. |
|
| 6. |
Explain Path testing. |
|
Answer» Path testing is a type of testing specially USED to DESIGN test cases. In this type of testing, the control flow graph of a PROGRAM is specially designed to identify a set of linearly independent paths of execution. Its main objective is to ensure that each path is COVERED and executed well. It also reduces or MINIMIZES the occurrence of redundant tests. |
|
| 7. |
What is the importance of Localization Testing? |
|
Answer» Localization testing is a type of testing that is performed to ensure whether the software product offers full functionality and usability in a PARTICULAR LOCALE or not. It is simply used to verify the ACCURACY and suitability of the CONTENT. It is not only about linguistics, but also about traditions, common HERD behavior, and other similar factors. It generally deals with the functionality and GUI of the application. |
|
| 8. |
Explain Endurance Testing or Soak Testing? |
|
Answer» Endurance testing, also KNOWN as SOAK testing, is a type of performance testing usually performed to check the performance of the system that is under constant use. Its main purpose is to DETERMINE whether a system can sustain a continuous high load or not. Memory UTILIZATION is also monitored to identify potential leaks during this testing. Some of the endurance testing tools include:
|
|
| 9. |
Write the difference between Test Stub and Test Driver. |
|
Answer» Test driver and test stub, both are types of test harness that are USED to provide a simulation environment for testing a module or component. They both are dummy MODULES specially created for test purposes. |
|
| 10. |
Explain Monkey Testing and Performance Testing. |
|
Answer» Monkey Testing: Monkey testing, ALSO known as Random Testing, is a type of SOFTWARE testing technique in which data is generated randomly using a tool or some automated mechanism. The system is tested using this randomly generated input, and results are analyzed ACCORDINGLY. There are no such rules in this type of testing. Performance Testing: It is a type of non-functional software testing technique that is used to determine the system parameters like speed, scalability, and STABILITY under different WORKLOAD conditions. Its main purpose is to eliminate performance bottlenecks, not to find bugs. Some of the key parameters of performance testing include:
|
|
| 11. |
System testing can be done at any stage? |
|
Answer» All the COMPONENTS of the software are GENERALLY TESTED as a whole to MAKE sure that the overall product fulfills the requirements that are specified. So, no. system testing cannot be done at any stage instead system testing must start only when all modules or units work correctly and are in place, but it needs to be performed before UAT. |
|
| 12. |
What is UAT (User Acceptance Testing)? |
|
Answer» UAT, also KNOWN as end-user testing, is BASICALLY a testing methodology performed by the end-users or clients for the approval of the production release. It is one of the last STAGES of the SDLC and is only performed after the software has been tested thoroughly. Its main purpose is to validate end-to-end business flow. It makes sure that the developed software meets all the requirements to float into the market or not. |
|
| 13. |
What do you mean by Critical bug? |
|
Answer» A CRITICAL bug is referred to as a bug that affects the majority of the functionality of the given APPLICATION. It does not DISTURB or block the testing of other parts of the given application. A bug is only classified as critical when it HALTS the core OPERATIONS of the software. |
|
| 14. |
What is Positive and Negative Testing? |
||||||||||||||||||
|
Answer» Positive Testing: It is a type of testing process where the software application is validated against the valid data sets as an input. It is simply used to CHECK whether the application does what it is supposed to do or not. Negative Testing: It is a type of testing process where the software application is validated against invalid data sets as an input. It is simply used to check whether the system SHOWS an error when it is supposed to do or not. In test case execution, negative testing is considered a very crucial factor. Positive vs Negative Testing:
|
|||||||||||||||||||
| 15. |
What do you mean by Test Matrix and Traceability Matrix? |
|
Answer» Test Matrix: It is referred to as a testing tool that is used to capture actual quality, EFFORT, resources, plan, and time required to capture all the phases of software testing. It only COVERS the testing phase of the LIFE cycle. |
|
| 16. |
Explain use-case testing. |
|
Answer» Use case testing is basically defined as a technique that helps DEVELOPERS and testers to identify TEST cases that exercise the whole system on each transaction basis right from start to finish. It is a part of black-box testing that is used widely in DEVELOPING TESTS or systems for ACCEPTABLE levels. |
|
| 17. |
Write difference between bug, defect, and error. |
|
Answer» Error: It is defined as a programming MISTAKE in coding because of which we can't compile or run a program. |
|
| 18. |
Explain STLC. |
|
Answer» STLC (Software Testing Life Cycle) is a fundamental PART of SDLC which is used to test software and ensure that the QUALITY standards are met. It generally involves both verification activities and validation activities. In this, different activities are executed in a specific order throughout the software testing process. There are basically six different phases in STLC Model as shown below:
|
|
| 19. |
What do you mean by Test Deliverables? |
|
Answer» Test deliverables, also known as test artifacts, are basically a list of all of the documents, tools, and other components that are given to the stakeholders of a SOFTWARE project during the SDLC. Test deliverables are maintained and developed in support of the test. At every phase of SDLC, there are DIFFERENT deliverables as given below: Before TESTING Phase
During Testing Phase
After testing Phase |
|
| 20. |
What is a Test Report? What does it include? |
|
Answer» Test report is BASICALLY a document that includes a total summary of testing objectives, activities, and results. It is very much required to REFLECT testing results and gives an opportunity to estimate testing results quickly. It helps us to decide whether the product is ready for release or not. It also helps us DETERMINE the CURRENT status of the project and the quality of the product. A test report must include the following DETAILS:
|
|
| 21. |
What is a Test Plan? What does it include? |
|
Answer» A test plan is basically a dynamic document monitored and controlled by the testing manager. The success of a testing project totally depends UPON a well-written test plan document that describes software testing scope and activities. It basically serves as a blueprint that outlines the what, when, how, and more of the entire test PROCESS. A test plan must INCLUDE the following details:
|
|
| 22. |
Name some attributes of the test case. |
|
Answer» There are various ATTRIBUTES of test cases that make them more reliable, clear, and concise, avoiding any sort of redundancy. Some of them are given below:
|
|
| 23. |
What do you mean by Test case? |
|
Answer» TEST case is basically a document that includes a set of test data, preconditions, expected results, and postconditions. This document is specially developed for a specific test scenario to ensure WHETHER the software product meets the specific requirement or not. In manual testing, test cases are executed manually by a TESTER without USING any of the automated tools. One can easily identify loopholes in the specifications while DEVELOPING test cases. |
|
| 24. |
What is the role of documentation in manual testing? |
|
Answer» Some of the commonly applied DOCUMENTATION ARTIFACTS that are associated with software testing include:
|
|
| 25. |
Explain the term testbed. |
|
Answer» Testbed is generally referred to as a DIGITAL platform that is used for testing an APPLICATION. It includes an operating SYSTEM, hardware, network CONFIGURATION, database, SOFTWARE application under test, and all other software-related issues. |
|
| 26. |
Write difference between Validation and Verification? |
||||||||||||||||
|
Answer» Validation: It is defined as a process that involves DYNAMIC testing of software products by running it. This process validates WHETHER we are building the right software that meets that customer requirement or not. It involves various activities like system testing, integration testing, user acceptance testing, and UNIT testing. Verification Vs Validation:
|
|||||||||||||||||
| 27. |
Define Latent Defect. |
|
Answer» Latent defect, as the name SUGGESTS, is a type of defect or bug which has been in the software system for a LONG time but is discovered now. A latent defect is an existing defect that can be FOUND effectively with inspections. It usually remains hidden or DORMANT and is a low-priority defect. |
|
| 28. |
Name some methods that can be used in code coverage. |
|
Answer» There are SEVERAL methods that can be used in CODE COVERAGE includes:
|
|
| 29. |
When will you choose manual testing over automated testing? |
|
Answer» BENEFITS of manual testing over AUTOMATED testing:
|
|
| 30. |
When will you choose automated testing over manual testing? |
|
Answer» Benefits of automated TESTING over manual testing
|
|
| 31. |
Name some of the manual testing tools. |
| Answer» | |
| 32. |
Write different types of Manual Testing? |
|
Answer» DIFFERENT types of MANUAL testing INCLUDE:
|
|
| 33. |
What is the procedure for manual testing? |
|
Answer» The process of manual testing includes the FOLLOWING:
|
|
| 34. |
What are the drawbacks of Manual Testing? |
|
Answer» There are several drawbacks of manual testing as given below:
|
|
| 35. |
What are the benefits of Manual Testing? |
|
Answer» There are several advantages of MANUAL testing as given below:
|
|
| 36. |
What is meant by Code Coverage? |
|
Answer» Code coverage is one of the IMPORTANT testing metrics. It INDICATES the ratio of the codebase under unit tests to the entire codebase. Code coverage of 50% means that the unit tests cover half of the codebase. It is crucial to keep in mind that 100% code coverage doesn’t mean that the software is error-free or there are no bugs. It just means that the unit tests cover all the code. However, it’s still possible that the tests don’t test all branches that code COULD TAKE or the problems with business LOGIC execution. |
|
| 37. |
What is API testing? |
|
Answer» API testing ensures that the APIs that the software is using work as EXPECTED. The tester writes code that makes an API request to the server that provides the API, provides the required inputs, collects the output from the response, and matches the ACTUAL output with the expected output. API testing primarily CONCERNS the business logic of the software that’s exposing the API. It does not involve the look and feel, accessibility, or usability of the software. API testing can be automated to make it repeatable and reproducible each time they RUN. |
|
| 38. |
What is dynamic software testing? |
|
Answer» In contrast to static TESTING, dynamic software testing tests the software when it’s executing. The TESTER runs the software in a test ENVIRONMENT and goes through all the steps involved, entering the inputs and verifying the actual output with the expected result. |
|
| 39. |
What is static software testing? |
|
Answer» Static testing is a technique in which you test the software without ACTUALLY executing it. It INVOLVES doing code walkthroughs, code reviews, peer-reviews, or using sophisticated tools such as eslint, StyleCop to PERFORM static ANALYSIS of the source code. Static testing is typically PERFORMED during software development. |
|
| 40. |
What is beta testing? |
|
Answer» Once you ship the software to the customers after alpha TESTING, the software's actual users perform the beta testing in a REAL production environment. It is one of the final components of user acceptance testing. Beta testing is HELPFUL to get feedback from real PEOPLE using your software in real ENVIRONMENTS. |
|
| 41. |
What is alpha testing? |
|
Answer» Before you SHIP the software to the CUSTOMERS, the internal TESTING team performs alpha testing. Alpha testing is part of the user acceptance testing. Its goal is to identify bugs before the customers START using the software. |
|
| 42. |
What are the differences between manual and automated testing? |
||||||||||||
Answer»
|
|||||||||||||
| 43. |
What is white-box testing? |
|
Answer» White-box testing is an alternative strategy to black-box testing, in which a tester views the system as a transparent box. They are allowed to OBSERVE the internal implementation of the system, which guides the TEST. Typically, the software developers perform the white-box testing during the development phase. In white-box testing, we ASSUME that the tester has some programming knowledge. They try to test each possible branch a program COULD take in a running system. Knowing what’s INSIDE the box, i.e., taking a look at the source code and the implementation details, it’s possible to test the system more thoroughly. |
|
| 44. |
What is black-box testing? |
|
Answer» In black-box testing, the tester views the software as a black box, ignoring all the internal structure and behavior. Their only concern is the input provided to the system and the generated output. Black-box testing verifies the program’s behavior against the specified requirements. During black-box testing, the TEST conditions are created based upon the software’s functionality but are unaware of how the software works internally. The software is tested from the end user’s perspective and gives a BROADER picture of the whole system. Given that the users are only concerned with whether the software works according to their NEEDS and don’t care how it works, black-box testing helps test software USABILITY and anticipate how the customer will use the product. |
|