Software Testing MCQ

In this section, we are going to see a list of mostly asked Software Testing questions in MCQ style with an explanation of the answer for competitive exams and interviews. These frequently asked Software testing questions are given with the correct choice of answer among various options.

1) Which methodology is used to performed Maintenance testing?

  1. Breadth test and depth test
  2. Confirmation testing
  3. Retesting
  4. Sanity testing

Answer: (a) Breadth test and depth test

Explanation: The maintenance testing is performed during the development, migration, and modification cycle. It is done on the previously deployed software where its needs to be improved, altered or migrated to other hardware.


2) Which of the following is not part of the Test document?

  1. Test Case
  2. Requirements Traceability Matrix [RTM]
  3. Test strategy
  4. Project Initiation Note [PIN]

Answer: (d) Project Initiation Note [PIN]

Explanation: The test documentation is the document which is created during or before the testing of a software application. The entire test execution process depends on the complication of the test document.


3) Which term is used to define testing?

  1. Evaluating deliverable to find errors
  2. Finding broken code
  3. A stage of all projects
  4. None of the above

Answer: (a) Evaluating deliverable to find errors

Explanation: Software testing is a process of classifying the correctness of software by seeing its all attributes and assessing the execution of software components to find the software bugs or errors.


4) Which of the following is not a valid phase of SDLC (Software Development Life Cycle)?

  1. Testing Phase
  2. Requirement Phase
  3. Deployment phase
  4. Testing closure

Answer: (d) Testing Closure

Explanation: SDLC defines various phases of software development and the order of execution of phases. Software development life cycle is a process that creates a structure for the development of software.


5) Which of the following testing is also known as white-box testing?

  1. Structural testing
  2. Error guessing technique
  3. Design based testing
  4. None of the above

Answer: (a) Structural Testing

Explanation: Structural testing is also known as a White box or Clear box, or Glass box testing. In structural testing, we can understand what is happening inside the application or the software.


6) Which of the following testing is related to the boundary value analysis?

  1. White box and black box testing
  2. White-box testing
  3. Black box testing
  4. None of the above

Answer: (c) Black Box testing

Explanation: Boundary value analysis is one of the widely used case design techniques for black-box testing. It is used to test boundary values because the input values near the boundary have higher chances of error. Boundary values are those that contain the upper and lower limit of a variable.


7) Functional testing is a ------?

  1. Test design technique
  2. Test level
  3. SDLC Model
  4. Test type

Answer: (d) Test Type

Explanation: It is a type of software testing, which is used to verify the functionality of the software application, whether the function is working according to the requirement specification. It is performed as black-box testing, which verifies the functionality of the application.


8) What are the different levels of Testing?

  1. Integration testing
  2. Unit testing
  3. System testing
  4. All of the above

Answer: (d) All of the above

Explanation: Integration, Unit and System testing are various testing levels where the Unit testing is used to test each unit or an individual component of the software application.

The integration testing is used only after the functional testing is completed on each module of the application. And system testing is end-to-end testing, where the testing environment is similar to the production environment.


9) Which of the following is not a part of STLC (Software Testing Life Cycle)?

  1. Testing Planning
  2. Requirement Gathering
  3. Test Design
  4. Testing closure

Answer: (b) Requirement Gathering

Explanation: The software testing procedure is also known as Software Testing Life Cycle (STLC), which contains various phases of the testing process. And all activities are done to improve the quality of the software product.


10) Sanity testing is a ------?

  1. Test type
  2. Test Execution Level
  3. Test Level
  4. Test design technique

Answer: (b) Test Execution level

Explanation: As soon as the bug fixes are done, we will perform the Sanity testing. It is narrow, deep. Sanity testing's primary objective is to ensure that all the defects have been fixed and no further issues come into existence due to these changes.


11) White box testing techniques are?

  1. Statement coverage testing
  2. Decision coverage testing
  3. Data flow testing
  4. All of the above

Answer: (d) All of the above

Explanation: In software testing, the statement coverage, decision coverage, data flow is part of the white-box testing technique.


12) In which environment we can performed the Alpha testing?

  1. User's end
  2. Developer's end
  3. User's and developer's end
  4. None of the above

Answer: (b) Developer's end

Explanation: Alpha testing is conducted in the organization and tested by a representative group of end-users at the developer's end, where the developers observe the users and write down the problems. Alpha testing is simulated or real operational testing at an in-house site.


13) Which of the below is not a part of the Test Plan?

  1. Schedule
  2. Risk
  3. Incident reports
  4. Entry and exit criteria

Answer: (c) Incident Reports

Explanation: The test plan is a base of every software's testing. It is a detailed document, which describes software testing areas and activities. It outlines the test strategy, objectives, test schedule, required resources (human resources, software, and hardware), test estimation and test deliverables.


14) What is the key objective of Integration testing?

  1. Design Errors
  2. Interface Errors
  3. Procedure Errors
  4. None of the mentioned

Answer: (b) Interface Error

Explanation: Whenever there is a clear relationship between modules, we go for the integration testing. And the main purpose of the integration testing level is to expose the faults at the time of interaction between integrated components or units.


15) Exploratory testing is a -----?

  1. Experience-based Test Design Technique
  2. White Box Test Design Technique
  3. Black Box Test Design Technique
  4. Grey Box Test Design Technique

Answer: (a) Experience-based Test Design Technique

Explanation: Whenever the requirement does not exist, we do one round of exploratory testing. In this testing, we will be exploring the application in all possible ways, understanding the application's flow, preparing a test document and then testing the application.


16) What is the best time to perform Regression testing?

  1. After the software has been modified
  2. As frequently as possible
  3. When the environment has been modified
  4. Both option a & c

Answer: (d) Both option a & c

Explanation: Regression testing is used to authenticate a code change in the software that does not impact the product's existing functionality. Regression testing can be performed on a new build when there is a significant change in the original functionality. It ensures that the code still works when the changes are occurring.


17) Does the customer get a 100% bug-free product?

  1. Product is old
  2. Developers are super
  3. The testing team is not good
  4. All of the above

Answer: (c) The testing team is not good

Explanation: Sometimes, the fundamentals of software testing define that no product has zero bugs.


18) Cyclomatic complexity is?

  1. White-box testing
  2. Black box testing
  3. Grey box testing
  4. All of the above

Answer: (a) White box testing

Explanation: Cyclomatic complexity is a software metric, which is used to measure the complexity of a program. It gives the minimum number of paths that can generate all possible paths through the module.


19) Which of the following is not part of the Test type?

  1. Function testing
  2. System testing
  3. Statement testing
  4. Database testing

Answer: (c) Statement testing

Explanation: Testing is a group of techniques to determine the application's correctness under the predefined script, but testing cannot find all the defects in the application. Testing includes an examination of code and the execution of code in various environments, conditions, and all the examining aspects of the code.


20) Which Test Document is used to define the Exit Criteria of Testing?

  1. Defect Report
  2. Test Summary Report
  3. Test Case
  4. Test Plan

Answer: (d) Test Plan

Explanation: The Exit criteria of the functional testing should be followed because the percentage (%) of exit criteria are decided by the meeting with both development and test manager because their collaboration can achieve the percentage. And When all the test cases are executing, most of the test cases must be passed.


21) Impact analysis helps us to decide which of the following testing?

  1. Exit Criteria
  2. How much regression testing should be done?
  3. Different Tools to perform Regression Testing
  4. How many more test cases need to write?

Answer: (b) how much regression testing should be done

Explanation: In regression testing, once we understand the new requirements, we will perform one round of impact analysis to avoid the major risk. The impact analysis is done by the customer based on their business knowledge, the developer based on their coding knowledge. Most importantly, it is done by the test engineer because they have product knowledge.


22) Which testing technique is used for usability testing?

  1. White-box testing
  2. Grey box testing
  3. Black Box testing
  4. Combination of all

Answer: (c) Black box testing

Explanation: Usability testing is used to checks the defect in the end-user interaction of software or the product. It makes sure that the developed software is easy while using the system without facing any problem and makes end-user life easier.


23) Which is not the right approach of Incremental testing approach?

  1. Big bang approach
  2. Top-down approach
  3. Functional incrimination
  4. Bottom-up approach

Answer: (a) Big bang approach

Explanation: The Incremental testing approach is used whenever there is a solid relationship between the dependent modules. In this, modules are added in ascending order one by one or according to need. Generally, two or more than two modules are added and tested to control the correctness of functions.


24) In which environment we can performed the Beta testing?

  1. User's and developer's end
  2. Developer's end
  3. User's end
  4. None of the above

Answer: (c) User's end

Explanation: Beta testing is an integral part of external user acceptance testing, where real users perform this testing. It is implemented after the alpha testing. Beta testing is the last phase of the testing carried out at the client's or user's end.


25) What is error guessing in software testing?

  1. Test control management techniques
  2. Test verification techniques
  3. Test execution techniques
  4. Test case design/ data management techniques

Answer: (d) Test case design/ data management techniques

Explanation: When there is no specific method for identifying the error, we go for the Error guessing technique. It is totally based on the experience of the test analyst, where the tester uses the experience to guess the problematic areas of the software.


26) After which phase, we can proceed to the white box testing?

  1. After the coding phase
  2. After designing phase
  3. After SRS creation
  4. After the installation phase

Answer: (a) After the coding phase

Explanation: Generally, the white box testing was performed after the programming phase because this type of testing required the programming skills to design test cases. The Developers perform the white box testing to test every line of the program's code and then send the application or the software to the testing team for further process.


27) Which of the following is not another name of white box testing?

  1. Structural testing
  2. Behavioral testing
  3. Glass box testing
  4. None of the mentioned

Answer: (b) Behavioral Testing

Explanation: White box testing is known as glass box testing, structural testing, clear box testing, open box testing and transparent box testing.


28) The test levels are performed in which of the following order?

  1. Unit, Integration, System, Acceptance
  2. It is based on the nature of the project
  3. Unit, Integration, Acceptance, System
  4. Unit, System, Integration, Acceptance

Answer: (b) It is based on the nature of the project

Explanation: The Test levels can always be restructured or combined based on n the nature of a project or system planning.


29) Define the term failure?

  1. A human action that produces an incorrect result.
  2. Its departure from specified behavior
  3. Found in the software; the result of an error.
  4. It is procedure or data definition in a computer database.

Answer: (b) Its departure from specified behavior

Explanation: In software testing, a software bug can also be issue, error, fault, or failure where lots of defect leads to failure of the software.


30) "V" model is?

  1. Test type
  2. Test Level
  3. Test design technique
  4. Software development testing (SDLC) model

Answer: (d) Software development testing (SDLC) model

Explanation: Whenever we have a large and complex application, we go for the V model. In the V model, firstly, all the activities go in the downward direction, and at one point in time, it starts moving in the upward direction, and to re-use the test document for the testing process and forms a V shape.


31) Which of the below testing is executed without documentation and planning is known as?

  1. Regression Testing
  2. Adhoc Testing
  3. Unit Testing
  4. None of the above

Answer: (b) Adhoc testing

Explanation: Whenever we have to randomly check the application without following any sequence or procedure, we do one round of Adhoc testing. Since the user doesn't know how to use the application, they may use it randomly and find some issues. Adhoc testing is also known as negative testing because we test the application against the client's requirements.


32) Which of the below testing is related to Non-functional testing?

  1. Unit Testing
  2. Black-box Testing
  3. Performance Testing
  4. None of the above

Answer: (c) Performance testing

Explanation: Non-functional testing is testing where the tester will test the non-functional parameters, for example, performance, reliability, load test, and accountability of the software or application. And Performance testing is testing where we check the behavior of an application by applying some load.


33) Which of the below testing is related to black-box testing?

  1. Boundary value analysis
  2. Code path analysis
  3. Basic path testing
  4. None of the above

Answer: (a) Boundary value analysis

Explanation: The Black box testing is testing where we examine the software's functionality without looking into its internal structure or coding. And the boundary value analysis is used to test boundary values as the input values near the boundary have higher chances of error. And it is one of the widely used case design techniques for black-box testing.


34) Which of the following testing is also called Acceptance testing?

  1. Beta testing
  2. White-box testing
  3. Grey box testing
  4. Alpha testing

Answer: (a) Beta testing

Explanation: The user acceptance testing is done once the application is bug-free because no customer accepts the application blindly before using it. Hence, they perform one round of testing for their satisfaction. And Beta testing is one essential part of Acceptance Testing, which is performed before releasing the software.


35) -------- testing is used to check the code?

  1. Grey box testing
  2. Black box testing
  3. White-box testing
  4. Red box testing

Answer: (c) White-Box testing

Explanation: The white box testing is testing where the developer will test every line of the program's code. To perform the white box testing, his/her aware of programming skills to design test cases.


36) The Regression test case is not a --------?

  1. Tests that focus on the software components, which have been modified.
  2. Low-level components are combined into clusters, which perform a specific software sub-function.
  3. Additional tests that emphasize software functions, which are likely to be affected by the change.
  4. A representative sample of tests, which will exercise all software functions.

Answer: (b) Low-level components are combined into clusters that perform a specific software sub-function.

Explanation: The Regression testing is used to authenticate a code change in the software, which does not impact the product's existing functionality. And it also ensures that the product works fine with new functionality, bug fixes, or any change in the existing feature.


37) Generally, which testing is used when shrink-wrapped software products are being established and part of an integration testing?

  1. Integration Testing
  2. Validation testing
  3. Regression Testing
  4. Smoke testing

Answer: (d) Smoke testing

Explanation: The smoke testing is used to test the basic and critical feature of an application before doing one round of deep, rigorous testing or checking all possible positive and negative values. In this testing, we do not require to design test cases.


38) Which of the following statement is used to discover errors in the test case?

  1. Incorrect logical operators or precedence
  2. Non-existent loop termination
  3. Comparison of different data types
  4. All of the above

Answer: (b) Non-existent loop termination

Explanation: The test case is specifying as a group of conditions under which a tester controls whether a software application is working as per the customer's requirements or not. And the test case provides us complete information about testing strategy, testing process, preconditions, and expected output.


39) The Decision table testing is a ----------?

  1. White box Test Design Technique
  2. Black Box Test Design Technique
  3. Experience-based Test Design Technique
  4. Grey Box Test Design Technique

Answer: (b) Black-box test design technique

Explanation: The Decision table technique is one of the most important used case design techniques for black-box testing. It is a systematic approach where several input combinations and their respective system behavior are captured in a tabular form. The Decision table technique is suitable for the functions, which have a logical relationship between two and more than two inputs.


40) When we have to stop the testing?

  1. The faults have been fixed
  2. All the tests run
  3. The time completed
  4. The risk is resolved

Answer: (d) The risk is resolved.

Explanation: Once the application's functionality is stable, the risk is resolved, when the time is less, we test the necessary features, and when the essential feature itself is not working correctly, we can stop the testing.


41) ---------- are those software mistakes that occurred during the coding phase?

  1. Defects
  2. Failures
  3. Errors
  4. Bugs

Answer: (d) Bugs

Explanation: The Bug is the informal name of defects, which means that software or application is not working as per the requirement. The bug occurred when developers made any mistake or error while developing the product. And the bug had various names in different companies such as error, issues, problem, fault, mistake, etc.


42) Which of the following is not a valid software testing technique?

  1. Inspections
  2. Data flow analysis
  3. Error guessing
  4. Walkthrough

Answer: (c) Error guessing

Explanation: Error guessing is a technique in which there is no specific method for identifying the error. It completely depends on the tester and type of experience in the previous testing involvements because it does not follow any method and guidelines. The error guessing technique deals with all possible errors that cannot be identified as informal testing.


43) Define the term verification in V and V model?

  1. Checking that we are building the system right
  2. Making sure that it is what the user wants
  3. Performed by an independent test team
  4. Checking that we are building the right system

Answer: (a) Checking that we are building the system right

Explanation: The entire V model executes in two-phase; the complete review process is done in the verification phase. We can say that the verification is used to check that we are building the system right.


44) What is the full form of SRS?

  1. Software respond system
  2. Software requirements specification
  3. System responds software
  4. System requirements specification

Answer: (B) Software requirements specification

Explanation: SRS [Software Requirement Specifications] is a document where all the details are converted to the detail document, which can be understood by the developers and the test engineers.


45) What is the main task of test planning?

  1. Measuring and analyzing results
  2. Evaluating exit criteria and reporting
  3. Determining the test approach
  4. Preparing the test specification

Answer: (C) Determining the test approach.

Explanation: It is a detailed document, which describes software testing areas and activities. The test approach is used to define the application's flow while performing testing and for future reference.


46) Which of the below statement is true about the Equivalence Partitioning technique?

  1. A black box testing technique appropriate to all levels of testing.
  2. A white box testing technique appropriate for component testing.
  3. The black box testing technique is used only by developers.
  4. A black box testing technique that can only be used during system testing.

Answer: (a) A black box testing technique appropriate to all levels of testing.

Explanation: The equivalence partitions are derived from the requirements and specifications of the software. It is a software testing technique in which input data is divided into partitions of valid and invalid values, and all partitions must exhibit the same behavior.


47) ITG stands for------?

  1. Integration Testing Group
  2. Instantaneous Test Group
  3. Independent Test Group
  4. Individual Testing Group

Answer: (c) Independent Test Group.

Explanation: The ITG (Independent Test Group) is where the third party solves any problem to create objectivity.


48) Which of the following testing is refers to as a fault-based testing technique?

  1. Stress testing
  2. Mutation testing
  3. Beta testing
  4. Unit testing

Answer: (b) Mutation testing

Explanation: Mutation testing is a fault-based testing technique where we insert errors purposely into a program (under test) to verify whether the existing test case can detect the error or not. In this testing, the program's mutant is created by making some modifications to the original program.


49) ------ are the problems that threaten the success of a project but which has not yet happened.

  1. Risk
  2. Bug
  3. Failure
  4. Error

Answer: (a) Risk

Explanation: Risk is the challenge that we need to face to test the application in the current release, and if the assumptions fail, then the risks are involved, such as the effect for an application, release date becomes postponed.


50) What is component testing?

  1. White-box testing
  2. Grey box testing
  3. Black box testing
  4. Both a & c

Answer: (a) White box testing

Explanation: The component testing is based on an application's inner workings and revolves around internal structure testing. And the developer performs the white box/ component testing because the developer has the internal knowledge of the application.






Latest Courses